Skip to content
Snippets Groups Projects
Unverified Commit c9f21c96 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Use page.within in tests

parent d5947ada
No related branches found
No related tags found
No related merge requests found
Loading
@@ -263,19 +263,19 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
Loading
@@ -263,19 +263,19 @@ class Spinach::Features::ProjectIssues < Spinach::FeatureSteps
end end
   
step 'I should not see labels field' do step 'I should not see labels field' do
within '.issue-form' do page.within '.issue-form' do
expect(page).not_to have_content("Labels") expect(page).not_to have_content("Labels")
end end
end end
   
step 'I should not see milestone field' do step 'I should not see milestone field' do
within '.issue-form' do page.within '.issue-form' do
expect(page).not_to have_content("Milestone") expect(page).not_to have_content("Milestone")
end end
end end
   
step 'I should not see assignee field' do step 'I should not see assignee field' do
within '.issue-form' do page.within '.issue-form' do
expect(page).not_to have_content("Assign to") expect(page).not_to have_content("Assign to")
end end
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment