Commit 97e1063c authored by Desiree Chevalier's avatar Desiree Chevalier

Unquarantine and fix issue board label spec

parent 904b421d
...@@ -31,7 +31,12 @@ module QA ...@@ -31,7 +31,12 @@ module QA
def configure_by_label(label) def configure_by_label(label)
click_boards_config_button click_boards_config_button
click_element(:labels_edit_button)
QA::Support::Retrier.retry_on_exception do
click_element(:labels_edit_button)
find_element(:labels_dropdown_content)
end
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 # Clicking the edit button again closes the dropdown and allows the save button to be clicked
click_element(:labels_edit_button) click_element(:labels_edit_button)
......
# frozen_string_literal: true # frozen_string_literal: true
module QA module QA
RSpec.describe 'Plan', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/344780', type: :flaky } do RSpec.describe 'Plan' do
describe 'Configure issue board by label' do describe 'Configure issue board by label' do
let(:label_board_list) do let(:label_board_list) do
EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api! EE::Resource::Board::BoardList::Project::LabelBoardList.fabricate_via_api!
......
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