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
e8a4333e
Commit
e8a4333e
authored
Jul 25, 2018
by
George Tsiolis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update environments specs
parent
be5dcd2e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
7 deletions
+11
-7
app/assets/javascripts/environments/components/environment_actions.vue
...vascripts/environments/components/environment_actions.vue
+1
-1
app/assets/javascripts/environments/components/environment_item.vue
.../javascripts/environments/components/environment_item.vue
+2
-2
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+4
-0
spec/javascripts/environments/environments_app_spec.js
spec/javascripts/environments/environments_app_spec.js
+4
-4
No files found.
app/assets/javascripts/environments/components/environment_actions.vue
View file @
e8a4333e
...
...
@@ -61,7 +61,7 @@ export default {
<span>
<icon
name=
"play"
/>
<icon
name=
"
angle
-down"
name=
"
chevron
-down"
aria-hidden=
"true"
/>
<gl-loading-icon
v-if=
"isLoading"
/>
...
...
app/assets/javascripts/environments/components/environment_item.vue
View file @
e8a4333e
...
...
@@ -524,13 +524,13 @@ export default {
<icon
v-show=
"model.isOpen"
name=
"
angle
-down"
name=
"
chevron
-down"
class=
"folder-icon"
aria-hidden=
"true"
/>
<icon
v-show=
"!model.isOpen"
name=
"
angle
-right"
name=
"
chevron
-right"
class=
"folder-icon"
aria-hidden=
"true"
/>
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
e8a4333e
...
...
@@ -568,6 +568,10 @@
top
:
-1px
;
}
.dropdown-menu-close-icon
{
vertical-align
:
middle
;
}
.dropdown-menu-back
{
left
:
7px
;
top
:
2px
;
...
...
spec/javascripts/environments/environments_app_spec.js
View file @
e8a4333e
...
...
@@ -170,10 +170,10 @@ describe('Environment', () => {
Vue
.
nextTick
(()
=>
{
expect
(
component
.
$el
.
querySelector
(
'
.folder-icon
i.fa-caret
-right
'
).
getAttribute
(
'
style
'
),
component
.
$el
.
querySelector
(
'
.folder-icon
.ic-angle
-right
'
).
getAttribute
(
'
style
'
),
).
toContain
(
'
display: none
'
);
expect
(
component
.
$el
.
querySelector
(
'
.folder-icon
i.fa-caret
-down
'
).
getAttribute
(
'
style
'
),
component
.
$el
.
querySelector
(
'
.folder-icon
.ic-angle
-down
'
).
getAttribute
(
'
style
'
),
).
not
.
toContain
(
'
display: none
'
);
done
();
});
...
...
@@ -191,10 +191,10 @@ describe('Environment', () => {
Vue
.
nextTick
(()
=>
{
expect
(
component
.
$el
.
querySelector
(
'
.folder-icon
i.fa-caret
-down
'
).
getAttribute
(
'
style
'
),
component
.
$el
.
querySelector
(
'
.folder-icon
.ic-angle
-down
'
).
getAttribute
(
'
style
'
),
).
toContain
(
'
display: none
'
);
expect
(
component
.
$el
.
querySelector
(
'
.folder-icon
i.fa-caret
-right
'
).
getAttribute
(
'
style
'
),
component
.
$el
.
querySelector
(
'
.folder-icon
.ic-angle
-right
'
).
getAttribute
(
'
style
'
),
).
not
.
toContain
(
'
display: none
'
);
done
();
});
...
...
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