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>2023-11-03 03:09:13 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-11-03 03:09:13 +0300
commit7cf5520071ef2f89a96167a60ce0693bd694fad3 (patch)
tree67a8a1513d908ddb02c2d903add040a2e49d009b /spec/features/boards/boards_spec.rb
parentfecb8ece925c48cf64969f1ecced12e4c4497706 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/features/boards/boards_spec.rb')
-rw-r--r--spec/features/boards/boards_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb
index 85e54c0f451..69019563e73 100644
--- a/spec/features/boards/boards_spec.rb
+++ b/spec/features/boards/boards_spec.rb
@@ -28,7 +28,7 @@ RSpec.describe 'Project issue boards', :js, feature_category: :team_planning do
let_it_be(:user, reload: true) { create(:user) }
let_it_be(:user2, reload: true) { create(:user) }
- let(:filtered_search) { find('[data-testid="issue-board-filtered-search"]') }
+ let(:filtered_search) { find_by_testid('issue-board-filtered-search') }
let(:filter_input) { find('.gl-filtered-search-term-input') }
let(:filter_submit) { find('.gl-search-box-by-click-search-button') }
@@ -296,7 +296,7 @@ RSpec.describe 'Project issue boards', :js, feature_category: :team_planning do
it 'shows issue count on the list' do
page.within(find(".board:nth-child(2)")) do
- expect(page.find('[data-testid="board-items-count"]')).to have_text(total_planning_issues)
+ expect(find_by_testid('board-items-count')).to have_text(total_planning_issues)
expect(page).not_to have_selector('.max-issue-size')
end
end
@@ -389,7 +389,7 @@ RSpec.describe 'Project issue boards', :js, feature_category: :team_planning do
wait_for_board_cards(2, 1)
- find('[data-testid="filtered-search-clear-button"]').click
+ find_by_testid('filtered-search-clear-button').click
filter_submit.click
end