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
ba066b46
Commit
ba066b46
authored
Dec 19, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix title reference for spec
parent
15b8749b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
spec/features/issuables/related_issues_spec.rb
spec/features/issuables/related_issues_spec.rb
+9
-9
No files found.
spec/features/issuables/related_issues_spec.rb
View file @
ba066b46
...
...
@@ -258,7 +258,7 @@ describe 'Related issues', :js do
wait_for_requests
items
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
# Form gets hidden after submission
expect
(
page
).
not_to
have_selector
(
'.js-add-related-issues-form-area'
)
...
...
@@ -275,7 +275,7 @@ describe 'Related issues', :js do
wait_for_requests
items
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items
.
count
).
to
eq
(
1
)
expect
(
items
[
0
].
text
).
to
eq
(
issue_project_b_a
.
title
)
...
...
@@ -289,7 +289,7 @@ describe 'Related issues', :js do
wait_for_requests
items
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items
.
count
).
to
eq
(
1
)
expect
(
items
[
0
].
text
).
to
eq
(
issue_project_b_a
.
title
)
...
...
@@ -311,7 +311,7 @@ describe 'Related issues', :js do
end
it
'shows related issues'
do
items
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items
.
count
).
to
eq
(
2
)
expect
(
items
[
0
].
text
).
to
eq
(
issue_b
.
title
)
...
...
@@ -319,7 +319,7 @@ describe 'Related issues', :js do
end
it
'allows us to remove a related issues'
do
items_before
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items_before
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items_before
.
count
).
to
eq
(
2
)
...
...
@@ -327,7 +327,7 @@ describe 'Related issues', :js do
wait_for_requests
items_after
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items_after
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items_after
.
count
).
to
eq
(
1
)
end
...
...
@@ -339,7 +339,7 @@ describe 'Related issues', :js do
wait_for_requests
items
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items
.
count
).
to
eq
(
3
)
expect
(
items
[
0
].
text
).
to
eq
(
issue_b
.
title
)
...
...
@@ -355,7 +355,7 @@ describe 'Related issues', :js do
wait_for_requests
items
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items
.
count
).
to
eq
(
2
)
expect
(
items
[
0
].
text
).
to
eq
(
issue_b
.
title
)
...
...
@@ -370,7 +370,7 @@ describe 'Related issues', :js do
wait_for_requests
items
=
all
(
'.js-related-issues-token-list-item .
js-issue-token-title
'
)
items
=
all
(
'.js-related-issues-token-list-item .
issue-token-title-text
'
)
expect
(
items
.
count
).
to
eq
(
2
)
expect
(
items
[
0
].
text
).
to
eq
(
issue_b
.
title
)
...
...
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