spreewald 4.3.6 → 4.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +15 -4
- data/README.md +2 -2
- data/lib/spreewald/time_steps.rb +9 -1
- data/lib/spreewald/web_steps.rb +2 -1
- data/lib/spreewald_support/path_selector_fallbacks.rb +19 -1
- data/lib/spreewald_support/tolerance_for_selenium_sync_issues.rb +1 -0
- data/lib/spreewald_support/version.rb +1 -1
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/.ruby-version +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/Gemfile +1 -1
- data/tests/rails-7_capybara-3/Gemfile.lock +310 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/README.md +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/Rakefile +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/controllers +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/mailers/application_mailer.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/mailers/spreewald_mailer.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/models/application_record.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/app/views +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/bundle +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/rails +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/rake +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/bin/setup +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/application.rb +1 -1
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/boot.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/cucumber.yml +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/database.yml +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/environment.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/environments/development.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/environments/test.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/application_controller_renderer.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/backtrace_silencers.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/content_security_policy.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/cookies_serializer.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/filter_parameter_logging.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/inflections.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/mime_types.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/new_framework_defaults_6_1.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/permissions_policy.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/wrap_parameters.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/locales/en.yml +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/routes.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config.ru +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/db +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/browser_tab_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/development_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/email_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/iframe_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/overriding.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/session_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/.gitkeep +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/field_error_steps.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/overriding_steps.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/test_steps.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/env.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/paths.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/selectors.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/support/selenium.rb +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/table_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/time_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/web_steps.feature +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/lib/tasks/.keep +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/lib/tasks/cucumber.rake +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/log/.keep +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/404.html +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/422.html +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/500.html +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/favicon.ico +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/public/fixture_files +0 -0
- data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/script/cucumber +0 -0
- metadata +125 -125
- data/tests/rails-6_capybara-3/Gemfile.lock +0 -298
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4ce046682ec3812d9b7b5ca4cf7286a44d7e683cdf2d60c259865cc5734bc14b
|
|
4
|
+
data.tar.gz: 7d1f7914f2b7621b509ac3fdc60cac9cfc39201760697aa041e9eb96e28c2d5d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89a78a3a31b2e46374cc21213b072a4fb36a8cd50d75d752cce156a449af0159e486911d99543bb16af9c5ed0be414f62197e7b51d917e01d80ad2b1c919877b
|
|
7
|
+
data.tar.gz: 797a519e0d97151108433d94a6a88ed2615ff2ec4cc0ae0b57079825dc72e98df882fd2d3160214abe0bafd9078c5102fd2513795662f588f74c5866623b99e5
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@ All notable changes to this project will be documented in this file.
|
|
|
3
3
|
|
|
4
4
|
This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
|
5
5
|
|
|
6
|
+
## 4.4.2
|
|
7
|
+
- Add `ActionController::UrlGenerationError` to `patiently`'s retry errors.
|
|
8
|
+
- This will solve timing issues when e.g. using step `I should be on ...` after creating a record via AJAX
|
|
9
|
+
|
|
10
|
+
## 4.4.1
|
|
11
|
+
- Fix deprecation warning for `ActiveRecord::Base.default_timezone` when running with Rails 7.0 ([#191](https://github.com/makandra/spreewald/issues/191))
|
|
12
|
+
- Fix deprecation warning for using keyword arguments as last argument when running with ruby 2.7 ([#192](https://github.com/makandra/spreewald/issues/192))
|
|
13
|
+
|
|
14
|
+
## 4.4.0
|
|
15
|
+
- Add support for Rails 7.0
|
|
16
|
+
|
|
6
17
|
## 4.3.6
|
|
7
18
|
- Use capybara's `make_visible` [option](https://github.com/teamcapybara/capybara/blob/0468de5a810aae75ab9de20447e246c5c35473f0/lib/capybara/node/actions.rb#L279) in step `I attach the file "..." to "..."`
|
|
8
19
|
- This will make CSS-Hacks like setting the opacity in tests obsolete
|
|
@@ -33,8 +44,8 @@ did not find the correct elements
|
|
|
33
44
|
- The search via `spreewald some query here` includes steps with optional negation now.
|
|
34
45
|
|
|
35
46
|
## 4.2.2
|
|
36
|
-
- Fixes the "Show me the email" step (#171)
|
|
37
|
-
- Fixes the "I follow the link in the email" step. (#172, #173)
|
|
47
|
+
- Fixes the "Show me the email" step ([#171](https://github.com/makandra/spreewald/issues/171))
|
|
48
|
+
- Fixes the "I follow the link in the email" step. ([#172](https://github.com/makandra/spreewald/issues/172), [#173](https://github.com/makandra/spreewald/issues/173))
|
|
38
49
|
- It works for emails with and without explicit html parts
|
|
39
50
|
- There's a better error message if no links are found
|
|
40
51
|
|
|
@@ -42,7 +53,7 @@ did not find the correct elements
|
|
|
42
53
|
- Multiple invocations of console don't raise anymore
|
|
43
54
|
|
|
44
55
|
## 4.1.1
|
|
45
|
-
- The step `I open .. in a new browser tab` is now using the `noopener` option (see issue [#174])
|
|
56
|
+
- The step `I open .. in a new browser tab` is now using the `noopener` option (see issue [#174](https://github.com/makandra/spreewald/issues/174))
|
|
46
57
|
|
|
47
58
|
## 4.1.0
|
|
48
59
|
|
|
@@ -218,7 +229,7 @@ The "it should work" step now takes an optional reason.
|
|
|
218
229
|
The word "within" can now be used in arguments for other steps without causing errors ([Issue #53](https://github.com/makandra/spreewald/issues/80))
|
|
219
230
|
|
|
220
231
|
## 1.12.3
|
|
221
|
-
Prevent wall of warnings when `Then console` is used multiple times in on test run ([issue](https://github.com/makandra/spreewald/issues/80))
|
|
232
|
+
Prevent wall of warnings when `Then console` is used multiple times in on test run ([issue #80](https://github.com/makandra/spreewald/issues/80))
|
|
222
233
|
|
|
223
234
|
## 1.12.2
|
|
224
235
|
Always check the current driver by its class (see [issue](https://github.com/makandra/spreewald/issues/74))
|
data/README.md
CHANGED
|
@@ -6,7 +6,7 @@ You can find a list of all contained steps at the end of this README.
|
|
|
6
6
|
|
|
7
7
|
## Supported versions
|
|
8
8
|
|
|
9
|
-
Spreewald is currently tested against and Ruby 2.6.6 and 3.0.0 with Rails
|
|
9
|
+
Spreewald is currently tested against and Ruby 2.6.6 and 3.0.0 with Rails 7 and Capybara 3.
|
|
10
10
|
|
|
11
11
|
## Installation
|
|
12
12
|
|
|
@@ -38,7 +38,7 @@ After that you are good to go and use the steps [described below](#steps).
|
|
|
38
38
|
We recommend using a `features/support/paths.rb` file in your project to define mappings between verbal phrases and your project's routes. You can then use these phrases in steps like `Then I should be on ...` or `When I go to ...`.
|
|
39
39
|
You can find [an example in this repository](https://github.com/makandra/spreewald/blob/master/examples/paths.rb). Please note that you may have to adapt it depending on the namespaces and other setup of your application's routes.
|
|
40
40
|
|
|
41
|
-
Similarly, you may define a `features/support/
|
|
41
|
+
Similarly, you may define a `features/support/selectors.rb` file in your project to define mappings of verbal phrases to CSS selectors. You can also find [an example for that in this repository](https://github.com/makandra/spreewald/blob/master/examples/selectors.rb). These mappings can be used with steps like `Then I should( not)? see (an|the) element for ...` or `When I click on the element for ...`.
|
|
42
42
|
|
|
43
43
|
We also suggest to look at our [recommended Capybara defaults](#recommended-capybara-defaults) as they impact the behavior of many Spreewald steps.
|
|
44
44
|
|
data/lib/spreewald/time_steps.rb
CHANGED
|
@@ -22,7 +22,7 @@ if defined?(Timecop) || is_at_least_rails_4_1
|
|
|
22
22
|
|
|
23
23
|
def use_timezones?
|
|
24
24
|
active_record_loaded = defined?(ActiveRecord::Base)
|
|
25
|
-
(!active_record_loaded ||
|
|
25
|
+
(!active_record_loaded || default_timezone != :local) && Time.zone
|
|
26
26
|
end
|
|
27
27
|
|
|
28
28
|
def parse_time(str)
|
|
@@ -41,6 +41,14 @@ if defined?(Timecop) || is_at_least_rails_4_1
|
|
|
41
41
|
end
|
|
42
42
|
end
|
|
43
43
|
|
|
44
|
+
def default_timezone
|
|
45
|
+
if ActiveRecord.respond_to?(:default_timezone)
|
|
46
|
+
ActiveRecord.default_timezone
|
|
47
|
+
else
|
|
48
|
+
ActiveRecord::Base.default_timezone
|
|
49
|
+
end
|
|
50
|
+
end
|
|
51
|
+
|
|
44
52
|
if defined?(Timecop)
|
|
45
53
|
# Emulate ActiveSupport time helper methods with Timecop - don't rename these methods
|
|
46
54
|
def travel(duration)
|
data/lib/spreewald/web_steps.rb
CHANGED
|
@@ -48,7 +48,8 @@ When /^(.*) within (.*[^:])$/ do |nested_step, parent|
|
|
|
48
48
|
selector = _selector_for(parent)
|
|
49
49
|
if selector.is_a?(String) || selector.is_a?(Array) # could also be a Capybara::Node::Element
|
|
50
50
|
patiently do
|
|
51
|
-
|
|
51
|
+
args, kwargs = deconstruct_selector(selector)
|
|
52
|
+
expect(page).to have_selector(*args, **kwargs)
|
|
52
53
|
end
|
|
53
54
|
end
|
|
54
55
|
patiently do
|
|
@@ -31,7 +31,25 @@ World(PathSelectorFallbacks)
|
|
|
31
31
|
|
|
32
32
|
module WithinHelpers
|
|
33
33
|
def with_scope(locator)
|
|
34
|
-
|
|
34
|
+
if locator
|
|
35
|
+
selector = _selector_for(locator)
|
|
36
|
+
args, kwargs = deconstruct_selector(selector)
|
|
37
|
+
within(*args, **kwargs) { yield }
|
|
38
|
+
else
|
|
39
|
+
yield
|
|
40
|
+
end
|
|
41
|
+
end
|
|
42
|
+
|
|
43
|
+
def deconstruct_selector(selector)
|
|
44
|
+
if selector.is_a?(Array)
|
|
45
|
+
if selector[-1].is_a?(Hash) # selector with keyword arguments, e.g. ['.foo', { text: 'bar', visible: :all }]
|
|
46
|
+
[selector[0...-1], **selector[-1]]
|
|
47
|
+
else # xpath selector, e.g. [:xpath, '//header']
|
|
48
|
+
[selector, {}]
|
|
49
|
+
end
|
|
50
|
+
else # String or Capybara::Node::Element
|
|
51
|
+
[selector, {}]
|
|
52
|
+
end
|
|
35
53
|
end
|
|
36
54
|
end
|
|
37
55
|
World(WithinHelpers)
|
|
File without changes
|
|
@@ -0,0 +1,310 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: ../..
|
|
3
|
+
specs:
|
|
4
|
+
spreewald (4.4.2)
|
|
5
|
+
cucumber
|
|
6
|
+
cucumber_priority (>= 0.3.0)
|
|
7
|
+
rspec (>= 2.13.0)
|
|
8
|
+
|
|
9
|
+
GEM
|
|
10
|
+
remote: https://rubygems.org/
|
|
11
|
+
specs:
|
|
12
|
+
actioncable (7.0.2.3)
|
|
13
|
+
actionpack (= 7.0.2.3)
|
|
14
|
+
activesupport (= 7.0.2.3)
|
|
15
|
+
nio4r (~> 2.0)
|
|
16
|
+
websocket-driver (>= 0.6.1)
|
|
17
|
+
actionmailbox (7.0.2.3)
|
|
18
|
+
actionpack (= 7.0.2.3)
|
|
19
|
+
activejob (= 7.0.2.3)
|
|
20
|
+
activerecord (= 7.0.2.3)
|
|
21
|
+
activestorage (= 7.0.2.3)
|
|
22
|
+
activesupport (= 7.0.2.3)
|
|
23
|
+
mail (>= 2.7.1)
|
|
24
|
+
net-imap
|
|
25
|
+
net-pop
|
|
26
|
+
net-smtp
|
|
27
|
+
actionmailer (7.0.2.3)
|
|
28
|
+
actionpack (= 7.0.2.3)
|
|
29
|
+
actionview (= 7.0.2.3)
|
|
30
|
+
activejob (= 7.0.2.3)
|
|
31
|
+
activesupport (= 7.0.2.3)
|
|
32
|
+
mail (~> 2.5, >= 2.5.4)
|
|
33
|
+
net-imap
|
|
34
|
+
net-pop
|
|
35
|
+
net-smtp
|
|
36
|
+
rails-dom-testing (~> 2.0)
|
|
37
|
+
actionpack (7.0.2.3)
|
|
38
|
+
actionview (= 7.0.2.3)
|
|
39
|
+
activesupport (= 7.0.2.3)
|
|
40
|
+
rack (~> 2.0, >= 2.2.0)
|
|
41
|
+
rack-test (>= 0.6.3)
|
|
42
|
+
rails-dom-testing (~> 2.0)
|
|
43
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
|
44
|
+
actiontext (7.0.2.3)
|
|
45
|
+
actionpack (= 7.0.2.3)
|
|
46
|
+
activerecord (= 7.0.2.3)
|
|
47
|
+
activestorage (= 7.0.2.3)
|
|
48
|
+
activesupport (= 7.0.2.3)
|
|
49
|
+
globalid (>= 0.6.0)
|
|
50
|
+
nokogiri (>= 1.8.5)
|
|
51
|
+
actionview (7.0.2.3)
|
|
52
|
+
activesupport (= 7.0.2.3)
|
|
53
|
+
builder (~> 3.1)
|
|
54
|
+
erubi (~> 1.4)
|
|
55
|
+
rails-dom-testing (~> 2.0)
|
|
56
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
|
57
|
+
activejob (7.0.2.3)
|
|
58
|
+
activesupport (= 7.0.2.3)
|
|
59
|
+
globalid (>= 0.3.6)
|
|
60
|
+
activemodel (7.0.2.3)
|
|
61
|
+
activesupport (= 7.0.2.3)
|
|
62
|
+
activerecord (7.0.2.3)
|
|
63
|
+
activemodel (= 7.0.2.3)
|
|
64
|
+
activesupport (= 7.0.2.3)
|
|
65
|
+
activestorage (7.0.2.3)
|
|
66
|
+
actionpack (= 7.0.2.3)
|
|
67
|
+
activejob (= 7.0.2.3)
|
|
68
|
+
activerecord (= 7.0.2.3)
|
|
69
|
+
activesupport (= 7.0.2.3)
|
|
70
|
+
marcel (~> 1.0)
|
|
71
|
+
mini_mime (>= 1.1.0)
|
|
72
|
+
activesupport (7.0.2.3)
|
|
73
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
74
|
+
i18n (>= 1.6, < 2)
|
|
75
|
+
minitest (>= 5.1)
|
|
76
|
+
tzinfo (~> 2.0)
|
|
77
|
+
addressable (2.8.0)
|
|
78
|
+
public_suffix (>= 2.0.2, < 5.0)
|
|
79
|
+
builder (3.2.4)
|
|
80
|
+
byebug (11.1.3)
|
|
81
|
+
capybara (3.36.0)
|
|
82
|
+
addressable
|
|
83
|
+
matrix
|
|
84
|
+
mini_mime (>= 0.1.3)
|
|
85
|
+
nokogiri (~> 1.8)
|
|
86
|
+
rack (>= 1.6.0)
|
|
87
|
+
rack-test (>= 0.6.3)
|
|
88
|
+
regexp_parser (>= 1.5, < 3.0)
|
|
89
|
+
xpath (~> 3.2)
|
|
90
|
+
capybara-screenshot (1.0.25)
|
|
91
|
+
capybara (>= 1.0, < 4)
|
|
92
|
+
launchy
|
|
93
|
+
childprocess (3.0.0)
|
|
94
|
+
coderay (1.1.3)
|
|
95
|
+
concurrent-ruby (1.1.10)
|
|
96
|
+
crass (1.0.6)
|
|
97
|
+
cucumber (7.1.0)
|
|
98
|
+
builder (~> 3.2, >= 3.2.4)
|
|
99
|
+
cucumber-core (~> 10.1, >= 10.1.0)
|
|
100
|
+
cucumber-create-meta (~> 6.0, >= 6.0.1)
|
|
101
|
+
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
|
|
102
|
+
cucumber-gherkin (~> 22.0, >= 22.0.0)
|
|
103
|
+
cucumber-html-formatter (~> 17.0, >= 17.0.0)
|
|
104
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
|
105
|
+
cucumber-wire (~> 6.2, >= 6.2.0)
|
|
106
|
+
diff-lcs (~> 1.4, >= 1.4.4)
|
|
107
|
+
mime-types (~> 3.3, >= 3.3.1)
|
|
108
|
+
multi_test (~> 0.1, >= 0.1.2)
|
|
109
|
+
sys-uname (~> 1.2, >= 1.2.2)
|
|
110
|
+
cucumber-core (10.1.1)
|
|
111
|
+
cucumber-gherkin (~> 22.0, >= 22.0.0)
|
|
112
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
|
113
|
+
cucumber-tag-expressions (~> 4.1, >= 4.1.0)
|
|
114
|
+
cucumber-create-meta (6.0.4)
|
|
115
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
|
116
|
+
sys-uname (~> 1.2, >= 1.2.2)
|
|
117
|
+
cucumber-cucumber-expressions (14.0.0)
|
|
118
|
+
cucumber-gherkin (22.0.0)
|
|
119
|
+
cucumber-messages (~> 17.1, >= 17.1.1)
|
|
120
|
+
cucumber-html-formatter (17.0.0)
|
|
121
|
+
cucumber-messages (~> 17.1, >= 17.1.0)
|
|
122
|
+
cucumber-messages (17.1.1)
|
|
123
|
+
cucumber-rails (2.5.0)
|
|
124
|
+
capybara (>= 2.18, < 4)
|
|
125
|
+
cucumber (>= 3.2, < 8)
|
|
126
|
+
mime-types (~> 3.3)
|
|
127
|
+
nokogiri (~> 1.10)
|
|
128
|
+
railties (>= 5.0, < 8)
|
|
129
|
+
rexml (~> 3.0)
|
|
130
|
+
webrick (~> 1.7)
|
|
131
|
+
cucumber-tag-expressions (4.1.0)
|
|
132
|
+
cucumber-wire (6.2.1)
|
|
133
|
+
cucumber-core (~> 10.1, >= 10.1.0)
|
|
134
|
+
cucumber-cucumber-expressions (~> 14.0, >= 14.0.0)
|
|
135
|
+
cucumber_priority (0.3.3)
|
|
136
|
+
cucumber
|
|
137
|
+
database_cleaner (2.0.1)
|
|
138
|
+
database_cleaner-active_record (~> 2.0.0)
|
|
139
|
+
database_cleaner-active_record (2.0.0)
|
|
140
|
+
activerecord (>= 5.a)
|
|
141
|
+
database_cleaner-core (~> 2.0.0)
|
|
142
|
+
database_cleaner-core (2.0.1)
|
|
143
|
+
diff-lcs (1.5.0)
|
|
144
|
+
digest (3.1.0)
|
|
145
|
+
erubi (1.10.0)
|
|
146
|
+
erubis (2.7.0)
|
|
147
|
+
ffi (1.15.5)
|
|
148
|
+
gemika (0.5.0)
|
|
149
|
+
globalid (1.0.0)
|
|
150
|
+
activesupport (>= 5.0)
|
|
151
|
+
haml (5.2.1)
|
|
152
|
+
temple (>= 0.8.0)
|
|
153
|
+
tilt
|
|
154
|
+
haml-rails (2.0.1)
|
|
155
|
+
actionpack (>= 5.1)
|
|
156
|
+
activesupport (>= 5.1)
|
|
157
|
+
haml (>= 4.0.6, < 6.0)
|
|
158
|
+
html2haml (>= 1.0.1)
|
|
159
|
+
railties (>= 5.1)
|
|
160
|
+
html2haml (2.2.0)
|
|
161
|
+
erubis (~> 2.7.0)
|
|
162
|
+
haml (>= 4.0, < 6)
|
|
163
|
+
nokogiri (>= 1.6.0)
|
|
164
|
+
ruby_parser (~> 3.5)
|
|
165
|
+
i18n (1.10.0)
|
|
166
|
+
concurrent-ruby (~> 1.0)
|
|
167
|
+
io-wait (0.2.1)
|
|
168
|
+
launchy (2.5.0)
|
|
169
|
+
addressable (~> 2.7)
|
|
170
|
+
loofah (2.15.0)
|
|
171
|
+
crass (~> 1.0.2)
|
|
172
|
+
nokogiri (>= 1.5.9)
|
|
173
|
+
mail (2.7.1)
|
|
174
|
+
mini_mime (>= 0.1.1)
|
|
175
|
+
marcel (1.0.2)
|
|
176
|
+
matrix (0.4.2)
|
|
177
|
+
method_source (1.0.0)
|
|
178
|
+
mime-types (3.4.1)
|
|
179
|
+
mime-types-data (~> 3.2015)
|
|
180
|
+
mime-types-data (3.2022.0105)
|
|
181
|
+
mini_mime (1.1.2)
|
|
182
|
+
minitest (5.15.0)
|
|
183
|
+
multi_test (0.1.2)
|
|
184
|
+
net-imap (0.2.3)
|
|
185
|
+
digest
|
|
186
|
+
net-protocol
|
|
187
|
+
strscan
|
|
188
|
+
net-pop (0.1.1)
|
|
189
|
+
digest
|
|
190
|
+
net-protocol
|
|
191
|
+
timeout
|
|
192
|
+
net-protocol (0.1.2)
|
|
193
|
+
io-wait
|
|
194
|
+
timeout
|
|
195
|
+
net-smtp (0.3.1)
|
|
196
|
+
digest
|
|
197
|
+
net-protocol
|
|
198
|
+
timeout
|
|
199
|
+
nio4r (2.5.8)
|
|
200
|
+
nokogiri (1.13.3-x86_64-linux)
|
|
201
|
+
racc (~> 1.4)
|
|
202
|
+
pry (0.14.0)
|
|
203
|
+
coderay (~> 1.1)
|
|
204
|
+
method_source (~> 1.0)
|
|
205
|
+
public_suffix (4.0.6)
|
|
206
|
+
racc (1.6.0)
|
|
207
|
+
rack (2.2.3)
|
|
208
|
+
rack-test (1.1.0)
|
|
209
|
+
rack (>= 1.0, < 3)
|
|
210
|
+
rails (7.0.2.3)
|
|
211
|
+
actioncable (= 7.0.2.3)
|
|
212
|
+
actionmailbox (= 7.0.2.3)
|
|
213
|
+
actionmailer (= 7.0.2.3)
|
|
214
|
+
actionpack (= 7.0.2.3)
|
|
215
|
+
actiontext (= 7.0.2.3)
|
|
216
|
+
actionview (= 7.0.2.3)
|
|
217
|
+
activejob (= 7.0.2.3)
|
|
218
|
+
activemodel (= 7.0.2.3)
|
|
219
|
+
activerecord (= 7.0.2.3)
|
|
220
|
+
activestorage (= 7.0.2.3)
|
|
221
|
+
activesupport (= 7.0.2.3)
|
|
222
|
+
bundler (>= 1.15.0)
|
|
223
|
+
railties (= 7.0.2.3)
|
|
224
|
+
rails-dom-testing (2.0.3)
|
|
225
|
+
activesupport (>= 4.2.0)
|
|
226
|
+
nokogiri (>= 1.6)
|
|
227
|
+
rails-html-sanitizer (1.4.2)
|
|
228
|
+
loofah (~> 2.3)
|
|
229
|
+
railties (7.0.2.3)
|
|
230
|
+
actionpack (= 7.0.2.3)
|
|
231
|
+
activesupport (= 7.0.2.3)
|
|
232
|
+
method_source
|
|
233
|
+
rake (>= 12.2)
|
|
234
|
+
thor (~> 1.0)
|
|
235
|
+
zeitwerk (~> 2.5)
|
|
236
|
+
rake (13.0.6)
|
|
237
|
+
regexp_parser (2.2.1)
|
|
238
|
+
rexml (3.2.4)
|
|
239
|
+
rspec (3.10.0)
|
|
240
|
+
rspec-core (~> 3.10.0)
|
|
241
|
+
rspec-expectations (~> 3.10.0)
|
|
242
|
+
rspec-mocks (~> 3.10.0)
|
|
243
|
+
rspec-core (3.10.1)
|
|
244
|
+
rspec-support (~> 3.10.0)
|
|
245
|
+
rspec-expectations (3.10.1)
|
|
246
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
247
|
+
rspec-support (~> 3.10.0)
|
|
248
|
+
rspec-mocks (3.10.2)
|
|
249
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
250
|
+
rspec-support (~> 3.10.0)
|
|
251
|
+
rspec-rails (5.0.1)
|
|
252
|
+
actionpack (>= 5.2)
|
|
253
|
+
activesupport (>= 5.2)
|
|
254
|
+
railties (>= 5.2)
|
|
255
|
+
rspec-core (~> 3.10)
|
|
256
|
+
rspec-expectations (~> 3.10)
|
|
257
|
+
rspec-mocks (~> 3.10)
|
|
258
|
+
rspec-support (~> 3.10)
|
|
259
|
+
rspec-support (3.10.2)
|
|
260
|
+
ruby_parser (3.15.1)
|
|
261
|
+
sexp_processor (~> 4.9)
|
|
262
|
+
rubyzip (2.3.0)
|
|
263
|
+
selenium-webdriver (3.142.7)
|
|
264
|
+
childprocess (>= 0.5, < 4.0)
|
|
265
|
+
rubyzip (>= 1.2.2)
|
|
266
|
+
sexp_processor (4.15.2)
|
|
267
|
+
sqlite3 (1.4.2)
|
|
268
|
+
strscan (3.0.1)
|
|
269
|
+
sys-uname (1.2.2)
|
|
270
|
+
ffi (~> 1.1)
|
|
271
|
+
temple (0.8.2)
|
|
272
|
+
thor (1.2.1)
|
|
273
|
+
tilt (2.0.10)
|
|
274
|
+
timeout (0.2.0)
|
|
275
|
+
tzinfo (2.0.4)
|
|
276
|
+
concurrent-ruby (~> 1.0)
|
|
277
|
+
webrick (1.7.0)
|
|
278
|
+
websocket-driver (0.7.5)
|
|
279
|
+
websocket-extensions (>= 0.1.0)
|
|
280
|
+
websocket-extensions (0.1.5)
|
|
281
|
+
xpath (3.2.0)
|
|
282
|
+
nokogiri (~> 1.8)
|
|
283
|
+
zeitwerk (2.5.4)
|
|
284
|
+
|
|
285
|
+
PLATFORMS
|
|
286
|
+
x86_64-linux
|
|
287
|
+
|
|
288
|
+
DEPENDENCIES
|
|
289
|
+
byebug
|
|
290
|
+
capybara (~> 3)
|
|
291
|
+
capybara-screenshot
|
|
292
|
+
cucumber
|
|
293
|
+
cucumber-rails
|
|
294
|
+
database_cleaner
|
|
295
|
+
gemika
|
|
296
|
+
haml-rails
|
|
297
|
+
pry
|
|
298
|
+
rails (~> 7)
|
|
299
|
+
rexml
|
|
300
|
+
rspec-rails
|
|
301
|
+
selenium-webdriver
|
|
302
|
+
spreewald!
|
|
303
|
+
sqlite3
|
|
304
|
+
webrick
|
|
305
|
+
|
|
306
|
+
RUBY VERSION
|
|
307
|
+
ruby 3.0.0p0
|
|
308
|
+
|
|
309
|
+
BUNDLED WITH
|
|
310
|
+
2.2.24
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -22,7 +22,7 @@ Bundler.require(*Rails.groups)
|
|
|
22
22
|
module Rails6Capybara3
|
|
23
23
|
class Application < Rails::Application
|
|
24
24
|
# Initialize configuration defaults for originally generated Rails version.
|
|
25
|
-
config.load_defaults
|
|
25
|
+
config.load_defaults 7.0
|
|
26
26
|
|
|
27
27
|
# Settings in config/environments/* take precedence over those specified here.
|
|
28
28
|
# Application configuration can go into files in config/initializers
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/backtrace_silencers.rb
RENAMED
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/content_security_policy.rb
RENAMED
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/cookies_serializer.rb
RENAMED
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/filter_parameter_logging.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/config/initializers/permissions_policy.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/field_error_steps.rb
RENAMED
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/overriding_steps.rb
RENAMED
|
File without changes
|
data/tests/{rails-6_capybara-3 → rails-7_capybara-3}/features/step_definitions/test_steps.rb
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|