diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-19 14:01:45 +0300 |
commit | 9297025d0b7ddf095eb618dfaaab2ff8f2018d8b (patch) | |
tree | 865198c01d1824a9b098127baa3ab980c9cd2c06 /spec/support/helpers/features/top_nav_spec_helpers.rb | |
parent | 6372471f43ee03c05a7c1f8b0c6ac6b8a7431dbe (diff) |
Add latest changes from gitlab-org/gitlab@16-7-stable-eev16.7.0-rc42
Diffstat (limited to 'spec/support/helpers/features/top_nav_spec_helpers.rb')
-rw-r--r-- | spec/support/helpers/features/top_nav_spec_helpers.rb | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/spec/support/helpers/features/top_nav_spec_helpers.rb b/spec/support/helpers/features/top_nav_spec_helpers.rb deleted file mode 100644 index ecc05189fb4..00000000000 --- a/spec/support/helpers/features/top_nav_spec_helpers.rb +++ /dev/null @@ -1,33 +0,0 @@ -# frozen_string_literal: true - -# These helpers help you interact within the Source Editor (single-file editor, snippets, etc.). -# -module Features - module TopNavSpecHelpers - def open_top_nav - find('.js-top-nav-dropdown-toggle').click - end - - def within_top_nav - within('.js-top-nav-dropdown-menu') do - yield - end - end - - def open_top_nav_projects - open_top_nav - - within_top_nav do - click_button('Projects') - end - end - - def open_top_nav_groups - open_top_nav - - within_top_nav do - click_button('Groups') - end - end - end -end |