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
6b1ea146
Commit
6b1ea146
authored
Apr 09, 2020
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add feature spec for the bug
This commit adds a feature spec
parent
b472fd82
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
2 deletions
+12
-2
spec/features/projects/environments/environments_spec.rb
spec/features/projects/environments/environments_spec.rb
+12
-2
No files found.
spec/features/projects/environments/environments_spec.rb
View file @
6b1ea146
...
@@ -399,10 +399,12 @@ describe 'Environments page', :js do
...
@@ -399,10 +399,12 @@ describe 'Environments page', :js do
describe
'environments folders'
do
describe
'environments folders'
do
before
do
before
do
create
(
:environment
,
project:
project
,
create
(
:environment
,
:will_auto_stop
,
project:
project
,
name:
'staging/review-1'
,
name:
'staging/review-1'
,
state: :available
)
state: :available
)
create
(
:environment
,
project:
project
,
create
(
:environment
,
:will_auto_stop
,
project:
project
,
name:
'staging/review-2'
,
name:
'staging/review-2'
,
state: :available
)
state: :available
)
end
end
...
@@ -420,6 +422,14 @@ describe 'Environments page', :js do
...
@@ -420,6 +422,14 @@ describe 'Environments page', :js do
expect
(
page
).
to
have_content
'review-1'
expect
(
page
).
to
have_content
'review-1'
expect
(
page
).
to
have_content
'review-2'
expect
(
page
).
to
have_content
'review-2'
within
(
'.ci-table'
)
do
within
(
'.gl-responsive-table-row:nth-child(3)'
)
do
expect
(
find
(
'.js-auto-stop'
).
text
).
not_to
be_empty
end
within
(
'.gl-responsive-table-row:nth-child(4)'
)
do
expect
(
find
(
'.js-auto-stop'
).
text
).
not_to
be_empty
end
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