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
1b23d2dd
Commit
1b23d2dd
authored
Jul 14, 2021
by
Nailia Iskhakova
Committed by
Dan Davison
Jul 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refine Has pipeline status check in E2E specs
parent
c9f32388
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
8 deletions
+4
-8
qa/qa/specs/features/browser_ui/4_verify/testing/view_code_coverage_spec.rb
...es/browser_ui/4_verify/testing/view_code_coverage_spec.rb
+1
-1
qa/qa/specs/features/ee/browser_ui/6_release/multi-project_pipelines_spec.rb
...s/ee/browser_ui/6_release/multi-project_pipelines_spec.rb
+1
-5
qa/qa/specs/features/ee/browser_ui/secure/project_security_dashboard_spec.rb
...s/ee/browser_ui/secure/project_security_dashboard_spec.rb
+2
-2
No files found.
qa/qa/specs/features/browser_ui/4_verify/testing/view_code_coverage_spec.rb
View file @
1b23d2dd
...
...
@@ -40,7 +40,7 @@ module QA
Page
::
MergeRequest
::
Show
.
perform
do
|
mr_widget
|
Support
::
Retrier
.
retry_until
(
max_attempts:
5
,
sleep_interval:
5
)
do
mr_widget
.
has_pipeline_status?
(
/Pipeline #\d+ passed/
)
mr_widget
.
has_pipeline_status?
(
'passed'
)
end
expect
(
mr_widget
).
to
have_content
(
'Test coverage 66.67%'
)
end
...
...
qa/qa/specs/features/ee/browser_ui/6_release/multi-project_pipelines_spec.rb
View file @
1b23d2dd
...
...
@@ -77,11 +77,7 @@ module QA
it
'creates a multi-project pipeline'
,
testcase:
'https://gitlab.com/gitlab-org/quality/testcases/-/issues/560'
do
Page
::
MergeRequest
::
Show
.
perform
do
|
show
|
pipeline_passed
=
show
.
retry_until
(
reload:
true
,
max_attempts:
20
,
sleep_interval:
6
)
do
show
.
has_content?
(
/Pipeline #\d+ passed/
)
end
expect
(
pipeline_passed
).
to
be_truthy
,
"The pipeline did not pass."
expect
(
show
.
has_pipeline_status?
(
'passed'
)).
to
be_truthy
show
.
click_pipeline_link
end
...
...
qa/qa/specs/features/ee/browser_ui/secure/project_security_dashboard_spec.rb
View file @
1b23d2dd
...
...
@@ -47,8 +47,8 @@ module QA
@merge_request
.
visit!
Page
::
MergeRequest
::
Show
.
perform
do
|
merge_request
|
# Give time for the runner on Staging to complete pipeline
Support
::
Retrier
.
retry_until
(
max_attempts:
5
,
sleep_interval:
5
,
reload_page:
merge_request
)
do
merge_request
.
has_pipeline_status?
(
/Pipeline #\d+ passed/
)
Support
::
Retrier
.
retry_until
(
max_attempts:
5
,
sleep_interval:
5
)
do
merge_request
.
has_pipeline_status?
(
'passed'
)
end
merge_request
.
merge!
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