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
2ee1010a
Commit
2ee1010a
authored
Apr 19, 2021
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactor pipelines spec file
parent
6becd151
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
19 deletions
+0
-19
spec/features/projects/pipelines/pipelines_spec.rb
spec/features/projects/pipelines/pipelines_spec.rb
+0
-19
No files found.
spec/features/projects/pipelines/pipelines_spec.rb
View file @
2ee1010a
...
...
@@ -681,8 +681,6 @@ RSpec.describe 'Pipelines', :js do
end
.
to
change
{
Ci
::
Pipeline
.
count
}.
by
(
1
)
wait_for_requests
expect
(
Ci
::
Pipeline
.
last
).
to
be_web
end
...
...
@@ -725,22 +723,6 @@ RSpec.describe 'Pipelines', :js do
end
end
describe
'Run Pipelines'
do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
before
do
visit
new_project_pipeline_path
(
project
)
end
describe
'new pipeline page'
do
it
'has field to add a new pipeline'
do
expect
(
page
).
to
have_selector
(
"[data-testid='ref-select']"
)
expect
(
find
(
"[data-testid='ref-select']"
)).
to
have_content
project
.
default_branch
expect
(
page
).
to
have_content
(
'Run for'
)
end
end
end
describe
'Reset runner caches'
do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
...
...
@@ -781,7 +763,6 @@ RSpec.describe 'Pipelines', :js do
let
(
:project
)
{
create
(
:project
,
:repository
)
}
before
do
stub_feature_flags
(
new_pipeline_form:
false
)
visit
new_project_pipeline_path
(
project
)
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