Skip to content
Snippets Groups Projects
Commit cb7dd09a authored by Alfredo Sumaran's avatar Alfredo Sumaran
Browse files

Add click to tab steps

parent 8b9a94af
No related branches found
No related tags found
No related merge requests found
Loading
@@ -26,4 +26,20 @@ module SharedUser
Loading
@@ -26,4 +26,20 @@ module SharedUser
step 'I have no ssh keys' do step 'I have no ssh keys' do
@user.keys.delete_all @user.keys.delete_all
end end
step 'I click on "Personal projects" tab' do
page.within '.nav-links' do
click_link 'Personal projects'
end
expect(page).to have_css('.tab-content #projects.active')
end
step 'I click on "Contributed projects" tab' do
page.within '.nav-links' do
click_link 'Contributed projects'
end
expect(page).to have_css('.tab-content #contributed.active')
end
end end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment