BigW Consortium Gitlab

Fix this crazy random failing test

parent bc6706fd
...@@ -98,4 +98,8 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps ...@@ -98,4 +98,8 @@ class Spinach::Features::ProjectCommits < Spinach::FeatureSteps
step 'I see inline diff button' do step 'I see inline diff button' do
expect(page).to have_content "Inline" expect(page).to have_content "Inline"
end end
step 'I click side-by-side diff button' do
find('#parallel-diff-btn').click
end
end end
...@@ -198,7 +198,7 @@ module SharedDiffNote ...@@ -198,7 +198,7 @@ module SharedDiffNote
end end
step 'I click side-by-side diff button' do step 'I click side-by-side diff button' do
find('#parallel-diff-btn').click find('#parallel-diff-btn').trigger('click')
end end
step 'I see side-by-side diff button' do step 'I see side-by-side diff button' do
......
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