capybara 3.0.0 → 3.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/History.md +777 -10
- data/License.txt +1 -1
- data/README.md +75 -58
- data/lib/capybara/config.rb +29 -10
- data/lib/capybara/cucumber.rb +1 -1
- data/lib/capybara/driver/base.rb +22 -4
- data/lib/capybara/driver/node.rb +34 -9
- data/lib/capybara/dsl.rb +14 -6
- data/lib/capybara/helpers.rb +52 -7
- data/lib/capybara/minitest/spec.rb +173 -84
- data/lib/capybara/minitest.rb +250 -144
- data/lib/capybara/node/actions.rb +248 -124
- data/lib/capybara/node/base.rb +34 -20
- data/lib/capybara/node/document.rb +14 -2
- data/lib/capybara/node/document_matchers.rb +13 -15
- data/lib/capybara/node/element.rb +339 -113
- data/lib/capybara/node/finders.rb +95 -82
- data/lib/capybara/node/matchers.rb +338 -157
- data/lib/capybara/node/simple.rb +54 -15
- data/lib/capybara/queries/active_element_query.rb +18 -0
- data/lib/capybara/queries/ancestor_query.rb +9 -10
- data/lib/capybara/queries/base_query.rb +25 -18
- data/lib/capybara/queries/current_path_query.rb +16 -6
- data/lib/capybara/queries/match_query.rb +11 -0
- data/lib/capybara/queries/selector_query.rb +600 -103
- data/lib/capybara/queries/sibling_query.rb +9 -7
- data/lib/capybara/queries/style_query.rb +45 -0
- data/lib/capybara/queries/text_query.rb +40 -22
- data/lib/capybara/queries/title_query.rb +2 -2
- data/lib/capybara/rack_test/browser.rb +47 -28
- data/lib/capybara/rack_test/driver.rb +12 -3
- data/lib/capybara/rack_test/errors.rb +6 -0
- data/lib/capybara/rack_test/form.rb +53 -50
- data/lib/capybara/rack_test/node.rb +114 -37
- data/lib/capybara/rails.rb +1 -1
- data/lib/capybara/registration_container.rb +44 -0
- data/lib/capybara/registrations/drivers.rb +42 -0
- data/lib/capybara/registrations/patches/puma_ssl.rb +29 -0
- data/lib/capybara/registrations/servers.rb +45 -0
- data/lib/capybara/result.rb +86 -52
- data/lib/capybara/rspec/features.rb +8 -10
- data/lib/capybara/rspec/matcher_proxies.rb +39 -18
- data/lib/capybara/rspec/matchers/base.rb +111 -0
- data/lib/capybara/rspec/matchers/become_closed.rb +33 -0
- data/lib/capybara/rspec/matchers/compound.rb +88 -0
- data/lib/capybara/rspec/matchers/count_sugar.rb +37 -0
- data/lib/capybara/rspec/matchers/have_ancestor.rb +28 -0
- data/lib/capybara/rspec/matchers/have_current_path.rb +29 -0
- data/lib/capybara/rspec/matchers/have_selector.rb +77 -0
- data/lib/capybara/rspec/matchers/have_sibling.rb +27 -0
- data/lib/capybara/rspec/matchers/have_text.rb +33 -0
- data/lib/capybara/rspec/matchers/have_title.rb +29 -0
- data/lib/capybara/rspec/matchers/match_selector.rb +27 -0
- data/lib/capybara/rspec/matchers/match_style.rb +43 -0
- data/lib/capybara/rspec/matchers/spatial_sugar.rb +39 -0
- data/lib/capybara/rspec/matchers.rb +138 -316
- data/lib/capybara/rspec.rb +3 -2
- data/lib/capybara/selector/builders/css_builder.rb +84 -0
- data/lib/capybara/selector/builders/xpath_builder.rb +71 -0
- data/lib/capybara/selector/css.rb +89 -12
- data/lib/capybara/selector/definition/button.rb +68 -0
- data/lib/capybara/selector/definition/checkbox.rb +26 -0
- data/lib/capybara/selector/definition/css.rb +10 -0
- data/lib/capybara/selector/definition/datalist_input.rb +35 -0
- data/lib/capybara/selector/definition/datalist_option.rb +25 -0
- data/lib/capybara/selector/definition/element.rb +28 -0
- data/lib/capybara/selector/definition/field.rb +40 -0
- data/lib/capybara/selector/definition/fieldset.rb +14 -0
- data/lib/capybara/selector/definition/file_field.rb +13 -0
- data/lib/capybara/selector/definition/fillable_field.rb +33 -0
- data/lib/capybara/selector/definition/frame.rb +17 -0
- data/lib/capybara/selector/definition/id.rb +6 -0
- data/lib/capybara/selector/definition/label.rb +62 -0
- data/lib/capybara/selector/definition/link.rb +54 -0
- data/lib/capybara/selector/definition/link_or_button.rb +16 -0
- data/lib/capybara/selector/definition/option.rb +27 -0
- data/lib/capybara/selector/definition/radio_button.rb +27 -0
- data/lib/capybara/selector/definition/select.rb +81 -0
- data/lib/capybara/selector/definition/table.rb +109 -0
- data/lib/capybara/selector/definition/table_row.rb +21 -0
- data/lib/capybara/selector/definition/xpath.rb +5 -0
- data/lib/capybara/selector/definition.rb +279 -0
- data/lib/capybara/selector/filter.rb +1 -0
- data/lib/capybara/selector/filter_set.rb +72 -27
- data/lib/capybara/selector/filters/base.rb +45 -2
- data/lib/capybara/selector/filters/expression_filter.rb +5 -6
- data/lib/capybara/selector/filters/locator_filter.rb +29 -0
- data/lib/capybara/selector/filters/node_filter.rb +18 -4
- data/lib/capybara/selector/regexp_disassembler.rb +214 -0
- data/lib/capybara/selector/selector.rb +85 -200
- data/lib/capybara/selector/xpath_extensions.rb +17 -0
- data/lib/capybara/selector.rb +226 -537
- data/lib/capybara/selenium/atoms/getAttribute.min.js +1 -0
- data/lib/capybara/selenium/atoms/isDisplayed.min.js +1 -0
- data/lib/capybara/selenium/atoms/src/getAttribute.js +161 -0
- data/lib/capybara/selenium/atoms/src/isDisplayed.js +454 -0
- data/lib/capybara/selenium/driver.rb +296 -238
- data/lib/capybara/selenium/driver_specializations/chrome_driver.rb +117 -0
- data/lib/capybara/selenium/driver_specializations/edge_driver.rb +124 -0
- data/lib/capybara/selenium/driver_specializations/firefox_driver.rb +89 -0
- data/lib/capybara/selenium/driver_specializations/internet_explorer_driver.rb +26 -0
- data/lib/capybara/selenium/driver_specializations/safari_driver.rb +24 -0
- data/lib/capybara/selenium/extensions/file_input_click_emulation.rb +34 -0
- data/lib/capybara/selenium/extensions/find.rb +110 -0
- data/lib/capybara/selenium/extensions/html5_drag.rb +228 -0
- data/lib/capybara/selenium/extensions/modifier_keys_stack.rb +28 -0
- data/lib/capybara/selenium/extensions/scroll.rb +76 -0
- data/lib/capybara/selenium/logger_suppressor.rb +40 -0
- data/lib/capybara/selenium/node.rb +436 -166
- data/lib/capybara/selenium/nodes/chrome_node.rb +137 -0
- data/lib/capybara/selenium/nodes/edge_node.rb +104 -0
- data/lib/capybara/selenium/nodes/firefox_node.rb +136 -0
- data/lib/capybara/selenium/nodes/ie_node.rb +22 -0
- data/lib/capybara/selenium/nodes/safari_node.rb +118 -0
- data/lib/capybara/selenium/patches/action_pauser.rb +26 -0
- data/lib/capybara/selenium/patches/atoms.rb +18 -0
- data/lib/capybara/selenium/patches/is_displayed.rb +16 -0
- data/lib/capybara/selenium/patches/logs.rb +45 -0
- data/lib/capybara/selenium/patches/pause_duration_fix.rb +9 -0
- data/lib/capybara/selenium/patches/persistent_client.rb +20 -0
- data/lib/capybara/server/animation_disabler.rb +69 -0
- data/lib/capybara/server/checker.rb +44 -0
- data/lib/capybara/server/middleware.rb +71 -0
- data/lib/capybara/server.rb +58 -67
- data/lib/capybara/session/config.rb +38 -6
- data/lib/capybara/session/matchers.rb +26 -19
- data/lib/capybara/session.rb +258 -190
- data/lib/capybara/spec/public/jquery.js +5 -5
- data/lib/capybara/spec/public/offset.js +6 -0
- data/lib/capybara/spec/public/test.js +122 -8
- data/lib/capybara/spec/session/accept_alert_spec.rb +11 -11
- data/lib/capybara/spec/session/accept_confirm_spec.rb +3 -3
- data/lib/capybara/spec/session/accept_prompt_spec.rb +9 -10
- data/lib/capybara/spec/session/active_element_spec.rb +31 -0
- data/lib/capybara/spec/session/all_spec.rb +135 -42
- data/lib/capybara/spec/session/ancestor_spec.rb +24 -19
- data/lib/capybara/spec/session/assert_all_of_selectors_spec.rb +67 -38
- data/lib/capybara/spec/session/{assert_current_path.rb → assert_current_path_spec.rb} +20 -18
- data/lib/capybara/spec/session/assert_selector_spec.rb +143 -0
- data/lib/capybara/spec/session/assert_style_spec.rb +26 -0
- data/lib/capybara/spec/session/{assert_text.rb → assert_text_spec.rb} +62 -38
- data/lib/capybara/spec/session/{assert_title.rb → assert_title_spec.rb} +12 -12
- data/lib/capybara/spec/session/attach_file_spec.rb +120 -72
- data/lib/capybara/spec/session/body_spec.rb +11 -13
- data/lib/capybara/spec/session/check_spec.rb +111 -51
- data/lib/capybara/spec/session/choose_spec.rb +62 -30
- data/lib/capybara/spec/session/click_button_spec.rb +227 -161
- data/lib/capybara/spec/session/click_link_or_button_spec.rb +49 -30
- data/lib/capybara/spec/session/click_link_spec.rb +78 -55
- data/lib/capybara/spec/session/current_scope_spec.rb +7 -7
- data/lib/capybara/spec/session/current_url_spec.rb +44 -37
- data/lib/capybara/spec/session/dismiss_confirm_spec.rb +3 -3
- data/lib/capybara/spec/session/dismiss_prompt_spec.rb +2 -2
- data/lib/capybara/spec/session/element/{assert_match_selector.rb → assert_match_selector_spec.rb} +11 -9
- data/lib/capybara/spec/session/element/match_css_spec.rb +18 -10
- data/lib/capybara/spec/session/element/match_xpath_spec.rb +8 -6
- data/lib/capybara/spec/session/element/matches_selector_spec.rb +70 -56
- data/lib/capybara/spec/session/evaluate_async_script_spec.rb +7 -7
- data/lib/capybara/spec/session/evaluate_script_spec.rb +28 -8
- data/lib/capybara/spec/session/execute_script_spec.rb +8 -7
- data/lib/capybara/spec/session/fill_in_spec.rb +104 -44
- data/lib/capybara/spec/session/find_button_spec.rb +23 -23
- data/lib/capybara/spec/session/find_by_id_spec.rb +8 -8
- data/lib/capybara/spec/session/find_field_spec.rb +33 -31
- data/lib/capybara/spec/session/find_link_spec.rb +32 -14
- data/lib/capybara/spec/session/find_spec.rb +236 -141
- data/lib/capybara/spec/session/first_spec.rb +44 -43
- data/lib/capybara/spec/session/frame/frame_title_spec.rb +6 -6
- data/lib/capybara/spec/session/frame/frame_url_spec.rb +6 -6
- data/lib/capybara/spec/session/frame/switch_to_frame_spec.rb +32 -20
- data/lib/capybara/spec/session/frame/within_frame_spec.rb +44 -19
- data/lib/capybara/spec/session/go_back_spec.rb +1 -1
- data/lib/capybara/spec/session/go_forward_spec.rb +1 -1
- data/lib/capybara/spec/session/has_all_selectors_spec.rb +18 -18
- data/lib/capybara/spec/session/has_ancestor_spec.rb +46 -0
- data/lib/capybara/spec/session/has_any_selectors_spec.rb +29 -0
- data/lib/capybara/spec/session/has_button_spec.rb +92 -12
- data/lib/capybara/spec/session/has_css_spec.rb +271 -137
- data/lib/capybara/spec/session/has_current_path_spec.rb +48 -33
- data/lib/capybara/spec/session/has_field_spec.rb +137 -58
- data/lib/capybara/spec/session/has_link_spec.rb +30 -6
- data/lib/capybara/spec/session/has_none_selectors_spec.rb +26 -24
- data/lib/capybara/spec/session/has_select_spec.rb +75 -47
- data/lib/capybara/spec/session/has_selector_spec.rb +102 -69
- data/lib/capybara/spec/session/has_sibling_spec.rb +50 -0
- data/lib/capybara/spec/session/has_table_spec.rb +170 -4
- data/lib/capybara/spec/session/has_text_spec.rb +108 -52
- data/lib/capybara/spec/session/has_title_spec.rb +19 -14
- data/lib/capybara/spec/session/has_xpath_spec.rb +56 -38
- data/lib/capybara/spec/session/{headers.rb → headers_spec.rb} +1 -1
- data/lib/capybara/spec/session/html_spec.rb +13 -6
- data/lib/capybara/spec/session/matches_style_spec.rb +35 -0
- data/lib/capybara/spec/session/node_spec.rb +871 -122
- data/lib/capybara/spec/session/node_wrapper_spec.rb +15 -12
- data/lib/capybara/spec/session/refresh_spec.rb +9 -7
- data/lib/capybara/spec/session/reset_session_spec.rb +52 -37
- data/lib/capybara/spec/session/{response_code.rb → response_code_spec.rb} +1 -1
- data/lib/capybara/spec/session/save_and_open_page_spec.rb +2 -2
- data/lib/capybara/spec/session/save_and_open_screenshot_spec.rb +5 -4
- data/lib/capybara/spec/session/save_page_spec.rb +41 -38
- data/lib/capybara/spec/session/save_screenshot_spec.rb +13 -11
- data/lib/capybara/spec/session/screenshot_spec.rb +2 -2
- data/lib/capybara/spec/session/scroll_spec.rb +117 -0
- data/lib/capybara/spec/session/select_spec.rb +102 -76
- data/lib/capybara/spec/session/selectors_spec.rb +51 -18
- data/lib/capybara/spec/session/sibling_spec.rb +9 -9
- data/lib/capybara/spec/session/text_spec.rb +26 -24
- data/lib/capybara/spec/session/title_spec.rb +8 -6
- data/lib/capybara/spec/session/uncheck_spec.rb +40 -21
- data/lib/capybara/spec/session/unselect_spec.rb +37 -37
- data/lib/capybara/spec/session/visit_spec.rb +59 -53
- data/lib/capybara/spec/session/window/become_closed_spec.rb +22 -19
- data/lib/capybara/spec/session/window/current_window_spec.rb +4 -3
- data/lib/capybara/spec/session/window/open_new_window_spec.rb +4 -3
- data/lib/capybara/spec/session/window/switch_to_window_spec.rb +25 -21
- data/lib/capybara/spec/session/window/window_opened_by_spec.rb +10 -5
- data/lib/capybara/spec/session/window/window_spec.rb +88 -54
- data/lib/capybara/spec/session/window/windows_spec.rb +10 -7
- data/lib/capybara/spec/session/window/within_window_spec.rb +17 -16
- data/lib/capybara/spec/session/within_spec.rb +69 -44
- data/lib/capybara/spec/spec_helper.rb +41 -53
- data/lib/capybara/spec/test_app.rb +79 -40
- data/lib/capybara/spec/views/animated.erb +49 -0
- data/lib/capybara/spec/views/form.erb +134 -42
- data/lib/capybara/spec/views/frame_child.erb +4 -3
- data/lib/capybara/spec/views/frame_one.erb +2 -1
- data/lib/capybara/spec/views/frame_parent.erb +1 -1
- data/lib/capybara/spec/views/frame_two.erb +1 -1
- data/lib/capybara/spec/views/initial_alert.erb +2 -1
- data/lib/capybara/spec/views/layout.erb +10 -0
- data/lib/capybara/spec/views/obscured.erb +47 -0
- data/lib/capybara/spec/views/offset.erb +33 -0
- data/lib/capybara/spec/views/path.erb +2 -2
- data/lib/capybara/spec/views/popup_one.erb +1 -1
- data/lib/capybara/spec/views/popup_two.erb +1 -1
- data/lib/capybara/spec/views/react.erb +45 -0
- data/lib/capybara/spec/views/scroll.erb +21 -0
- data/lib/capybara/spec/views/spatial.erb +31 -0
- data/lib/capybara/spec/views/tables.erb +68 -1
- data/lib/capybara/spec/views/with_animation.erb +81 -0
- data/lib/capybara/spec/views/with_base_tag.erb +2 -2
- data/lib/capybara/spec/views/with_dragula.erb +24 -0
- data/lib/capybara/spec/views/with_fixed_header_footer.erb +2 -1
- data/lib/capybara/spec/views/with_hover.erb +3 -2
- data/lib/capybara/spec/views/with_hover1.erb +10 -0
- data/lib/capybara/spec/views/with_html.erb +43 -10
- data/lib/capybara/spec/views/with_html5_svg.erb +20 -0
- data/lib/capybara/spec/views/with_jquery_animation.erb +24 -0
- data/lib/capybara/spec/views/with_js.erb +30 -5
- data/lib/capybara/spec/views/with_jstree.erb +26 -0
- data/lib/capybara/spec/views/with_namespace.erb +21 -0
- data/lib/capybara/spec/views/with_scope_other.erb +6 -0
- data/lib/capybara/spec/views/with_slow_unload.erb +2 -1
- data/lib/capybara/spec/views/with_sortable_js.erb +21 -0
- data/lib/capybara/spec/views/with_unload_alert.erb +1 -0
- data/lib/capybara/spec/views/with_windows.erb +1 -1
- data/lib/capybara/spec/views/within_frames.erb +1 -1
- data/lib/capybara/version.rb +1 -1
- data/lib/capybara/window.rb +31 -25
- data/lib/capybara.rb +120 -100
- data/spec/basic_node_spec.rb +59 -34
- data/spec/capybara_spec.rb +54 -52
- data/spec/css_builder_spec.rb +101 -0
- data/spec/css_splitter_spec.rb +38 -0
- data/spec/dsl_spec.rb +80 -53
- data/spec/filter_set_spec.rb +24 -7
- data/spec/fixtures/certificate.pem +25 -0
- data/spec/fixtures/key.pem +27 -0
- data/spec/fixtures/selenium_driver_rspec_failure.rb +4 -4
- data/spec/fixtures/selenium_driver_rspec_success.rb +4 -4
- data/spec/minitest_spec.rb +38 -5
- data/spec/minitest_spec_spec.rb +88 -62
- data/spec/per_session_config_spec.rb +5 -5
- data/spec/rack_test_spec.rb +169 -115
- data/spec/regexp_dissassembler_spec.rb +250 -0
- data/spec/result_spec.rb +86 -33
- data/spec/rspec/features_spec.rb +26 -23
- data/spec/rspec/scenarios_spec.rb +8 -4
- data/spec/rspec/shared_spec_matchers.rb +393 -363
- data/spec/rspec/views_spec.rb +4 -3
- data/spec/rspec_matchers_spec.rb +10 -10
- data/spec/rspec_spec.rb +109 -85
- data/spec/sauce_spec_chrome.rb +43 -0
- data/spec/selector_spec.rb +391 -61
- data/spec/selenium_spec_chrome.rb +180 -41
- data/spec/selenium_spec_chrome_remote.rb +101 -0
- data/spec/selenium_spec_edge.rb +28 -8
- data/spec/selenium_spec_firefox.rb +211 -0
- data/spec/selenium_spec_firefox_remote.rb +80 -0
- data/spec/selenium_spec_ie.rb +127 -11
- data/spec/selenium_spec_safari.rb +156 -0
- data/spec/server_spec.rb +177 -78
- data/spec/session_spec.rb +52 -16
- data/spec/shared_selenium_node.rb +79 -0
- data/spec/shared_selenium_session.rb +455 -123
- data/spec/spec_helper.rb +91 -2
- data/spec/xpath_builder_spec.rb +93 -0
- metadata +343 -42
- data/.yard/templates_custom/default/class/html/selectors.erb +0 -38
- data/.yard/templates_custom/default/class/html/setup.rb +0 -17
- data/.yard/yard_extensions.rb +0 -78
- data/lib/capybara/rspec/compound.rb +0 -90
- data/lib/capybara/spec/session/assert_selector.rb +0 -149
- data/lib/capybara/spec/session/source_spec.rb +0 -0
- data/lib/capybara/spec/views/with_title.erb +0 -5
- data/spec/selenium_spec_marionette.rb +0 -143
metadata
CHANGED
@@ -1,16 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capybara
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.
|
4
|
+
version: 3.36.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thomas Walpole
|
8
8
|
- Jonas Nicklas
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
|
-
cert_chain:
|
12
|
-
-
|
13
|
-
date: 2018-04-05 00:00:00.000000000 Z
|
11
|
+
cert_chain: []
|
12
|
+
date: 2021-10-25 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: addressable
|
@@ -26,6 +25,20 @@ dependencies:
|
|
26
25
|
- - ">="
|
27
26
|
- !ruby/object:Gem::Version
|
28
27
|
version: '0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: matrix
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - ">="
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '0'
|
29
42
|
- !ruby/object:Gem::Dependency
|
30
43
|
name: mini_mime
|
31
44
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,20 +95,68 @@ dependencies:
|
|
82
95
|
- - ">="
|
83
96
|
- !ruby/object:Gem::Version
|
84
97
|
version: 0.6.3
|
98
|
+
- !ruby/object:Gem::Dependency
|
99
|
+
name: regexp_parser
|
100
|
+
requirement: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '1.5'
|
105
|
+
- - "<"
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '3.0'
|
108
|
+
type: :runtime
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ">="
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '1.5'
|
115
|
+
- - "<"
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '3.0'
|
85
118
|
- !ruby/object:Gem::Dependency
|
86
119
|
name: xpath
|
87
120
|
requirement: !ruby/object:Gem::Requirement
|
88
121
|
requirements:
|
89
122
|
- - "~>"
|
90
123
|
- !ruby/object:Gem::Version
|
91
|
-
version: '3.
|
124
|
+
version: '3.2'
|
92
125
|
type: :runtime
|
93
126
|
prerelease: false
|
94
127
|
version_requirements: !ruby/object:Gem::Requirement
|
95
128
|
requirements:
|
96
129
|
- - "~>"
|
97
130
|
- !ruby/object:Gem::Version
|
98
|
-
version: '3.
|
131
|
+
version: '3.2'
|
132
|
+
- !ruby/object:Gem::Dependency
|
133
|
+
name: byebug
|
134
|
+
requirement: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
type: :development
|
140
|
+
prerelease: false
|
141
|
+
version_requirements: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
- !ruby/object:Gem::Dependency
|
147
|
+
name: coveralls
|
148
|
+
requirement: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
type: :development
|
154
|
+
prerelease: false
|
155
|
+
version_requirements: !ruby/object:Gem::Requirement
|
156
|
+
requirements:
|
157
|
+
- - ">="
|
158
|
+
- !ruby/object:Gem::Version
|
159
|
+
version: '0'
|
99
160
|
- !ruby/object:Gem::Dependency
|
100
161
|
name: cucumber
|
101
162
|
requirement: !ruby/object:Gem::Requirement
|
@@ -125,19 +186,19 @@ dependencies:
|
|
125
186
|
- !ruby/object:Gem::Version
|
126
187
|
version: '0'
|
127
188
|
- !ruby/object:Gem::Dependency
|
128
|
-
name:
|
189
|
+
name: irb
|
129
190
|
requirement: !ruby/object:Gem::Requirement
|
130
191
|
requirements:
|
131
192
|
- - ">="
|
132
193
|
- !ruby/object:Gem::Version
|
133
|
-
version:
|
194
|
+
version: '0'
|
134
195
|
type: :development
|
135
196
|
prerelease: false
|
136
197
|
version_requirements: !ruby/object:Gem::Requirement
|
137
198
|
requirements:
|
138
199
|
- - ">="
|
139
200
|
- !ruby/object:Gem::Version
|
140
|
-
version:
|
201
|
+
version: '0'
|
141
202
|
- !ruby/object:Gem::Dependency
|
142
203
|
name: launchy
|
143
204
|
requirement: !ruby/object:Gem::Requirement
|
@@ -200,40 +261,146 @@ dependencies:
|
|
200
261
|
requirements:
|
201
262
|
- - ">="
|
202
263
|
- !ruby/object:Gem::Version
|
203
|
-
version: 3.
|
264
|
+
version: 3.5.0
|
204
265
|
type: :development
|
205
266
|
prerelease: false
|
206
267
|
version_requirements: !ruby/object:Gem::Requirement
|
207
268
|
requirements:
|
208
269
|
- - ">="
|
209
270
|
- !ruby/object:Gem::Version
|
210
|
-
version: 3.
|
271
|
+
version: 3.5.0
|
211
272
|
- !ruby/object:Gem::Dependency
|
212
|
-
name:
|
273
|
+
name: rspec-instafail
|
213
274
|
requirement: !ruby/object:Gem::Requirement
|
214
275
|
requirements:
|
215
276
|
- - ">="
|
216
277
|
- !ruby/object:Gem::Version
|
217
|
-
version: '
|
218
|
-
|
278
|
+
version: '0'
|
279
|
+
type: :development
|
280
|
+
prerelease: false
|
281
|
+
version_requirements: !ruby/object:Gem::Requirement
|
282
|
+
requirements:
|
283
|
+
- - ">="
|
219
284
|
- !ruby/object:Gem::Version
|
220
|
-
version: '
|
221
|
-
|
285
|
+
version: '0'
|
286
|
+
- !ruby/object:Gem::Dependency
|
287
|
+
name: rubocop
|
288
|
+
requirement: !ruby/object:Gem::Requirement
|
289
|
+
requirements:
|
290
|
+
- - "~>"
|
222
291
|
- !ruby/object:Gem::Version
|
223
|
-
version:
|
292
|
+
version: '1.1'
|
224
293
|
type: :development
|
225
294
|
prerelease: false
|
226
295
|
version_requirements: !ruby/object:Gem::Requirement
|
296
|
+
requirements:
|
297
|
+
- - "~>"
|
298
|
+
- !ruby/object:Gem::Version
|
299
|
+
version: '1.1'
|
300
|
+
- !ruby/object:Gem::Dependency
|
301
|
+
name: rubocop-minitest
|
302
|
+
requirement: !ruby/object:Gem::Requirement
|
227
303
|
requirements:
|
228
304
|
- - ">="
|
229
305
|
- !ruby/object:Gem::Version
|
230
|
-
version: '
|
306
|
+
version: '0'
|
307
|
+
type: :development
|
308
|
+
prerelease: false
|
309
|
+
version_requirements: !ruby/object:Gem::Requirement
|
310
|
+
requirements:
|
311
|
+
- - ">="
|
312
|
+
- !ruby/object:Gem::Version
|
313
|
+
version: '0'
|
314
|
+
- !ruby/object:Gem::Dependency
|
315
|
+
name: rubocop-performance
|
316
|
+
requirement: !ruby/object:Gem::Requirement
|
317
|
+
requirements:
|
318
|
+
- - ">="
|
319
|
+
- !ruby/object:Gem::Version
|
320
|
+
version: '0'
|
321
|
+
type: :development
|
322
|
+
prerelease: false
|
323
|
+
version_requirements: !ruby/object:Gem::Requirement
|
324
|
+
requirements:
|
325
|
+
- - ">="
|
326
|
+
- !ruby/object:Gem::Version
|
327
|
+
version: '0'
|
328
|
+
- !ruby/object:Gem::Dependency
|
329
|
+
name: rubocop-rake
|
330
|
+
requirement: !ruby/object:Gem::Requirement
|
331
|
+
requirements:
|
332
|
+
- - ">="
|
333
|
+
- !ruby/object:Gem::Version
|
334
|
+
version: '0'
|
335
|
+
type: :development
|
336
|
+
prerelease: false
|
337
|
+
version_requirements: !ruby/object:Gem::Requirement
|
338
|
+
requirements:
|
339
|
+
- - ">="
|
340
|
+
- !ruby/object:Gem::Version
|
341
|
+
version: '0'
|
342
|
+
- !ruby/object:Gem::Dependency
|
343
|
+
name: rubocop-rspec
|
344
|
+
requirement: !ruby/object:Gem::Requirement
|
345
|
+
requirements:
|
346
|
+
- - "~>"
|
347
|
+
- !ruby/object:Gem::Version
|
348
|
+
version: '2.0'
|
349
|
+
type: :development
|
350
|
+
prerelease: false
|
351
|
+
version_requirements: !ruby/object:Gem::Requirement
|
352
|
+
requirements:
|
353
|
+
- - "~>"
|
354
|
+
- !ruby/object:Gem::Version
|
355
|
+
version: '2.0'
|
356
|
+
- !ruby/object:Gem::Dependency
|
357
|
+
name: sauce_whisk
|
358
|
+
requirement: !ruby/object:Gem::Requirement
|
359
|
+
requirements:
|
360
|
+
- - ">="
|
361
|
+
- !ruby/object:Gem::Version
|
362
|
+
version: '0'
|
363
|
+
type: :development
|
364
|
+
prerelease: false
|
365
|
+
version_requirements: !ruby/object:Gem::Requirement
|
366
|
+
requirements:
|
367
|
+
- - ">="
|
368
|
+
- !ruby/object:Gem::Version
|
369
|
+
version: '0'
|
370
|
+
- !ruby/object:Gem::Dependency
|
371
|
+
name: selenium_statistics
|
372
|
+
requirement: !ruby/object:Gem::Requirement
|
373
|
+
requirements:
|
374
|
+
- - ">="
|
375
|
+
- !ruby/object:Gem::Version
|
376
|
+
version: '0'
|
377
|
+
type: :development
|
378
|
+
prerelease: false
|
379
|
+
version_requirements: !ruby/object:Gem::Requirement
|
380
|
+
requirements:
|
381
|
+
- - ">="
|
382
|
+
- !ruby/object:Gem::Version
|
383
|
+
version: '0'
|
384
|
+
- !ruby/object:Gem::Dependency
|
385
|
+
name: selenium-webdriver
|
386
|
+
requirement: !ruby/object:Gem::Requirement
|
387
|
+
requirements:
|
388
|
+
- - ">="
|
389
|
+
- !ruby/object:Gem::Version
|
390
|
+
version: 3.142.7
|
231
391
|
- - "<"
|
232
392
|
- !ruby/object:Gem::Version
|
233
|
-
version: '
|
234
|
-
|
393
|
+
version: '5.0'
|
394
|
+
type: :development
|
395
|
+
prerelease: false
|
396
|
+
version_requirements: !ruby/object:Gem::Requirement
|
397
|
+
requirements:
|
398
|
+
- - ">="
|
399
|
+
- !ruby/object:Gem::Version
|
400
|
+
version: 3.142.7
|
401
|
+
- - "<"
|
235
402
|
- !ruby/object:Gem::Version
|
236
|
-
version:
|
403
|
+
version: '5.0'
|
237
404
|
- !ruby/object:Gem::Dependency
|
238
405
|
name: sinatra
|
239
406
|
requirement: !ruby/object:Gem::Requirement
|
@@ -248,6 +415,34 @@ dependencies:
|
|
248
415
|
- - ">="
|
249
416
|
- !ruby/object:Gem::Version
|
250
417
|
version: 1.4.0
|
418
|
+
- !ruby/object:Gem::Dependency
|
419
|
+
name: uglifier
|
420
|
+
requirement: !ruby/object:Gem::Requirement
|
421
|
+
requirements:
|
422
|
+
- - ">="
|
423
|
+
- !ruby/object:Gem::Version
|
424
|
+
version: '0'
|
425
|
+
type: :development
|
426
|
+
prerelease: false
|
427
|
+
version_requirements: !ruby/object:Gem::Requirement
|
428
|
+
requirements:
|
429
|
+
- - ">="
|
430
|
+
- !ruby/object:Gem::Version
|
431
|
+
version: '0'
|
432
|
+
- !ruby/object:Gem::Dependency
|
433
|
+
name: webdrivers
|
434
|
+
requirement: !ruby/object:Gem::Requirement
|
435
|
+
requirements:
|
436
|
+
- - ">="
|
437
|
+
- !ruby/object:Gem::Version
|
438
|
+
version: 3.6.0
|
439
|
+
type: :development
|
440
|
+
prerelease: false
|
441
|
+
version_requirements: !ruby/object:Gem::Requirement
|
442
|
+
requirements:
|
443
|
+
- - ">="
|
444
|
+
- !ruby/object:Gem::Version
|
445
|
+
version: 3.6.0
|
251
446
|
- !ruby/object:Gem::Dependency
|
252
447
|
name: yard
|
253
448
|
requirement: !ruby/object:Gem::Requirement
|
@@ -271,9 +466,6 @@ executables: []
|
|
271
466
|
extensions: []
|
272
467
|
extra_rdoc_files: []
|
273
468
|
files:
|
274
|
-
- ".yard/templates_custom/default/class/html/selectors.erb"
|
275
|
-
- ".yard/templates_custom/default/class/html/setup.rb"
|
276
|
-
- ".yard/yard_extensions.rb"
|
277
469
|
- ".yardopts"
|
278
470
|
- History.md
|
279
471
|
- License.txt
|
@@ -295,37 +487,112 @@ files:
|
|
295
487
|
- lib/capybara/node/finders.rb
|
296
488
|
- lib/capybara/node/matchers.rb
|
297
489
|
- lib/capybara/node/simple.rb
|
490
|
+
- lib/capybara/queries/active_element_query.rb
|
298
491
|
- lib/capybara/queries/ancestor_query.rb
|
299
492
|
- lib/capybara/queries/base_query.rb
|
300
493
|
- lib/capybara/queries/current_path_query.rb
|
301
494
|
- lib/capybara/queries/match_query.rb
|
302
495
|
- lib/capybara/queries/selector_query.rb
|
303
496
|
- lib/capybara/queries/sibling_query.rb
|
497
|
+
- lib/capybara/queries/style_query.rb
|
304
498
|
- lib/capybara/queries/text_query.rb
|
305
499
|
- lib/capybara/queries/title_query.rb
|
306
500
|
- lib/capybara/rack_test/browser.rb
|
307
501
|
- lib/capybara/rack_test/css_handlers.rb
|
308
502
|
- lib/capybara/rack_test/driver.rb
|
503
|
+
- lib/capybara/rack_test/errors.rb
|
309
504
|
- lib/capybara/rack_test/form.rb
|
310
505
|
- lib/capybara/rack_test/node.rb
|
311
506
|
- lib/capybara/rails.rb
|
507
|
+
- lib/capybara/registration_container.rb
|
508
|
+
- lib/capybara/registrations/drivers.rb
|
509
|
+
- lib/capybara/registrations/patches/puma_ssl.rb
|
510
|
+
- lib/capybara/registrations/servers.rb
|
312
511
|
- lib/capybara/result.rb
|
313
512
|
- lib/capybara/rspec.rb
|
314
|
-
- lib/capybara/rspec/compound.rb
|
315
513
|
- lib/capybara/rspec/features.rb
|
316
514
|
- lib/capybara/rspec/matcher_proxies.rb
|
317
515
|
- lib/capybara/rspec/matchers.rb
|
516
|
+
- lib/capybara/rspec/matchers/base.rb
|
517
|
+
- lib/capybara/rspec/matchers/become_closed.rb
|
518
|
+
- lib/capybara/rspec/matchers/compound.rb
|
519
|
+
- lib/capybara/rspec/matchers/count_sugar.rb
|
520
|
+
- lib/capybara/rspec/matchers/have_ancestor.rb
|
521
|
+
- lib/capybara/rspec/matchers/have_current_path.rb
|
522
|
+
- lib/capybara/rspec/matchers/have_selector.rb
|
523
|
+
- lib/capybara/rspec/matchers/have_sibling.rb
|
524
|
+
- lib/capybara/rspec/matchers/have_text.rb
|
525
|
+
- lib/capybara/rspec/matchers/have_title.rb
|
526
|
+
- lib/capybara/rspec/matchers/match_selector.rb
|
527
|
+
- lib/capybara/rspec/matchers/match_style.rb
|
528
|
+
- lib/capybara/rspec/matchers/spatial_sugar.rb
|
318
529
|
- lib/capybara/selector.rb
|
530
|
+
- lib/capybara/selector/builders/css_builder.rb
|
531
|
+
- lib/capybara/selector/builders/xpath_builder.rb
|
319
532
|
- lib/capybara/selector/css.rb
|
533
|
+
- lib/capybara/selector/definition.rb
|
534
|
+
- lib/capybara/selector/definition/button.rb
|
535
|
+
- lib/capybara/selector/definition/checkbox.rb
|
536
|
+
- lib/capybara/selector/definition/css.rb
|
537
|
+
- lib/capybara/selector/definition/datalist_input.rb
|
538
|
+
- lib/capybara/selector/definition/datalist_option.rb
|
539
|
+
- lib/capybara/selector/definition/element.rb
|
540
|
+
- lib/capybara/selector/definition/field.rb
|
541
|
+
- lib/capybara/selector/definition/fieldset.rb
|
542
|
+
- lib/capybara/selector/definition/file_field.rb
|
543
|
+
- lib/capybara/selector/definition/fillable_field.rb
|
544
|
+
- lib/capybara/selector/definition/frame.rb
|
545
|
+
- lib/capybara/selector/definition/id.rb
|
546
|
+
- lib/capybara/selector/definition/label.rb
|
547
|
+
- lib/capybara/selector/definition/link.rb
|
548
|
+
- lib/capybara/selector/definition/link_or_button.rb
|
549
|
+
- lib/capybara/selector/definition/option.rb
|
550
|
+
- lib/capybara/selector/definition/radio_button.rb
|
551
|
+
- lib/capybara/selector/definition/select.rb
|
552
|
+
- lib/capybara/selector/definition/table.rb
|
553
|
+
- lib/capybara/selector/definition/table_row.rb
|
554
|
+
- lib/capybara/selector/definition/xpath.rb
|
320
555
|
- lib/capybara/selector/filter.rb
|
321
556
|
- lib/capybara/selector/filter_set.rb
|
322
557
|
- lib/capybara/selector/filters/base.rb
|
323
558
|
- lib/capybara/selector/filters/expression_filter.rb
|
559
|
+
- lib/capybara/selector/filters/locator_filter.rb
|
324
560
|
- lib/capybara/selector/filters/node_filter.rb
|
561
|
+
- lib/capybara/selector/regexp_disassembler.rb
|
325
562
|
- lib/capybara/selector/selector.rb
|
563
|
+
- lib/capybara/selector/xpath_extensions.rb
|
564
|
+
- lib/capybara/selenium/atoms/getAttribute.min.js
|
565
|
+
- lib/capybara/selenium/atoms/isDisplayed.min.js
|
566
|
+
- lib/capybara/selenium/atoms/src/getAttribute.js
|
567
|
+
- lib/capybara/selenium/atoms/src/isDisplayed.js
|
326
568
|
- lib/capybara/selenium/driver.rb
|
569
|
+
- lib/capybara/selenium/driver_specializations/chrome_driver.rb
|
570
|
+
- lib/capybara/selenium/driver_specializations/edge_driver.rb
|
571
|
+
- lib/capybara/selenium/driver_specializations/firefox_driver.rb
|
572
|
+
- lib/capybara/selenium/driver_specializations/internet_explorer_driver.rb
|
573
|
+
- lib/capybara/selenium/driver_specializations/safari_driver.rb
|
574
|
+
- lib/capybara/selenium/extensions/file_input_click_emulation.rb
|
575
|
+
- lib/capybara/selenium/extensions/find.rb
|
576
|
+
- lib/capybara/selenium/extensions/html5_drag.rb
|
577
|
+
- lib/capybara/selenium/extensions/modifier_keys_stack.rb
|
578
|
+
- lib/capybara/selenium/extensions/scroll.rb
|
579
|
+
- lib/capybara/selenium/logger_suppressor.rb
|
327
580
|
- lib/capybara/selenium/node.rb
|
581
|
+
- lib/capybara/selenium/nodes/chrome_node.rb
|
582
|
+
- lib/capybara/selenium/nodes/edge_node.rb
|
583
|
+
- lib/capybara/selenium/nodes/firefox_node.rb
|
584
|
+
- lib/capybara/selenium/nodes/ie_node.rb
|
585
|
+
- lib/capybara/selenium/nodes/safari_node.rb
|
586
|
+
- lib/capybara/selenium/patches/action_pauser.rb
|
587
|
+
- lib/capybara/selenium/patches/atoms.rb
|
588
|
+
- lib/capybara/selenium/patches/is_displayed.rb
|
589
|
+
- lib/capybara/selenium/patches/logs.rb
|
590
|
+
- lib/capybara/selenium/patches/pause_duration_fix.rb
|
591
|
+
- lib/capybara/selenium/patches/persistent_client.rb
|
328
592
|
- lib/capybara/server.rb
|
593
|
+
- lib/capybara/server/animation_disabler.rb
|
594
|
+
- lib/capybara/server/checker.rb
|
595
|
+
- lib/capybara/server/middleware.rb
|
329
596
|
- lib/capybara/session.rb
|
330
597
|
- lib/capybara/session/config.rb
|
331
598
|
- lib/capybara/session/matchers.rb
|
@@ -335,17 +602,20 @@ files:
|
|
335
602
|
- lib/capybara/spec/fixtures/test_file.txt
|
336
603
|
- lib/capybara/spec/public/jquery-ui.js
|
337
604
|
- lib/capybara/spec/public/jquery.js
|
605
|
+
- lib/capybara/spec/public/offset.js
|
338
606
|
- lib/capybara/spec/public/test.js
|
339
607
|
- lib/capybara/spec/session/accept_alert_spec.rb
|
340
608
|
- lib/capybara/spec/session/accept_confirm_spec.rb
|
341
609
|
- lib/capybara/spec/session/accept_prompt_spec.rb
|
610
|
+
- lib/capybara/spec/session/active_element_spec.rb
|
342
611
|
- lib/capybara/spec/session/all_spec.rb
|
343
612
|
- lib/capybara/spec/session/ancestor_spec.rb
|
344
613
|
- lib/capybara/spec/session/assert_all_of_selectors_spec.rb
|
345
|
-
- lib/capybara/spec/session/
|
346
|
-
- lib/capybara/spec/session/
|
347
|
-
- lib/capybara/spec/session/
|
348
|
-
- lib/capybara/spec/session/
|
614
|
+
- lib/capybara/spec/session/assert_current_path_spec.rb
|
615
|
+
- lib/capybara/spec/session/assert_selector_spec.rb
|
616
|
+
- lib/capybara/spec/session/assert_style_spec.rb
|
617
|
+
- lib/capybara/spec/session/assert_text_spec.rb
|
618
|
+
- lib/capybara/spec/session/assert_title_spec.rb
|
349
619
|
- lib/capybara/spec/session/attach_file_spec.rb
|
350
620
|
- lib/capybara/spec/session/body_spec.rb
|
351
621
|
- lib/capybara/spec/session/check_spec.rb
|
@@ -357,7 +627,7 @@ files:
|
|
357
627
|
- lib/capybara/spec/session/current_url_spec.rb
|
358
628
|
- lib/capybara/spec/session/dismiss_confirm_spec.rb
|
359
629
|
- lib/capybara/spec/session/dismiss_prompt_spec.rb
|
360
|
-
- lib/capybara/spec/session/element/
|
630
|
+
- lib/capybara/spec/session/element/assert_match_selector_spec.rb
|
361
631
|
- lib/capybara/spec/session/element/match_css_spec.rb
|
362
632
|
- lib/capybara/spec/session/element/match_xpath_spec.rb
|
363
633
|
- lib/capybara/spec/session/element/matches_selector_spec.rb
|
@@ -378,6 +648,8 @@ files:
|
|
378
648
|
- lib/capybara/spec/session/go_back_spec.rb
|
379
649
|
- lib/capybara/spec/session/go_forward_spec.rb
|
380
650
|
- lib/capybara/spec/session/has_all_selectors_spec.rb
|
651
|
+
- lib/capybara/spec/session/has_ancestor_spec.rb
|
652
|
+
- lib/capybara/spec/session/has_any_selectors_spec.rb
|
381
653
|
- lib/capybara/spec/session/has_button_spec.rb
|
382
654
|
- lib/capybara/spec/session/has_css_spec.rb
|
383
655
|
- lib/capybara/spec/session/has_current_path_spec.rb
|
@@ -386,26 +658,28 @@ files:
|
|
386
658
|
- lib/capybara/spec/session/has_none_selectors_spec.rb
|
387
659
|
- lib/capybara/spec/session/has_select_spec.rb
|
388
660
|
- lib/capybara/spec/session/has_selector_spec.rb
|
661
|
+
- lib/capybara/spec/session/has_sibling_spec.rb
|
389
662
|
- lib/capybara/spec/session/has_table_spec.rb
|
390
663
|
- lib/capybara/spec/session/has_text_spec.rb
|
391
664
|
- lib/capybara/spec/session/has_title_spec.rb
|
392
665
|
- lib/capybara/spec/session/has_xpath_spec.rb
|
393
|
-
- lib/capybara/spec/session/
|
666
|
+
- lib/capybara/spec/session/headers_spec.rb
|
394
667
|
- lib/capybara/spec/session/html_spec.rb
|
668
|
+
- lib/capybara/spec/session/matches_style_spec.rb
|
395
669
|
- lib/capybara/spec/session/node_spec.rb
|
396
670
|
- lib/capybara/spec/session/node_wrapper_spec.rb
|
397
671
|
- lib/capybara/spec/session/refresh_spec.rb
|
398
672
|
- lib/capybara/spec/session/reset_session_spec.rb
|
399
|
-
- lib/capybara/spec/session/
|
673
|
+
- lib/capybara/spec/session/response_code_spec.rb
|
400
674
|
- lib/capybara/spec/session/save_and_open_page_spec.rb
|
401
675
|
- lib/capybara/spec/session/save_and_open_screenshot_spec.rb
|
402
676
|
- lib/capybara/spec/session/save_page_spec.rb
|
403
677
|
- lib/capybara/spec/session/save_screenshot_spec.rb
|
404
678
|
- lib/capybara/spec/session/screenshot_spec.rb
|
679
|
+
- lib/capybara/spec/session/scroll_spec.rb
|
405
680
|
- lib/capybara/spec/session/select_spec.rb
|
406
681
|
- lib/capybara/spec/session/selectors_spec.rb
|
407
682
|
- lib/capybara/spec/session/sibling_spec.rb
|
408
|
-
- lib/capybara/spec/session/source_spec.rb
|
409
683
|
- lib/capybara/spec/session/text_spec.rb
|
410
684
|
- lib/capybara/spec/session/title_spec.rb
|
411
685
|
- lib/capybara/spec/session/uncheck_spec.rb
|
@@ -422,6 +696,7 @@ files:
|
|
422
696
|
- lib/capybara/spec/session/within_spec.rb
|
423
697
|
- lib/capybara/spec/spec_helper.rb
|
424
698
|
- lib/capybara/spec/test_app.rb
|
699
|
+
- lib/capybara/spec/views/animated.erb
|
425
700
|
- lib/capybara/spec/views/buttons.erb
|
426
701
|
- lib/capybara/spec/views/fieldsets.erb
|
427
702
|
- lib/capybara/spec/views/form.erb
|
@@ -432,22 +707,36 @@ files:
|
|
432
707
|
- lib/capybara/spec/views/header_links.erb
|
433
708
|
- lib/capybara/spec/views/host_links.erb
|
434
709
|
- lib/capybara/spec/views/initial_alert.erb
|
710
|
+
- lib/capybara/spec/views/layout.erb
|
711
|
+
- lib/capybara/spec/views/obscured.erb
|
712
|
+
- lib/capybara/spec/views/offset.erb
|
435
713
|
- lib/capybara/spec/views/path.erb
|
436
714
|
- lib/capybara/spec/views/popup_one.erb
|
437
715
|
- lib/capybara/spec/views/popup_two.erb
|
438
716
|
- lib/capybara/spec/views/postback.erb
|
717
|
+
- lib/capybara/spec/views/react.erb
|
718
|
+
- lib/capybara/spec/views/scroll.erb
|
719
|
+
- lib/capybara/spec/views/spatial.erb
|
439
720
|
- lib/capybara/spec/views/tables.erb
|
721
|
+
- lib/capybara/spec/views/with_animation.erb
|
440
722
|
- lib/capybara/spec/views/with_base_tag.erb
|
441
723
|
- lib/capybara/spec/views/with_count.erb
|
724
|
+
- lib/capybara/spec/views/with_dragula.erb
|
442
725
|
- lib/capybara/spec/views/with_fixed_header_footer.erb
|
443
726
|
- lib/capybara/spec/views/with_hover.erb
|
727
|
+
- lib/capybara/spec/views/with_hover1.erb
|
444
728
|
- lib/capybara/spec/views/with_html.erb
|
729
|
+
- lib/capybara/spec/views/with_html5_svg.erb
|
445
730
|
- lib/capybara/spec/views/with_html_entities.erb
|
731
|
+
- lib/capybara/spec/views/with_jquery_animation.erb
|
446
732
|
- lib/capybara/spec/views/with_js.erb
|
733
|
+
- lib/capybara/spec/views/with_jstree.erb
|
734
|
+
- lib/capybara/spec/views/with_namespace.erb
|
447
735
|
- lib/capybara/spec/views/with_scope.erb
|
736
|
+
- lib/capybara/spec/views/with_scope_other.erb
|
448
737
|
- lib/capybara/spec/views/with_simple_html.erb
|
449
738
|
- lib/capybara/spec/views/with_slow_unload.erb
|
450
|
-
- lib/capybara/spec/views/
|
739
|
+
- lib/capybara/spec/views/with_sortable_js.erb
|
451
740
|
- lib/capybara/spec/views/with_unload_alert.erb
|
452
741
|
- lib/capybara/spec/views/with_windows.erb
|
453
742
|
- lib/capybara/spec/views/within_frames.erb
|
@@ -455,15 +744,20 @@ files:
|
|
455
744
|
- lib/capybara/window.rb
|
456
745
|
- spec/basic_node_spec.rb
|
457
746
|
- spec/capybara_spec.rb
|
747
|
+
- spec/css_builder_spec.rb
|
748
|
+
- spec/css_splitter_spec.rb
|
458
749
|
- spec/dsl_spec.rb
|
459
750
|
- spec/filter_set_spec.rb
|
460
751
|
- spec/fixtures/capybara.csv
|
752
|
+
- spec/fixtures/certificate.pem
|
753
|
+
- spec/fixtures/key.pem
|
461
754
|
- spec/fixtures/selenium_driver_rspec_failure.rb
|
462
755
|
- spec/fixtures/selenium_driver_rspec_success.rb
|
463
756
|
- spec/minitest_spec.rb
|
464
757
|
- spec/minitest_spec_spec.rb
|
465
758
|
- spec/per_session_config_spec.rb
|
466
759
|
- spec/rack_test_spec.rb
|
760
|
+
- spec/regexp_dissassembler_spec.rb
|
467
761
|
- spec/result_spec.rb
|
468
762
|
- spec/rspec/features_spec.rb
|
469
763
|
- spec/rspec/scenarios_spec.rb
|
@@ -471,20 +765,28 @@ files:
|
|
471
765
|
- spec/rspec/views_spec.rb
|
472
766
|
- spec/rspec_matchers_spec.rb
|
473
767
|
- spec/rspec_spec.rb
|
768
|
+
- spec/sauce_spec_chrome.rb
|
474
769
|
- spec/selector_spec.rb
|
475
770
|
- spec/selenium_spec_chrome.rb
|
771
|
+
- spec/selenium_spec_chrome_remote.rb
|
476
772
|
- spec/selenium_spec_edge.rb
|
773
|
+
- spec/selenium_spec_firefox.rb
|
774
|
+
- spec/selenium_spec_firefox_remote.rb
|
477
775
|
- spec/selenium_spec_ie.rb
|
478
|
-
- spec/
|
776
|
+
- spec/selenium_spec_safari.rb
|
479
777
|
- spec/server_spec.rb
|
480
778
|
- spec/session_spec.rb
|
779
|
+
- spec/shared_selenium_node.rb
|
481
780
|
- spec/shared_selenium_session.rb
|
482
781
|
- spec/spec_helper.rb
|
782
|
+
- spec/xpath_builder_spec.rb
|
483
783
|
homepage: https://github.com/teamcapybara/capybara
|
484
784
|
licenses:
|
485
785
|
- MIT
|
486
|
-
metadata:
|
487
|
-
|
786
|
+
metadata:
|
787
|
+
changelog_uri: https://github.com/teamcapybara/capybara/blob/master/History.md
|
788
|
+
source_code_uri: https://github.com/teamcapybara/capybara
|
789
|
+
post_install_message:
|
488
790
|
rdoc_options: []
|
489
791
|
require_paths:
|
490
792
|
- lib
|
@@ -492,16 +794,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
492
794
|
requirements:
|
493
795
|
- - ">="
|
494
796
|
- !ruby/object:Gem::Version
|
495
|
-
version: 2.
|
797
|
+
version: 2.6.0
|
496
798
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
497
799
|
requirements:
|
498
800
|
- - ">="
|
499
801
|
- !ruby/object:Gem::Version
|
500
802
|
version: '0'
|
501
803
|
requirements: []
|
502
|
-
|
503
|
-
|
504
|
-
signing_key:
|
804
|
+
rubygems_version: 3.2.29
|
805
|
+
signing_key:
|
505
806
|
specification_version: 4
|
506
807
|
summary: Capybara aims to simplify the process of integration testing Rack applications,
|
507
808
|
such as Rails, Sinatra or Merb
|
@@ -1,38 +0,0 @@
|
|
1
|
-
<div id="selectors">
|
2
|
-
<h2>Built-in Selectors</h2>
|
3
|
-
<ul>
|
4
|
-
<% @selectors.each do |name, selector| %>
|
5
|
-
<li>
|
6
|
-
<h3>:<%= name %></h3>
|
7
|
-
<div class="docstring">
|
8
|
-
<div class="discussion">
|
9
|
-
<p><%= h(selector.docstring) %></p>
|
10
|
-
</div>
|
11
|
-
</div>
|
12
|
-
<div class="tags">
|
13
|
-
<p class="inline">Locator:</p>
|
14
|
-
<% if locator=selector.tag('locator') %>
|
15
|
-
<p class="inline"><%= h locator.text %></p>
|
16
|
-
<% end %>
|
17
|
-
<% if selector.has_tag?('filter') %>
|
18
|
-
<p>Filters:</p>
|
19
|
-
<ul class="param">
|
20
|
-
<% selector.tags('filter').each do |filter| %>
|
21
|
-
<li>
|
22
|
-
<span class="name"><%= filter.name %></span>
|
23
|
-
<% if filter.types %>
|
24
|
-
<span class="type">(<tt><%= h(filter.types.join(', ')) %></tt>)</span>
|
25
|
-
<% end %>
|
26
|
-
<% if filter.text %>
|
27
|
-
—
|
28
|
-
<div class="inline"><p><%= h filter.text %></p></div>
|
29
|
-
<% end %>
|
30
|
-
</li>
|
31
|
-
<% end %>
|
32
|
-
</ul>
|
33
|
-
<% end %>
|
34
|
-
</div
|
35
|
-
</li>
|
36
|
-
<% end %>
|
37
|
-
</ul>
|
38
|
-
</div>
|