Retry clicking delete_key_button if unsuccessful

parent 6c5c5331
...@@ -38,10 +38,13 @@ module QA ...@@ -38,10 +38,13 @@ module QA
def remove_key(title) def remove_key(title)
click_link(title) click_link(title)
# Retrying due to https://gitlab.com/gitlab-org/gitlab/-/issues/255287
retry_on_exception do
accept_alert do accept_alert do
click_element(:delete_key_button) click_element(:delete_key_button)
end end
end end
end
def keys_list def keys_list
find_element(:ssh_keys_list).text find_element(:ssh_keys_list).text
......
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