diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-10 15:30:32 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-01-10 15:30:32 +0300 |
commit | f4a694efd8f0dd9c84ab9bbbad1ead4238e0c99f (patch) | |
tree | 381405d652135d4423c4541eb3eb6f79bb4954b9 /qa | |
parent | a9ace7bf0553457a10c606a5061524e9fb708325 (diff) |
Fix using wrong `Your projects` link in QA tests
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/menu/main.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/qa/qa/page/menu/main.rb b/qa/qa/page/menu/main.rb index 36172151969..f8978b8a5f7 100644 --- a/qa/qa/page/menu/main.rb +++ b/qa/qa/page/menu/main.rb @@ -15,7 +15,8 @@ module QA element :groups_link end - view 'app/views/dashboard/_projects_head.html.haml' do + view 'app/views/layouts/nav/projects_dropdown/_show.html.haml' do + element :projects_dropdown_sidebar element :your_projects_link end @@ -26,6 +27,9 @@ module QA def go_to_projects within_top_menu do click_element :projects_dropdown + end + + page.within('.qa-projects-dropdown-sidebar') do click_element :your_projects_link end end |