Commit 84f2887a authored by Rémy Coutable's avatar Rémy Coutable

Merge branch 'fix-admin_audit_logs_spec-transient-fail' into 'master'

Fix admin_audit_logs_spec transient

See merge request !2157
parents e191c17e e8c952a9
......@@ -28,7 +28,7 @@
placeholder: admin_namespace_dropdown_label('Search groups'), idAttribute: 'id', data: { order_by: 'last_activity_at', idattribute: 'id', all_available: true} })
- if @events.present?
%table.table
%table#events-table.table
%thead
%tr
%th Author
......
......@@ -51,6 +51,8 @@ describe 'Admin::AuditLogs', feature: true, js: true do
wait_for_requests
find('.select2-results').click
find('#events-table td', match: :first)
expect(page).to have_content('Added user access as Owner')
end
end
......@@ -73,6 +75,8 @@ describe 'Admin::AuditLogs', feature: true, js: true do
wait_for_requests
find('.select2-results').click
find('#events-table td', match: :first)
expect(page).to have_content('Removed user access')
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