Commit 160570ab authored by Tanya Pazitny's avatar Tanya Pazitny

Merge branch 'fix-edit-dashboard-spec' into 'master'

Fix edit_dashboard_enabled interaction on specs

See merge request gitlab-org/gitlab!39203
parents 1d5828f4 4311776e
...@@ -58,7 +58,9 @@ module QA ...@@ -58,7 +58,9 @@ module QA
end end
def has_edit_dashboard_enabled? def has_edit_dashboard_enabled?
within_element :prometheus_graphs do click_element :actions_menu_dropdown
within_element :actions_menu_dropdown do
has_element? :edit_dashboard_button_enabled has_element? :edit_dashboard_button_enabled
end end
end end
......
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