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
09ba91ed
Commit
09ba91ed
authored
Oct 23, 2017
by
Bob Van Landuyt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the new buttons for creating groups and projects in QA tests
parent
490cce63
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
qa/qa/page/group/show.rb
qa/qa/page/group/show.rb
+10
-6
qa/qa/scenario/gitlab/project/create.rb
qa/qa/scenario/gitlab/project/create.rb
+0
-2
No files found.
qa/qa/page/group/show.rb
View file @
09ba91ed
...
...
@@ -2,10 +2,6 @@ module QA
module
Page
module
Group
class
Show
<
Page
::
Base
def
go_to_subgroups
click_link
'Subgroups'
end
def
go_to_subgroup
(
name
)
click_link
name
end
...
...
@@ -15,11 +11,19 @@ module QA
end
def
go_to_new_subgroup
click_on
'New Subgroup'
within
'.new-project-subgroup'
do
find
(
'.dropdown-toggle'
).
click
find
(
"li[data-value='new-subgroup']"
).
click
end
find
(
"input[data-action='new-subgroup']"
).
click
end
def
go_to_new_project
click_on
'New Project'
within
'.new-project-subgroup'
do
find
(
'.dropdown-toggle'
).
click
find
(
"li[data-value='new-project']"
).
click
end
find
(
"input[data-action='new-project']"
).
click
end
end
end
...
...
qa/qa/scenario/gitlab/project/create.rb
View file @
09ba91ed
...
...
@@ -15,8 +15,6 @@ module QA
Scenario
::
Gitlab
::
Sandbox
::
Prepare
.
perform
Page
::
Group
::
Show
.
perform
do
|
page
|
page
.
go_to_subgroups
if
page
.
has_subgroup?
(
Runtime
::
Namespace
.
name
)
page
.
go_to_subgroup
(
Runtime
::
Namespace
.
name
)
else
...
...
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