Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
dbb9ad06
Commit
dbb9ad06
authored
Mar 15, 2021
by
Sanad Liaquat
Committed by
Dan Davison
Mar 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix create group audit event e2e spec
Ensure the group path is unique so that it always gets created
parent
02f99edf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_1_spec.rb
...s/ee/browser_ui/1_manage/group/group_audit_logs_1_spec.rb
+5
-5
No files found.
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_1_spec.rb
View file @
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'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment