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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
022764cc
Commit
022764cc
authored
Nov 16, 2016
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Tests
parent
1571d468
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
5 deletions
+3
-5
app/assets/javascripts/environments/components/environment_actions.js.es6
...cripts/environments/components/environment_actions.js.es6
+1
-1
spec/features/environments_spec.rb
spec/features/environments_spec.rb
+1
-3
spec/javascripts/environments/environment_stop_spec.js.es6
spec/javascripts/environments/environment_stop_spec.js.es6
+1
-1
No files found.
app/assets/javascripts/environments/components/environment_actions.js.es6
View file @
022764cc
...
...
@@ -51,7 +51,7 @@
<ul class="dropdown-menu dropdown-menu-align-right">
<li v-for="action in actions">
<a :href="action.play_url" data-method="post"
rel="nofollow
">
<a :href="action.play_url" data-method="post"
data-rel="nofollow" class="js-manual-action-link
">
<span class="action-play-icon-container">
<!-- svg goes here -->
</span>
...
...
spec/features/environments_spec.rb
View file @
022764cc
...
...
@@ -75,14 +75,12 @@ feature 'Environments', feature: true, js: true do
scenario
'does show a play button'
do
# TODO: Fix me!
binding
.
pry
expect
(
page
).
to
have_link
(
manual
.
name
.
humanize
)
expect
(
page
).
to
have_content
(
manual
.
name
.
humanize
)
end
scenario
'does allow to play manual action'
do
expect
(
manual
).
to
be_skipped
# TODO: Fix me!
binding
.
pry
expect
{
click_link
(
manual
.
name
.
humanize
)
}.
not_to
change
{
Ci
::
Pipeline
.
count
}
expect
(
page
).
to
have_content
(
manual
.
name
)
expect
(
manual
.
reload
).
to
be_pending
...
...
spec/javascripts/environments/environment_stop_spec.js.es6
View file @
022764cc
...
...
@@ -14,7 +14,7 @@ describe('Stop Component', () => {
stop_url: stopURL,
},
});
expect(component.$el.getAttribute('href')).toEqual(
stopURL
);
expect(component.$el.getAttribute('href')).toEqual(
`${stopURL}/stop`
);
});
describe('When clicked', () => {
...
...
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