Commit e97101e0 authored by Desiree Chevalier's avatar Desiree Chevalier

Fix instance audit log spec

parent 2250d993
...@@ -11,6 +11,11 @@ module QA ...@@ -11,6 +11,11 @@ module QA
end end
def has_audit_log_row?(text) def has_audit_log_row?(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) has_element?(:admin_audit_log_row_content, text: text)
end end
end end
...@@ -18,4 +23,5 @@ module QA ...@@ -18,4 +23,5 @@ module QA
end end
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