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
ab2a1f65
Commit
ab2a1f65
authored
5 years ago
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test to run regardless of initial state
parent
ab34a5e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
qa/qa/page/group/settings/general.rb
qa/qa/page/group/settings/general.rb
+12
-0
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_2_spec.rb
...s/ee/browser_ui/1_manage/group/group_audit_logs_2_spec.rb
+2
-2
No files found.
qa/qa/page/group/settings/general.rb
View file @
ab2a1f65
...
...
@@ -94,6 +94,18 @@ module QA
select_element
(
:project_creation_level_dropdown
,
value
)
click_element
:save_permissions_changes_button
end
def
toggle_request_access
expand_section
:permission_lfs_2fa_section
if
find_element
(
:request_access_checkbox
).
checked?
uncheck_element
:request_access_checkbox
else
check_element
:request_access_checkbox
end
click_element
:save_permissions_changes_button
end
end
end
end
...
...
This diff is collapsed.
Click to expand it.
qa/qa/specs/features/ee/browser_ui/1_manage/group/group_audit_logs_2_spec.rb
View file @
ab2a1f65
...
...
@@ -53,10 +53,10 @@ module QA
sign_in
@group
.
visit!
Page
::
Group
::
Menu
.
perform
(
&
:click_group_general_settings_item
)
Page
::
Group
::
Settings
::
General
.
perform
(
&
:
set_request_access_disabled
)
Page
::
Group
::
Settings
::
General
.
perform
(
&
:
toggle_request_access
)
Page
::
Group
::
Menu
.
perform
(
&
:click_group_general_settings_item
)
Page
::
Group
::
Settings
::
General
.
perform
(
&
:
set_request_access_enabled
)
Page
::
Group
::
Settings
::
General
.
perform
(
&
:
toggle_request_access
)
end
it_behaves_like
'group audit event logs'
,
[
"Change request access enabled from true to false"
,
"Change request access enabled from false to true"
]
...
...
This diff is collapsed.
Click to expand it.
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