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
a600f147
Commit
a600f147
authored
Jul 15, 2019
by
Nick Thomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Aria support to capybara
parent
886a6957
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
2 deletions
+7
-2
spec/features/projects/tree/create_directory_spec.rb
spec/features/projects/tree/create_directory_spec.rb
+3
-1
spec/features/projects/tree/create_file_spec.rb
spec/features/projects/tree/create_file_spec.rb
+3
-1
spec/support/capybara.rb
spec/support/capybara.rb
+1
-0
No files found.
spec/features/projects/tree/create_directory_spec.rb
View file @
a600f147
...
...
@@ -47,7 +47,9 @@ describe 'Multi-file editor new directory', :js do
fill_in
(
'commit-message'
,
with:
'commit message ide'
)
click_button
(
'Commit'
)
page
.
within
'.multi-file-commit-form'
do
click_button
(
'Commit'
)
end
find
(
'.js-ide-edit-mode'
).
click
...
...
spec/features/projects/tree/create_file_spec.rb
View file @
a600f147
...
...
@@ -39,7 +39,9 @@ describe 'Multi-file editor new file', :js do
fill_in
(
'commit-message'
,
with:
'commit message ide'
)
click_button
(
'Commit'
)
page
.
within
'.multi-file-commit-form'
do
click_button
(
'Commit'
)
end
expect
(
page
).
to
have_content
(
'file name'
)
end
...
...
spec/support/capybara.rb
View file @
a600f147
...
...
@@ -58,6 +58,7 @@ Capybara.javascript_driver = :chrome
Capybara
.
default_max_wait_time
=
timeout
Capybara
.
ignore_hidden_elements
=
true
Capybara
.
default_normalize_ws
=
true
Capybara
.
enable_aria_label
=
true
# Keep only the screenshots generated from the last failing test suite
Capybara
::
Screenshot
.
prune_strategy
=
:keep_last_run
...
...
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