spreewald 4.3.4 → 4.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +7 -0
- data/README.md +20 -21
- data/lib/spreewald/web_steps.rb +8 -5
- data/lib/spreewald_support/version.rb +1 -1
- data/spreewald.gemspec +1 -0
- 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 +126 -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: 9629a83474d8c49dcdee707d4375c5870f2be6e62319298aa78daf4f7b094371
|
4
|
+
data.tar.gz: 2825ae8cf7120966658b4c95d87d817ff25502de599db659d5ba58bde0583704
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a809506ac52895e6977f0e04382a1f84c4f1c7e90bfbdb5d21621f704b38a88b3f3b01206f15bc4cf7329b189783aa814ff35a5b879ac95a59077c7663861441
|
7
|
+
data.tar.gz: dc3d04ba83808692024a9a6081c0246b35157aacc74368026d69a2fcfcf4d182b0fcbb609decc094541863ff809f6aec1177d32e3c41424719b686589cec01c8
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,13 @@ 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.3.6
|
7
|
+
- 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
|
+
- This will make CSS-Hacks like setting the opacity in tests obsolete
|
9
|
+
|
10
|
+
## 4.3.5
|
11
|
+
- Fix deprecation warning for using keyword arguments as last argument when running with ruby 2.7
|
12
|
+
|
6
13
|
## 4.3.4
|
7
14
|
- Fix "undefined method `build_rb_world_factory` for nil:NilClass" error when running tests on a real project'
|
8
15
|
- The field error class couldn't be required in certain circumstances and so the specs failed
|
data/README.md
CHANGED
@@ -4,6 +4,10 @@ Spreewald is a collection of useful steps for cucumber. Feel free to fork.
|
|
4
4
|
|
5
5
|
You can find a list of all contained steps at the end of this README.
|
6
6
|
|
7
|
+
## Supported versions
|
8
|
+
|
9
|
+
Spreewald is currently tested against and Ruby 2.6.6 and 3.0.0 with Rails 6 and Capybara 3.
|
10
|
+
|
7
11
|
## Installation
|
8
12
|
|
9
13
|
Add this line to your application's Gemfile:
|
@@ -12,18 +16,7 @@ Add this line to your application's Gemfile:
|
|
12
16
|
|
13
17
|
And then execute:
|
14
18
|
|
15
|
-
$ bundle
|
16
|
-
|
17
|
-
Or install it yourself as:
|
18
|
-
|
19
|
-
$ gem install spreewald
|
20
|
-
|
21
|
-
|
22
|
-
## Supported versions
|
23
|
-
|
24
|
-
Spreewald is currently tested against and Ruby 2.6.6 with Rails 6 and Capybara 3.
|
25
|
-
|
26
|
-
## Usage
|
19
|
+
$ bundle install
|
27
20
|
|
28
21
|
Require all Spreewald steps by putting
|
29
22
|
|
@@ -32,19 +25,28 @@ Require all Spreewald steps by putting
|
|
32
25
|
into either your `support/env.rb` or `step_definitions/spreewald_steps.rb`.
|
33
26
|
|
34
27
|
Steps are grouped into a number of categories. If you only want to use a subset
|
35
|
-
of Spreewald's steps,
|
36
|
-
single files like this:
|
28
|
+
of Spreewald's steps, insead of `require 'spreewald/all_steps'`, you can pick
|
29
|
+
and choose single categories by requiring [single files](https://github.com/makandra/spreewald/tree/master/lib/spreewald) like this:
|
37
30
|
|
38
31
|
require 'spreewald/email_steps'
|
39
32
|
require 'spreewald/web_steps'
|
40
33
|
|
41
|
-
|
34
|
+
After that you are good to go and use the steps [described below](#steps).
|
35
|
+
|
36
|
+
### Recommended additional setup
|
37
|
+
|
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
|
+
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
|
+
|
41
|
+
Similarly, you may define a `features/support/paths.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
|
+
|
43
|
+
We also suggest to look at our [recommended Capybara defaults](#recommended-capybara-defaults) as they impact the behavior of many Spreewald steps.
|
42
44
|
|
43
45
|
## Spreewald binary
|
44
46
|
|
45
47
|
Spreewald comes with a binary that prints a list of all Cucumber steps from
|
46
48
|
Spreewald _and your project_. It will filter the list by any string you
|
47
|
-
pass it. Example usage:
|
49
|
+
pass it. Example usage (e.g. on a linux shell in the root folder of the project which uses Spreewald):
|
48
50
|
|
49
51
|
```bash
|
50
52
|
spreewald # lists all steps
|
@@ -94,7 +96,7 @@ Capybara.default_normalize_ws = true
|
|
94
96
|
|
95
97
|
This will affect all Spreewald steps that are using Capybara's `:text` option.
|
96
98
|
|
97
|
-
Furthermore, we recommend setting [Capybara's matching strategy](https://github.com/teamcapybara/capybara/blob/master/README.md#strategy) to `:prefer_exact`. This will positively affect Spreewald steps as it prevents the `Capybara::Ambiguous` error in the edge case when two fields are matching the given name, but one of the matches includes the name only as a substring
|
99
|
+
Furthermore, we recommend setting [Capybara's matching strategy](https://github.com/teamcapybara/capybara/blob/master/README.md#strategy) to `:prefer_exact`. This will positively affect Spreewald steps as it prevents the `Capybara::Ambiguous` error in the edge case when two fields are matching the given name, but one of the matches includes the name only as a substring.
|
98
100
|
|
99
101
|
```ruby
|
100
102
|
Capybara.match = :prefer_exact
|
@@ -119,14 +121,11 @@ Spreewald has different kind of tests:
|
|
119
121
|
|
120
122
|
Run all tests for your current ruby version with `rake` or `rake matrix:tests`. To bundle use `rake matrix:install` first.
|
121
123
|
|
122
|
-
Please note that you need [geordi](https://github.com/makandra/geordi) to run the integration tests.
|
123
|
-
|
124
|
-
|
125
124
|
### If you would like to contribute:
|
126
125
|
|
127
126
|
- Fork the repository
|
128
127
|
- Push your changes with specs
|
129
|
-
- Make sure `rake` passes
|
128
|
+
- Make sure `rake matrix:tests` passes
|
130
129
|
- Regenerate the "Steps" section of this Readme with `rake update_readme`, if needed
|
131
130
|
- Make a pull request
|
132
131
|
|
data/lib/spreewald/web_steps.rb
CHANGED
@@ -160,8 +160,11 @@ end.overridable
|
|
160
160
|
|
161
161
|
# Attach a file to a file upload form field
|
162
162
|
When /^(?:|I )attach the file "([^"]*)" to "([^"]*)"$/ do |path, field|
|
163
|
+
options = {}
|
164
|
+
options[:make_visible] = true if javascript_capable?
|
165
|
+
|
163
166
|
patiently do
|
164
|
-
attach_file(field, File.expand_path(path))
|
167
|
+
attach_file(field, File.expand_path(path), options)
|
165
168
|
end
|
166
169
|
end.overridable
|
167
170
|
|
@@ -486,18 +489,18 @@ end.overridable
|
|
486
489
|
# Checks for the presence of an option in a select
|
487
490
|
Then /^"([^"]*)" should( not)? be an option for "([^"]*)"$/ do |value, negate, field|
|
488
491
|
finder_arguments = if Spreewald::Comparison.compare_versions(Capybara::VERSION, :<, "2.12")
|
489
|
-
|
492
|
+
{ text: value }
|
490
493
|
else
|
491
|
-
|
494
|
+
{ exact_text: value }
|
492
495
|
end
|
493
496
|
patiently do
|
494
497
|
if negate
|
495
498
|
begin
|
496
|
-
expect(find_with_disabled(:field, field)).to have_no_css(
|
499
|
+
expect(find_with_disabled(:field, field)).to have_no_css('option', **finder_arguments)
|
497
500
|
rescue Capybara::ElementNotFound
|
498
501
|
end
|
499
502
|
else
|
500
|
-
expect(find_with_disabled(:field, field)).to have_css(
|
503
|
+
expect(find_with_disabled(:field, field)).to have_css('option', **finder_arguments)
|
501
504
|
end
|
502
505
|
end
|
503
506
|
end.overridable
|
data/spreewald.gemspec
CHANGED
@@ -9,6 +9,7 @@ Gem::Specification.new do |gem|
|
|
9
9
|
gem.summary = %q{Collection of useful cucumber steps.}
|
10
10
|
gem.homepage = "https://github.com/makandra/spreewald"
|
11
11
|
gem.license = 'MIT'
|
12
|
+
gem.metadata = { 'rubygems_mfa_required' => 'true' }
|
12
13
|
|
13
14
|
gem.files = `git ls-files`.split($\)
|
14
15
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
File without changes
|
@@ -0,0 +1,310 @@
|
|
1
|
+
PATH
|
2
|
+
remote: ../..
|
3
|
+
specs:
|
4
|
+
spreewald (4.4.0)
|
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
|