Commit d109366a authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-shl-stablize-ssh-key-support-spec' into 'master'

Retry clicking delete_key_button if unsuccessful

Closes #255287

See merge request gitlab-org/gitlab!43258
parents 72436248 fd4daa06
...@@ -38,8 +38,11 @@ module QA ...@@ -38,8 +38,11 @@ module QA
def remove_key(title) def remove_key(title)
click_link(title) click_link(title)
accept_alert do # Retrying due to https://gitlab.com/gitlab-org/gitlab/-/issues/255287
click_element(:delete_key_button) retry_on_exception do
accept_alert do
click_element(:delete_key_button)
end
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