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
7ca70402
Commit
7ca70402
authored
Nov 07, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix hidden text specs
parent
532119e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
spec/ee/spec/features/boards/scoped_issue_board_spec.rb
spec/ee/spec/features/boards/scoped_issue_board_spec.rb
+10
-10
No files found.
spec/ee/spec/features/boards/scoped_issue_board_spec.rb
View file @
7ca70402
...
...
@@ -43,7 +43,7 @@ describe 'Scoped issue boards', :js do
create_board_milestone
(
milestone
.
title
)
expect
(
page
).
to
have_css
(
'.js-visual-token'
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
milestone
.
title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
milestone
.
title
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
end
...
...
@@ -66,7 +66,7 @@ describe 'Scoped issue boards', :js do
create_board_label
(
label_1
.
title
)
expect
(
page
).
to
have_css
(
'.js-visual-token'
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
label_1
.
title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
label_1
.
title
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
2
)
end
...
...
@@ -74,8 +74,8 @@ describe 'Scoped issue boards', :js do
create_board_label
([
label_1
.
title
,
label_2
.
title
])
expect
(
page
).
to
have_css
(
'.js-visual-token'
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
label_1
.
title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
label_2
.
title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
label_1
.
title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
label_2
.
title
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
end
...
...
@@ -108,7 +108,7 @@ describe 'Scoped issue boards', :js do
create_board_assignee
(
user
.
name
)
expect
(
page
).
to
have_css
(
'.js-visual-token'
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
user
.
name
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
user
.
name
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
# Does not display assignee in search hint
...
...
@@ -184,7 +184,7 @@ describe 'Scoped issue boards', :js do
it
'sets board milestone'
do
update_board_milestone
(
milestone
.
title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
milestone
.
title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
milestone
.
title
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
end
...
...
@@ -235,7 +235,7 @@ describe 'Scoped issue boards', :js do
update_board_label
(
label_title
)
expect
(
page
).
to
have_css
(
'.js-visual-token'
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
label_title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
label_title
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
2
)
end
...
...
@@ -250,8 +250,8 @@ describe 'Scoped issue boards', :js do
update_board_label
(
label_2_title
)
expect
(
page
).
to
have_css
(
'.js-visual-token'
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
label_title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
label_2_title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
label_title
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
label_2_title
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
end
...
...
@@ -292,7 +292,7 @@ describe 'Scoped issue boards', :js do
update_board_assignee
(
user
.
name
)
expect
(
page
).
to
have_css
(
'.js-visual-token'
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
user
.
name
)
expect
(
find
(
'.tokens-container'
)).
to
have_content
(
:all
,
user
.
name
)
expect
(
page
).
to
have_selector
(
'.card'
,
count:
1
)
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