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
efe1815b
Commit
efe1815b
authored
Jul 13, 2021
by
Justin Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add test_case feature spec
Make sure label link is always correct
parent
a683a0f8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
ee/spec/features/projects/quality/test_case_list_spec.rb
ee/spec/features/projects/quality/test_case_list_spec.rb
+1
-0
No files found.
ee/spec/features/projects/quality/test_case_list_spec.rb
View file @
efe1815b
...
...
@@ -76,6 +76,7 @@ RSpec.describe 'Test Cases', :js do
page
.
within
(
'.issuable-list-container .issuable-list li.issue'
,
match: :first
)
do
expect
(
page
.
find
(
'.issue-title'
)).
to
have_content
(
test_case1
.
title
)
expect
(
page
.
find
(
'.issuable-reference'
)).
to
have_content
(
"#
#{
test_case1
.
iid
}
"
)
expect
(
page
.
find
(
'.issuable-info'
)).
to
have_link
(
label
.
title
,
href:
"?label_name[]=
#{
label
.
title
}
"
)
expect
(
page
.
find
(
'.issuable-authored'
)).
to
have_content
(
'created 5 days ago by'
)
expect
(
page
.
find
(
'.author'
)).
to
have_content
(
user
.
name
)
expect
(
page
.
find
(
'div.issuable-updated-at'
)).
to
have_content
(
'updated 2 days ago'
)
...
...
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