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
3755555f
Commit
3755555f
authored
Feb 12, 2020
by
Donald Cook
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed rspec to account for new split button
parent
3c40236f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/features/epics/epic_issues_spec.rb
ee/spec/features/epics/epic_issues_spec.rb
+2
-2
No files found.
ee/spec/features/epics/epic_issues_spec.rb
View file @
3755555f
...
...
@@ -54,7 +54,7 @@ describe 'Epic Issues', :js do
end
it
'user cannot add new issues to the epic'
do
expect
(
page
).
not_to
have_selector
(
'.related-items-tree-container .js-
add-issues-button
'
)
expect
(
page
).
not_to
have_selector
(
'.related-items-tree-container .js-
issue-actions-split-button > button:first-child
'
)
end
it
'user cannot add new epics to the epic'
do
...
...
@@ -67,7 +67,7 @@ describe 'Epic Issues', :js do
let
(
:issue_invalid
)
{
create
(
:issue
)
}
let
(
:epic_to_add
)
{
create
(
:epic
,
group:
group
)
}
def
add_issues
(
references
,
button_selector:
'.js-
add-issues-button
'
)
def
add_issues
(
references
,
button_selector:
'.js-
issue-actions-split-button > button:first-child
'
)
find
(
".related-items-tree-container
#{
button_selector
}
"
).
click
find
(
'.related-items-tree-container .js-add-issuable-form-input'
).
set
(
references
)
# When adding long references, for some reason the input gets stuck
...
...
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