Commit e97101e0 authored by Desiree Chevalier's avatar Desiree Chevalier

Fix instance audit log spec

parent 2250d993
...@@ -11,7 +11,13 @@ module QA ...@@ -11,7 +11,13 @@ module QA
end end
def has_audit_log_row?(text) def has_audit_log_row?(text)
has_element?(:admin_audit_log_row_content, text: text) # Sometimes the audit logs are not displayed in the UI
# right away so a refresh may be needed.
# https://gitlab.com/gitlab-org/gitlab/issues/119203
# TODO: https://gitlab.com/gitlab-org/gitlab/issues/195424
wait(reload: true) do
has_element?(:admin_audit_log_row_content, text: text)
end
end 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