From 4df8477afc4d0adc60595344c986ca15251b2dec Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 16 Dec 2015 14:35:01 +0100 Subject: Fix tests --- features/steps/project/snippets.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/steps') diff --git a/features/steps/project/snippets.rb b/features/steps/project/snippets.rb index a3aef9bf8c3..de0ce5376e2 100644 --- a/features/steps/project/snippets.rb +++ b/features/steps/project/snippets.rb @@ -42,7 +42,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps end step 'I click link "Edit"' do - page.within ".page-title" do + page.within ".issuable-title" do click_link "Edit" end end -- cgit v1.2.1 From 79c90821acdcaeac9147f2cfab4ae0857f85d8be Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 16 Dec 2015 16:13:22 +0100 Subject: Rename .issuable-details to .detail-page (and -header and -description) --- features/steps/project/merge_requests.rb | 4 ++-- features/steps/project/snippets.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'features/steps') diff --git a/features/steps/project/merge_requests.rb b/features/steps/project/merge_requests.rb index 0d340d97ff9..be993d11093 100644 --- a/features/steps/project/merge_requests.rb +++ b/features/steps/project/merge_requests.rb @@ -273,7 +273,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps end step 'I should see merged request' do - page.within '.issue-box' do + page.within '.status-box' do expect(page).to have_content "Merged" end end @@ -283,7 +283,7 @@ class Spinach::Features::ProjectMergeRequests < Spinach::FeatureSteps end step 'I should see reopened merge request "Bug NS-04"' do - page.within '.issue-box' do + page.within '.status-box' do expect(page).to have_content "Open" end end diff --git a/features/steps/project/snippets.rb b/features/steps/project/snippets.rb index de0ce5376e2..504654f90dd 100644 --- a/features/steps/project/snippets.rb +++ b/features/steps/project/snippets.rb @@ -42,7 +42,7 @@ class Spinach::Features::ProjectSnippets < Spinach::FeatureSteps end step 'I click link "Edit"' do - page.within ".issuable-title" do + page.within ".detail-page-header" do click_link "Edit" end end -- cgit v1.2.1 From 18e1929ff879b43efff5859e77f054b291402372 Mon Sep 17 00:00:00 2001 From: Douwe Maan Date: Wed, 16 Dec 2015 17:07:02 +0100 Subject: Fix spec --- features/steps/snippets/snippets.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/steps') diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb index 80d1ddeef05..023032e679f 100644 --- a/features/steps/snippets/snippets.rb +++ b/features/steps/snippets/snippets.rb @@ -13,7 +13,7 @@ class Spinach::Features::Snippets < Spinach::FeatureSteps end step 'I click link "Edit"' do - page.within ".page-title" do + page.within ".detail-page-header" do click_link "Edit" end end -- cgit v1.2.1