Commit 97d05699 authored by Mark Lapierre's avatar Mark Lapierre Committed by Dan Davison

Resolve failure in configure_issue_board_by_label_spec

parent 47418822
...@@ -96,6 +96,8 @@ module QA ...@@ -96,6 +96,8 @@ module QA
click_boards_config_button click_boards_config_button
click_element(:labels_edit_button) click_element(:labels_edit_button)
find_element(:labels_dropdown_content).find('li', text: label).click find_element(:labels_dropdown_content).find('li', text: label).click
# Clicking the edit button again closes the dropdown and allows the save button to be clicked
click_element(:labels_edit_button)
click_element(:save_changes_button) click_element(:save_changes_button)
wait_boards_list_finish_loading wait_boards_list_finish_loading
end end
......
...@@ -23,7 +23,7 @@ module QA ...@@ -23,7 +23,7 @@ module QA
Page::Project::Menu.perform(&:go_to_boards) Page::Project::Menu.perform(&:go_to_boards)
end end
it 'shows only issues that match the configured label', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/646', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/245182', type: :stale } do it 'shows only issues that match the configured label', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/646' do
Page::Component::IssueBoard::Show.perform do |show| Page::Component::IssueBoard::Show.perform do |show|
show.configure_by_label(doing) show.configure_by_label(doing)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment