BigW Consortium Gitlab

Fix network tests. Removed console.log

parent 46e0e592
...@@ -84,7 +84,6 @@ class window.ContributorsMasterGraph extends ContributorsGraph ...@@ -84,7 +84,6 @@ class window.ContributorsMasterGraph extends ContributorsGraph
x(d.date) x(d.date)
).y0(@height).y1((d) -> ).y0(@height).y1((d) ->
xa = d.commits = d.commits ? d.additions ? d.deletions xa = d.commits = d.commits ? d.additions ? d.deletions
console.log(xa)
y(xa) y(xa)
).interpolate("basis") ).interpolate("basis")
create_brush: -> create_brush: ->
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
.col-sm-2 .col-sm-2
= render partial: 'shared/ref_switcher', locals: {destination: 'graph'} = render partial: 'shared/ref_switcher', locals: {destination: 'graph'}
.col-sm-10 .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' = 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" = 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 = button_tag type: 'submit', class: 'btn btn-success' do
......
...@@ -70,7 +70,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps ...@@ -70,7 +70,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end end
When 'I looking for a commit by SHA of "v2.1.0"' do 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' fill_in 'extended_sha1', with: '98d6492'
find('button').click find('button').click
end end
...@@ -84,7 +84,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps ...@@ -84,7 +84,7 @@ class ProjectNetworkGraph < Spinach::FeatureSteps
end end
When 'I look for a commit by ";"' do When 'I look for a commit by ";"' do
within ".content .search" do within ".network-form" do
fill_in 'extended_sha1', with: ';' fill_in 'extended_sha1', with: ';'
find('button').click find('button').click
end 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