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
dcf81281
Commit
dcf81281
authored
Nov 20, 2019
by
Walmyr Lima
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make use of login flow on configure tests
parent
641f3e14
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
...igure/auto_devops/create_project_with_auto_devops_spec.rb
+2
-7
No files found.
qa/qa/specs/features/browser_ui/7_configure/auto_devops/create_project_with_auto_devops_spec.rb
View file @
dcf81281
...
...
@@ -4,11 +4,6 @@ require 'pathname'
module
QA
context
'Configure'
do
def
login
Runtime
::
Browser
.
visit
(
:gitlab
,
Page
::
Main
::
Login
)
Page
::
Main
::
Login
.
perform
(
&
:sign_in_using_credentials
)
end
def
disable_optional_jobs
(
project
)
# Disable code_quality check in Auto DevOps pipeline as it takes
# too long and times out the test
...
...
@@ -66,7 +61,7 @@ module QA
end
it
'runs auto devops'
do
log
in
Flow
::
Login
.
sign_
in
@project
=
Resource
::
Project
.
fabricate!
do
|
p
|
p
.
name
=
Runtime
::
Env
.
auto_devops_project_name
||
'project-with-autodevops'
...
...
@@ -148,7 +143,7 @@ module QA
describe
'Auto DevOps'
,
:smoke
do
before
do
log
in
Flow
::
Login
.
sign_
in
@project
=
Resource
::
Project
.
fabricate_via_browser_ui!
do
|
p
|
p
.
name
=
"project-with-autodevops-
#{
SecureRandom
.
hex
(
8
)
}
"
...
...
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