BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
ced322c5
Commit
ced322c5
authored
Apr 04, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'backport-transient-failure-1567' into 'master'
Backport changes of ee fix for transient failure in environments spec See merge request !10459
parents
bf305c3d
6910c908
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
environments_spec.rb
spec/features/projects/environments/environments_spec.rb
+4
-0
No files found.
spec/features/projects/environments/environments_spec.rb
View file @
ced322c5
...
...
@@ -30,6 +30,7 @@ feature 'Environments page', :feature, :js do
describe
'in available tab page'
do
it
'should show one environment'
do
visit
namespace_project_environments_path
(
project
.
namespace
,
project
,
scope:
'available'
)
expect
(
page
).
to
have_css
(
'.environments-container'
)
expect
(
page
.
all
(
'tbody > tr'
).
length
).
to
eq
(
1
)
end
end
...
...
@@ -37,6 +38,7 @@ feature 'Environments page', :feature, :js do
describe
'in stopped tab page'
do
it
'should show no environments'
do
visit
namespace_project_environments_path
(
project
.
namespace
,
project
,
scope:
'stopped'
)
expect
(
page
).
to
have_css
(
'.environments-container'
)
expect
(
page
).
to
have_content
(
'You don\'t have any environments right now'
)
end
end
...
...
@@ -48,6 +50,7 @@ feature 'Environments page', :feature, :js do
describe
'in available tab page'
do
it
'should show no environments'
do
visit
namespace_project_environments_path
(
project
.
namespace
,
project
,
scope:
'available'
)
expect
(
page
).
to
have_css
(
'.environments-container'
)
expect
(
page
).
to
have_content
(
'You don\'t have any environments right now'
)
end
end
...
...
@@ -55,6 +58,7 @@ feature 'Environments page', :feature, :js do
describe
'in stopped tab page'
do
it
'should show one environment'
do
visit
namespace_project_environments_path
(
project
.
namespace
,
project
,
scope:
'stopped'
)
expect
(
page
).
to
have_css
(
'.environments-container'
)
expect
(
page
.
all
(
'tbody > tr'
).
length
).
to
eq
(
1
)
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