BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
a6ac872b
Commit
a6ac872b
authored
Jul 21, 2017
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix new project selectors in GitLab QA
parent
001dd56e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
25 additions
and
12 deletions
+25
-12
qa.rb
qa/qa.rb
+8
-1
groups.rb
qa/qa/page/dashboard/groups.rb
+4
-2
show.rb
qa/qa/page/group/show.rb
+11
-0
menu.rb
qa/qa/page/main/menu.rb
+0
-7
create.rb
qa/qa/scenario/gitlab/project/create.rb
+2
-2
No files found.
qa/qa.rb
View file @
a6ac872b
...
...
@@ -48,7 +48,14 @@ module QA
module
Main
autoload
:Entry
,
'qa/page/main/entry'
autoload
:Menu
,
'qa/page/main/menu'
autoload
:Groups
,
'qa/page/main/groups'
end
module
Dashboard
autoload
:Groups
,
'qa/page/dashboard/groups'
end
module
Group
autoload
:Show
,
'qa/page/group/show'
end
module
Project
...
...
qa/qa/page/
main
/groups.rb
→
qa/qa/page/
dashboard
/groups.rb
View file @
a6ac872b
module
QA
module
Page
module
Main
module
Dashboard
class
Groups
<
Page
::
Base
def
prepare_test_namespace
return
if
page
.
has_content?
(
Runtime
::
Namespace
.
name
)
if
page
.
has_content?
(
Runtime
::
Namespace
.
name
)
return
click_link
(
Runtime
::
Namespace
.
name
)
end
click_on
'New group'
...
...
qa/qa/page/group/show.rb
0 → 100644
View file @
a6ac872b
module
QA
module
Page
module
Group
class
Show
<
Page
::
Base
def
go_to_new_project
click_link
'New Project'
end
end
end
end
end
qa/qa/page/main/menu.rb
View file @
a6ac872b
...
...
@@ -14,13 +14,6 @@ module QA
within_user_menu
{
click_link
'Admin area'
}
end
def
go_to_new_project
within_user_menu
do
find
(
'.header-new-dropdown-toggle'
).
click
click_link
(
'New project'
)
end
end
def
sign_out
within_user_menu
do
find
(
'.header-user-dropdown-toggle'
).
click
...
...
qa/qa/scenario/gitlab/project/create.rb
View file @
a6ac872b
...
...
@@ -13,8 +13,8 @@ module QA
def
perform
Page
::
Main
::
Menu
.
act
{
go_to_groups
}
Page
::
Main
::
Groups
.
act
{
prepare_test_namespace
}
Page
::
Main
::
Menu
.
act
{
go_to_new_project
}
Page
::
Dashboard
::
Groups
.
act
{
prepare_test_namespace
}
Page
::
Group
::
Show
.
act
{
go_to_new_project
}
Page
::
Project
::
New
.
perform
do
|
page
|
page
.
choose_test_namespace
...
...
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