Fix tests
This commit is contained in:
parent
67b42e26cf
commit
9c0d241e27
|
@ -194,13 +194,13 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps
|
||||||
|
|
||||||
step 'I click link "Hide inline discussion" of the second file' do
|
step 'I click link "Hide inline discussion" of the second file' do
|
||||||
within '.files [id^=diff]:nth-child(2)' do
|
within '.files [id^=diff]:nth-child(2)' do
|
||||||
click_link "Diff comments"
|
click_link 'Show/Hide comments'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
step 'I click link "Show inline discussion" of the second file' do
|
step 'I click link "Show inline discussion" of the second file' do
|
||||||
within '.files [id^=diff]:nth-child(2)' do
|
within '.files [id^=diff]:nth-child(2)' do
|
||||||
click_link "Diff comments"
|
click_link 'Show/Hide comments'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue