Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/main/menu.rb')
-rw-r--r--qa/qa/page/main/menu.rb14
1 files changed, 2 insertions, 12 deletions
diff --git a/qa/qa/page/main/menu.rb b/qa/qa/page/main/menu.rb
index 2f618224a73..ecd71e7c2f4 100644
--- a/qa/qa/page/main/menu.rb
+++ b/qa/qa/page/main/menu.rb
@@ -64,12 +64,7 @@ module QA
def go_to_groups
within_groups_menu do
- # Remove if statement once :remove_extra_primary_submenu_options ff is enabled by default
- if has_element?(:menu_item_link, title: 'Your groups')
- click_element(:menu_item_link, title: 'Your groups')
- else
- click_element(:menu_item_link, title: 'View all groups')
- end
+ click_element(:menu_item_link, title: 'View all groups')
end
end
@@ -80,12 +75,7 @@ module QA
def go_to_projects
within_projects_menu do
- # Remove if statement once :remove_extra_primary_submenu_options ff is enabled by default
- if has_element?(:menu_item_link, title: 'Your projects')
- click_element(:menu_item_link, title: 'Your projects')
- else
- click_element(:menu_item_link, title: 'View all projects')
- end
+ click_element(:menu_item_link, title: 'View all projects')
end
end