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
3f5f84e9
Commit
3f5f84e9
authored
May 26, 2021
by
Marius Bobin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test expectation when tags don't match
parent
0faaa6a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
3 deletions
+10
-3
qa/qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb
..._ui/4_verify/pipeline/create_and_process_pipeline_spec.rb
+10
-3
No files found.
qa/qa/specs/features/browser_ui/4_verify/pipeline/create_and_process_pipeline_spec.rb
View file @
3f5f84e9
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Verify'
,
:runner
do
# TODO: Remove `:requires_admin` meta when the feature flag is removed
RSpec
.
describe
'Verify'
,
:runner
,
:requires_admin
do
describe
'Pipeline creation and processing'
do
let
(
:executor
)
{
"qa-runner-
#{
Time
.
now
.
to_i
}
"
}
let
(
:max_wait
)
{
30
}
let
(
:feature_flag
)
{
:ci_drop_new_builds_when_ci_quota_exceeded
}
let
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
...
...
@@ -20,8 +22,13 @@ module QA
end
end
before
do
Runtime
::
Feature
.
enable
(
feature_flag
,
project:
project
)
end
after
do
runner
.
remove_via_api!
Runtime
::
Feature
.
disable
(
feature_flag
,
project:
project
)
end
it
'users creates a pipeline which gets processed'
,
:smoke
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/1849'
do
...
...
@@ -47,7 +54,7 @@ module QA
- echo 'FAILURE'
- exit 1
test-tags:
test-tags
-mismatch
:
tags:
- invalid
script: echo 'NOOP'
...
...
@@ -70,7 +77,7 @@ module QA
{
'test-success'
:
:passed
,
'test-failure'
:
:failed
,
'test-tags
'
:
:pending
,
'test-tags
-mismatch'
:
:failed
,
'test-artifacts'
:
:passed
}.
each
do
|
job
,
status
|
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
pipeline
|
...
...
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