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
3b225a63
Commit
3b225a63
authored
Oct 07, 2020
by
ddavison
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Jekyll GitLab Pages E2E smoke spec
Add dynamic element validation upon clicking a job
parent
8bcb3798
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
51 additions
and
3 deletions
+51
-3
app/assets/javascripts/jobs/components/stages_dropdown.vue
app/assets/javascripts/jobs/components/stages_dropdown.vue
+4
-1
qa/qa/page/project/job/show.rb
qa/qa/page/project/job/show.rb
+1
-1
qa/qa/page/project/pipeline/show.rb
qa/qa/page/project/pipeline/show.rb
+1
-1
qa/qa/specs/features/browser_ui/6_release/pages/pages_pipeline_spec.rb
...eatures/browser_ui/6_release/pages/pages_pipeline_spec.rb
+45
-0
No files found.
app/assets/javascripts/jobs/components/stages_dropdown.vue
View file @
3b225a63
...
...
@@ -48,7 +48,10 @@ export default {
<ci-icon
:status=
"pipeline.details.status"
class=
"vertical-align-middle"
/>
<span
class=
"font-weight-bold"
>
{{
s__
(
'
Job|Pipeline
'
)
}}
</span>
<gl-link
:href=
"pipeline.path"
class=
"js-pipeline-path link-commit qa-pipeline-path"
<gl-link
:href=
"pipeline.path"
class=
"js-pipeline-path link-commit"
data-qa-selector=
"pipeline_path"
>
#
{{
pipeline
.
id
}}
</gl-link
>
<template
v-if=
"hasRef"
>
...
...
qa/qa/page/project/job/show.rb
View file @
3b225a63
...
...
@@ -12,7 +12,7 @@ module QA
end
view
'app/assets/javascripts/jobs/components/stages_dropdown.vue'
do
element
:pipeline_path
element
:pipeline_path
,
required:
true
end
view
'app/assets/javascripts/jobs/components/sidebar.vue'
do
...
...
qa/qa/page/project/pipeline/show.rb
View file @
3b225a63
...
...
@@ -77,7 +77,7 @@ module QA
end
def
click_job
(
job_name
)
click_element
(
:job_link
,
text:
job_name
)
click_element
(
:job_link
,
Project
::
Job
::
Show
,
text:
job_name
)
end
def
expand_child_pipeline
...
...
qa/qa/specs/features/browser_ui/6_release/pages/pages_pipeline_spec.rb
0 → 100644
View file @
3b225a63
# frozen_string_literal: true
module
QA
RSpec
.
describe
'Release'
,
:smoke
,
:runner
do
describe
'Pages'
do
let!
(
:project
)
do
Resource
::
Project
.
fabricate_via_api!
do
|
project
|
project
.
name
=
'jekyll-pages-project'
project
.
template_name
=
:jekyll
end
end
let
(
:pipeline
)
do
Resource
::
Pipeline
.
fabricate_via_api!
do
|
pipeline
|
pipeline
.
project
=
project
pipeline
.
variables
=
{
key: :CI_PAGES_DOMAIN
,
value:
'nip.io'
,
variable_type: :env_var
},
{
key: :CI_PAGES_URL
,
value:
'http://127.0.0.1.nip.io'
,
variable_type: :env_var
}
end
end
before
do
Flow
::
Login
.
sign_in
Resource
::
Runner
.
fabricate_via_api!
do
|
runner
|
runner
.
project
=
project
runner
.
executor
=
:docker
end
pipeline
.
visit!
end
it
'runs a Pages-specific pipeline'
do
Page
::
Project
::
Pipeline
::
Show
.
perform
do
|
show
|
expect
(
show
).
to
have_job
(
:pages
)
show
.
click_job
(
:pages
)
end
Page
::
Project
::
Job
::
Show
.
perform
do
|
show
|
expect
(
show
).
to
have_passed
end
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