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
299213dd
Commit
299213dd
authored
Sep 26, 2017
by
Jose Ivan Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replaced trigger calls for click, fixed click_on call
parent
bea18efa
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
spec/features/projects/features_visibility_spec.rb
spec/features/projects/features_visibility_spec.rb
+2
-2
spec/features/search/user_uses_search_filters_spec.rb
spec/features/search/user_uses_search_filters_spec.rb
+3
-3
spec/features/snippets/notes_on_personal_snippets_spec.rb
spec/features/snippets/notes_on_personal_snippets_spec.rb
+1
-1
No files found.
spec/features/projects/features_visibility_spec.rb
View file @
299213dd
...
...
@@ -22,7 +22,7 @@ describe 'Edit Project Settings' do
# disable by clicking toggle
toggle_feature_off
(
"project[project_feature_attributes][
#{
tool_name
}
_access_level]"
)
page
.
within
(
'.sharing-permissions'
)
do
click_button
'Save changes'
find
(
'input[value="Save changes"]'
).
click
end
wait_for_requests
expect
(
page
).
not_to
have_selector
(
".shortcuts-
#{
shortcut_name
}
"
)
...
...
@@ -30,7 +30,7 @@ describe 'Edit Project Settings' do
# re-enable by clicking toggle again
toggle_feature_on
(
"project[project_feature_attributes][
#{
tool_name
}
_access_level]"
)
page
.
within
(
'.sharing-permissions'
)
do
click_button
'Save changes'
find
(
'input[value="Save changes"]'
).
click
end
wait_for_requests
expect
(
page
).
to
have_selector
(
".shortcuts-
#{
shortcut_name
}
"
)
...
...
spec/features/search/user_uses_search_filters_spec.rb
View file @
299213dd
...
...
@@ -16,7 +16,7 @@ describe 'User uses search filters', :js do
context
' when filtering by group'
do
it
'shows group projects'
do
find
(
'.js-search-group-dropdown'
).
trigger
(
'click'
)
find
(
'.js-search-group-dropdown'
).
click
wait_for_requests
...
...
@@ -27,7 +27,7 @@ describe 'User uses search filters', :js do
expect
(
find
(
'.js-search-group-dropdown'
)).
to
have_content
(
group
.
name
)
page
.
within
(
'.project-filter'
)
do
find
(
'.js-search-project-dropdown'
).
trigger
(
'click'
)
find
(
'.js-search-project-dropdown'
).
click
wait_for_requests
...
...
@@ -39,7 +39,7 @@ describe 'User uses search filters', :js do
context
' when filtering by project'
do
it
'shows a project'
do
page
.
within
(
'.project-filter'
)
do
find
(
'.js-search-project-dropdown'
).
trigger
(
'click'
)
find
(
'.js-search-project-dropdown'
).
click
wait_for_requests
...
...
spec/features/snippets/notes_on_personal_snippets_spec.rb
View file @
299213dd
...
...
@@ -88,7 +88,7 @@ describe 'Comments on personal snippets', :js do
context
'when editing a note'
do
it
'changes the text'
do
find
(
'.js-note-edit'
).
trigger
(
'click'
)
find
(
'.js-note-edit'
).
click
page
.
within
(
'.current-note-edit-form'
)
do
fill_in
'note[note]'
,
with:
'new content'
...
...
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