Commit 0081e0d0 authored by Dan Davison's avatar Dan Davison

Merge branch 'qa-shl-stablize-group-audit-log-spec' into 'master'

Fix group audit log specs

See merge request gitlab-org/gitlab!56105
parents 80cfd7e6 dbb9ad06
......@@ -45,14 +45,14 @@ module QA
let(:user) { Resource::User.fabricate_or_use(Runtime::Env.gitlab_qa_username_1, Runtime::Env.gitlab_qa_password_1) }
context 'Add group', testcase: 'https://gitlab.com/gitlab-org/quality/testcases/-/issues/733' do
let(:group_name) { 'new group' }
before do
@event_count = 0
sign_in
Resource::Group.fabricate_via_browser_ui! do |group|
group.name = group_name
end.visit!
group = Resource::Group.fabricate_via_browser_ui! do |group|
group.path = "group-to-test-audit-event-log-#{SecureRandom.hex(8)}"
end
expect(page).to have_text("Group '#{group.path}' was successfully created")
end
it_behaves_like 'audit event', ['Added group']
......
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