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
35660a22
Commit
35660a22
authored
Mar 05, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add qa class and some refactor
parent
b6e50a4e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
app/views/layouts/nav/sidebar/_admin.html.haml
app/views/layouts/nav/sidebar/_admin.html.haml
+1
-1
qa/qa/page/project/new.rb
qa/qa/page/project/new.rb
+5
-2
No files found.
app/views/layouts/nav/sidebar/_admin.html.haml
View file @
35660a22
...
@@ -220,7 +220,7 @@
...
@@ -220,7 +220,7 @@
=
_
(
'Repository'
)
=
_
(
'Repository'
)
-
if
template_exists?
(
'admin/application_settings/templates'
)
-
if
template_exists?
(
'admin/application_settings/templates'
)
=
nav_link
(
path:
'application_settings#templates'
)
do
=
nav_link
(
path:
'application_settings#templates'
)
do
=
link_to
templates_admin_application_settings_path
,
title:
_
(
'Templates'
)
do
=
link_to
templates_admin_application_settings_path
,
title:
_
(
'Templates'
)
,
class:
'qa-admin-settings-template-item'
do
%span
%span
=
_
(
'Templates'
)
=
_
(
'Templates'
)
=
nav_link
(
path:
'application_settings#ci_cd'
)
do
=
nav_link
(
path:
'application_settings#ci_cd'
)
do
...
...
qa/qa/page/project/new.rb
View file @
35660a22
...
@@ -24,11 +24,14 @@ module QA
...
@@ -24,11 +24,14 @@ module QA
end
end
def
choose_test_namespace
def
choose_test_namespace
choose_namespace
(
Runtime
::
Namespace
.
path
)
end
def
choose_namespace
(
namespace
)
retry_on_exception
do
retry_on_exception
do
click_body
click_body
click_element
:project_namespace_select
click_element
:project_namespace_select
search_and_select
(
namespace
)
search_and_select
(
Runtime
::
Namespace
.
path
)
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