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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-09-20 16:18:24 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-09-20 16:18:24 +0300
commit0653e08efd039a5905f3fa4f6e9cef9f5d2f799c (patch)
tree4dcc884cf6d81db44adae4aa99f8ec1233a41f55 /spec/support/helpers/features/members_table_helpers.rb
parent744144d28e3e7fddc117924fef88de5d9674fe4c (diff)
Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42
Diffstat (limited to 'spec/support/helpers/features/members_table_helpers.rb')
-rw-r--r--spec/support/helpers/features/members_table_helpers.rb59
1 files changed, 0 insertions, 59 deletions
diff --git a/spec/support/helpers/features/members_table_helpers.rb b/spec/support/helpers/features/members_table_helpers.rb
deleted file mode 100644
index 2e86e014a1b..00000000000
--- a/spec/support/helpers/features/members_table_helpers.rb
+++ /dev/null
@@ -1,59 +0,0 @@
-# frozen_string_literal: true
-
-module Spec
- module Support
- module Helpers
- module Features
- module MembersHelpers
- def members_table
- page.find('[data-testid="members-table"]')
- end
-
- def all_rows
- page.within(members_table) do
- page.all('tbody > tr')
- end
- end
-
- def first_row
- all_rows[0]
- end
-
- def second_row
- all_rows[1]
- end
-
- def third_row
- all_rows[2]
- end
-
- def find_row(name)
- page.within(members_table) do
- page.find('tbody > tr', text: name)
- end
- end
-
- def find_member_row(user)
- find_row(user.name)
- end
-
- def find_invited_member_row(email)
- find_row(email)
- end
-
- def find_group_row(group)
- find_row(group.full_name)
- end
-
- def fill_in_filtered_search(label, with:)
- page.within '[data-testid="members-filtered-search-bar"]' do
- find_field(label).click
- find('input').native.send_keys(with)
- click_button 'Search'
- end
- end
- end
- end
- end
- end
-end