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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
d7b48eb0
Commit
d7b48eb0
authored
Sep 19, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced trigger calls for click
parent
27a28d99
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
spec/features/issues/move_spec.rb
spec/features/issues/move_spec.rb
+3
-3
spec/features/merge_requests/diffs_spec.rb
spec/features/merge_requests/diffs_spec.rb
+1
-1
spec/features/search/user_searches_for_wiki_pages_spec.rb
spec/features/search/user_searches_for_wiki_pages_spec.rb
+2
-2
No files found.
spec/features/issues/move_spec.rb
View file @
d7b48eb0
...
...
@@ -38,7 +38,7 @@ feature 'issue move to another project' do
end
scenario
'moving issue to another project'
,
js:
true
do
find
(
'.js-move-issue'
).
trigger
(
'click'
)
find
(
'.js-move-issue'
).
click
wait_for_requests
all
(
'.js-move-issue-dropdown-item'
)[
0
].
click
find
(
'.js-move-issue-confirmation-button'
).
click
...
...
@@ -52,7 +52,7 @@ feature 'issue move to another project' do
scenario
'searching project dropdown'
,
js:
true
do
new_project_search
.
team
<<
[
user
,
:reporter
]
find
(
'.js-move-issue'
).
trigger
(
'click'
)
find
(
'.js-move-issue'
).
click
wait_for_requests
page
.
within
'.js-sidebar-move-issue-block'
do
...
...
@@ -69,7 +69,7 @@ feature 'issue move to another project' do
background
{
another_project
.
team
<<
[
user
,
:guest
]
}
scenario
'browsing projects in projects select'
do
find
(
'.js-move-issue'
).
trigger
(
'click'
)
find
(
'.js-move-issue'
).
click
wait_for_requests
page
.
within
'.js-sidebar-move-issue-block'
do
...
...
spec/features/merge_requests/diffs_spec.rb
View file @
d7b48eb0
...
...
@@ -88,7 +88,7 @@ feature 'Diffs URL', js: true do
visit
diffs_project_merge_request_path
(
project
,
merge_request
)
# Throws `Capybara::Poltergeist::InvalidSelector` if we try to use `#hash` syntax
find
(
"[id=
\"
#{
changelog_id
}
\"
] .js-edit-blob"
).
trigger
(
'click'
)
find
(
"[id=
\"
#{
changelog_id
}
\"
] .js-edit-blob"
).
click
expect
(
page
).
to
have_selector
(
'.js-fork-suggestion-button'
,
count:
1
)
expect
(
page
).
to
have_selector
(
'.js-cancel-fork-suggestion-button'
,
count:
1
)
...
...
spec/features/search/user_searches_for_wiki_pages_spec.rb
View file @
d7b48eb0
...
...
@@ -15,14 +15,14 @@ describe 'User searches for wiki pages', :js do
include_examples
'top right search form'
it
'finds a page'
do
find
(
'.js-search-project-dropdown'
).
trigger
(
'click'
)
find
(
'.js-search-project-dropdown'
).
click
page
.
within
(
'.project-filter'
)
do
click_link
(
project
.
name_with_namespace
)
end
fill_in
(
'dashboard_search'
,
with:
'content'
)
find
(
'.btn-search'
).
trigger
(
'click'
)
find
(
'.btn-search'
).
click
page
.
within
(
'.search-filter'
)
do
click_link
(
'Wiki'
)
...
...
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