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
Jérome Perrin
gitlab-ce
Commits
5072ecc6
Commit
5072ecc6
authored
Sep 27, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced trigger click calls for click, also fixed ace_editor-input test
parent
45da02f9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
spec/features/issues/update_issues_spec.rb
spec/features/issues/update_issues_spec.rb
+1
-1
spec/features/merge_requests/update_merge_requests_spec.rb
spec/features/merge_requests/update_merge_requests_spec.rb
+1
-1
spec/features/snippets/user_creates_snippet_spec.rb
spec/features/snippets/user_creates_snippet_spec.rb
+2
-2
No files found.
spec/features/issues/update_issues_spec.rb
View file @
5072ecc6
...
...
@@ -118,7 +118,7 @@ feature 'Multiple issue updating from issues#index', :js do
end
def
click_update_issues_button
find
(
'.update-selected-issues'
).
trigger
(
'click'
)
find
(
'.update-selected-issues'
).
click
wait_for_requests
end
end
spec/features/merge_requests/update_merge_requests_spec.rb
View file @
5072ecc6
...
...
@@ -127,7 +127,7 @@ feature 'Multiple merge requests updating from merge_requests#index' do
end
def
click_update_merge_requests_button
find
(
'.update-selected-issues'
).
trigger
(
'click'
)
find
(
'.update-selected-issues'
).
click
wait_for_requests
end
end
spec/features/snippets/user_creates_snippet_spec.rb
View file @
5072ecc6
...
...
@@ -14,7 +14,7 @@ feature 'User creates snippet', :js do
fill_in
'personal_snippet_title'
,
with:
'My Snippet Title'
fill_in
'personal_snippet_description'
,
with:
'My Snippet **Description**'
page
.
within
(
'.file-editor'
)
do
find
(
'.ace_text-input'
).
native
.
send_keys
'Hello World!'
find
(
'.ace_text-input'
,
visible:
false
)
.
send_keys
'Hello World!'
end
end
...
...
@@ -94,7 +94,7 @@ feature 'User creates snippet', :js do
fill_in
'personal_snippet_title'
,
with:
'My Snippet Title'
page
.
within
(
'.file-editor'
)
do
find
(
:xpath
,
"//input[@id='personal_snippet_file_name']"
).
set
'snippet+file+name'
find
(
'.ace_text-input'
).
native
.
send_keys
'Hello World!'
find
(
'.ace_text-input'
,
visible:
false
)
.
send_keys
'Hello World!'
end
click_button
'Create snippet'
...
...
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