summaryrefslogtreecommitdiff
path: root/qa/qa/page/component/issue_board/show.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/component/issue_board/show.rb')
-rw-r--r--qa/qa/page/component/issue_board/show.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/qa/page/component/issue_board/show.rb b/qa/qa/page/component/issue_board/show.rb
index 4c1f03fbe86..d7dfb0757bc 100644
--- a/qa/qa/page/component/issue_board/show.rb
+++ b/qa/qa/page/component/issue_board/show.rb
@@ -43,6 +43,10 @@ module QA
element :focus_mode_button
end
+ view 'app/assets/javascripts/boards/components/config_toggle.vue' do
+ element :boards_config_button
+ end
+
# The `focused_board` method does not use `find_element` with an element defined
# with the attribute `data-qa-selector` since such element is not unique when the
# `is-focused` class is not set, and it was not possible to find a better solution.
@@ -82,6 +86,10 @@ module QA
end
end
+ def click_boards_config_button
+ click_element(:boards_config_button)
+ end
+
def click_boards_dropdown_button
# The dropdown button comes from the `GlDropdown` component of `@gitlab/ui`,
# so it wasn't possible to add a `data-qa-selector` to it.