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
03256d87
Commit
03256d87
authored
Nov 16, 2021
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix e2e tests when UI is used to create a top level group
parent
c2286672
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
0 deletions
+9
-0
qa/qa/page/group/show.rb
qa/qa/page/group/show.rb
+5
-0
qa/qa/resource/sandbox.rb
qa/qa/resource/sandbox.rb
+4
-0
No files found.
qa/qa/page/group/show.rb
View file @
03256d87
...
@@ -9,6 +9,7 @@ module QA
...
@@ -9,6 +9,7 @@ module QA
view
'app/views/groups/_home_panel.html.haml'
do
view
'app/views/groups/_home_panel.html.haml'
do
element
:new_project_button
element
:new_project_button
element
:new_subgroup_button
element
:new_subgroup_button
element
:group_id_content
end
end
view
'app/assets/javascripts/groups/constants.js'
do
view
'app/assets/javascripts/groups/constants.js'
do
...
@@ -40,6 +41,10 @@ module QA
...
@@ -40,6 +41,10 @@ module QA
click_element
:new_project_button
click_element
:new_project_button
end
end
def
group_id
find_element
(
:group_id_content
).
text
.
delete
(
'Group ID: '
)
end
def
leave_group
def
leave_group
accept_alert
do
accept_alert
do
click_element
:leave_group_link
click_element
:leave_group_link
...
...
qa/qa/resource/sandbox.rb
View file @
03256d87
...
@@ -25,6 +25,8 @@ module QA
...
@@ -25,6 +25,8 @@ module QA
alias_method
:full_path
,
:path
alias_method
:full_path
,
:path
def
fabricate!
def
fabricate!
Flow
::
Login
.
sign_in_unless_signed_in
Page
::
Main
::
Menu
.
perform
(
&
:go_to_groups
)
Page
::
Main
::
Menu
.
perform
(
&
:go_to_groups
)
Page
::
Dashboard
::
Groups
.
perform
do
|
groups_page
|
Page
::
Dashboard
::
Groups
.
perform
do
|
groups_page
|
...
@@ -39,6 +41,8 @@ module QA
...
@@ -39,6 +41,8 @@ module QA
group
.
set_visibility
(
'Public'
)
group
.
set_visibility
(
'Public'
)
group
.
create
group
.
create
end
end
@id
=
Page
::
Group
::
Show
.
perform
(
&
:group_id
)
end
end
end
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