Commit ac6c0507 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix network tests. Removed console.log

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent 46e0e592
......@@ -84,7 +84,6 @@ class window.ContributorsMasterGraph extends ContributorsGraph
x(d.date)
).y0(@height).y1((d) ->
xa = d.commits = d.commits ? d.additions ? d.deletions
console.log(xa)
y(xa)
).interpolate("basis")
create_brush: ->
......
......@@ -2,7 +2,7 @@
.col-sm-2
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
.col-sm-10
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline' do |f|
= form_tag project_network_path(@project, @id), method: :get, class: 'form-inline network-form' do |f|
= label_tag :search , "Looking for", class: 'light inline-label'
= text_field_tag :extended_sha1, @options[:extended_sha1], placeholder: "Input an extended SHA1 syntax", class: "search-input form-control input-mx-250"
= button_tag type: 'submit', class: 'btn btn-success' do
......
......@@ -70,7 +70,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
When 'I looking for a commit by SHA of "v2.1.0"' do
within ".content .search" do
within ".network-form" do
fill_in 'extended_sha1', with: '98d6492'
find('button').click
end
......@@ -84,7 +84,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end
When 'I look for a commit by ";"' do
within ".content .search" do
within ".network-form" do
fill_in 'extended_sha1', with: ';'
find('button').click
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment