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
810024a1
Commit
810024a1
authored
Nov 06, 2018
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve merge conflict and fix test
parent
f4c0abd5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
qa/qa/resource/sandbox.rb
qa/qa/resource/sandbox.rb
+3
-2
qa/qa/specs/features/browser_ui/1_manage/ee_group/group_ldap_sync_spec.rb
...ures/browser_ui/1_manage/ee_group/group_ldap_sync_spec.rb
+9
-4
No files found.
qa/qa/resource/sandbox.rb
View file @
810024a1
...
...
@@ -7,7 +7,7 @@ module QA
# creating it if it doesn't yet exist.
#
class
Sandbox
<
Base
attr_
reade
r
:path
attr_
accesso
r
:path
attribute
:id
...
...
@@ -27,7 +27,8 @@ module QA
Page
::
Group
::
New
.
perform
do
|
group
|
group
.
set_path
(
path
)
group
.
set_description
(
'GitLab QA Sandbox Group'
)
group
.
set_visibility
(
'Public'
)
# https://gitlab.com/gitlab-org/gitlab-ce/issues/52771
# group.set_visibility('Public')
group
.
create
end
end
...
...
qa/qa/specs/features/browser_ui/1_manage/ee_group/group_ldap_sync_spec.rb
View file @
810024a1
...
...
@@ -38,7 +38,7 @@ module QA
end
# Create a sand box group
Factory
::
Resource
::
Sandbox
.
fabricate_via_browser_ui!
do
|
resource
|
Resource
::
Sandbox
.
fabricate_via_browser_ui!
do
|
resource
|
resource
.
path
=
"Synched-engineering-group-
#{
SecureRandom
.
hex
(
4
)
}
"
end
...
...
@@ -52,10 +52,15 @@ module QA
EE
::
Page
::
Group
::
Menu
.
perform
(
&
:go_to_members
)
EE
::
Page
::
Group
::
Members
.
perform
(
&
:click_sync_now
)
users_synchronised
=
false
EE
::
Page
::
Group
::
Members
.
perform
do
|
page
|
page
.
click_sync_now
users_synchronised
=
page
.
with_retry
(
reload:
true
)
do
page
.
has_content?
(
'ENG User 2'
)
&&
page
.
has_content?
(
'ENG User 3'
)
end
end
expect
(
page
).
to
have_content
(
'ENG User 2'
)
expect
(
page
).
to
have_content
(
'ENG User 3'
)
expect
(
users_synchronised
).
to
be_truthy
end
end
end
...
...
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