spreewald 4.1.2 → 4.3.3
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 +0 -5
- data/CHANGELOG.md +17 -0
- data/Gemfile.lock +3 -3
- data/Gemfile.ruby266.lock +59 -42
- data/Gemfile.ruby300.lock +37 -53
- data/README.md +10 -19
- data/Rakefile +5 -11
- data/examples/paths.rb +7 -0
- data/features/binary.feature +12 -8
- data/lib/spreewald/email_steps.rb +4 -18
- data/lib/spreewald/web_steps.rb +53 -50
- data/lib/spreewald.rb +1 -0
- data/lib/spreewald_support/field_errors.rb +56 -0
- data/lib/spreewald_support/version.rb +1 -1
- data/lib/steps/follow_the_link.rb +63 -0
- data/lib/steps/show_me_the_mails.rb +20 -0
- data/spec/steps/follow_the_link_spec.rb +81 -0
- data/spec/steps/show_me_the_mails_spec.rb +96 -0
- data/support/step_definition.rb +11 -0
- data/support/step_manager.rb +1 -1
- data/tests/rails-6_capybara-3/Gemfile.lock +1 -1
- data/tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb +12 -0
- data/tests/shared/app/controllers/forms_controller.rb +11 -2
- data/tests/shared/app/controllers/static_pages_controller.rb +3 -0
- data/tests/shared/app/views/forms/invalid_bootstrap3_form.html.haml +16 -0
- data/tests/shared/app/views/forms/invalid_bootstrap4_form.html.haml +18 -0
- data/tests/shared/app/views/forms/invalid_custom_form.html.haml +19 -0
- data/tests/shared/app/views/forms/{invalid_form.html.haml → invalid_rails_form.html.haml} +0 -0
- data/tests/shared/app/views/static_pages/should_see.haml +7 -0
- data/tests/shared/config/routes.rb +5 -1
- data/tests/shared/features/shared/iframe_steps.feature +1 -2
- data/tests/shared/features/shared/web_steps.feature +72 -15
- metadata +19 -112
- data/Gemfile.ruby245 +0 -10
- data/Gemfile.ruby245.lock +0 -73
- data/tests/rails-4_capybara-2/Gemfile +0 -24
- data/tests/rails-4_capybara-2/Gemfile.lock +0 -230
- data/tests/rails-4_capybara-2/README.rdoc +0 -28
- data/tests/rails-4_capybara-2/Rakefile +0 -6
- data/tests/rails-4_capybara-2/app +0 -1
- data/tests/rails-4_capybara-2/bin/bundle +0 -3
- data/tests/rails-4_capybara-2/bin/rails +0 -4
- data/tests/rails-4_capybara-2/bin/rake +0 -4
- data/tests/rails-4_capybara-2/bin/setup +0 -29
- data/tests/rails-4_capybara-2/config/application.rb +0 -35
- data/tests/rails-4_capybara-2/config/boot.rb +0 -3
- data/tests/rails-4_capybara-2/config/cucumber.yml +0 -8
- data/tests/rails-4_capybara-2/config/database.yml +0 -18
- data/tests/rails-4_capybara-2/config/environment.rb +0 -5
- data/tests/rails-4_capybara-2/config/environments/development.rb +0 -28
- data/tests/rails-4_capybara-2/config/environments/test.rb +0 -42
- data/tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb +0 -7
- data/tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb +0 -3
- data/tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb +0 -4
- data/tests/rails-4_capybara-2/config/initializers/inflections.rb +0 -16
- data/tests/rails-4_capybara-2/config/initializers/mime_types.rb +0 -4
- data/tests/rails-4_capybara-2/config/initializers/session_store.rb +0 -3
- data/tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb +0 -11
- data/tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb +0 -10
- data/tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb +0 -14
- data/tests/rails-4_capybara-2/config/locales/en.yml +0 -23
- data/tests/rails-4_capybara-2/config/routes.rb +0 -1
- data/tests/rails-4_capybara-2/config/secrets.yml +0 -22
- data/tests/rails-4_capybara-2/config.ru +0 -4
- data/tests/rails-4_capybara-2/db +0 -1
- data/tests/rails-4_capybara-2/features/browser_tab_steps.feature +0 -1
- data/tests/rails-4_capybara-2/features/development_steps.feature +0 -1
- data/tests/rails-4_capybara-2/features/email_steps.feature +0 -1
- data/tests/rails-4_capybara-2/features/iframe_steps.feature +0 -1
- data/tests/rails-4_capybara-2/features/overriding.feature +0 -1
- data/tests/rails-4_capybara-2/features/session_steps.feature +0 -1
- data/tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb +0 -1
- data/tests/rails-4_capybara-2/features/step_definitions/test_steps.rb +0 -1
- data/tests/rails-4_capybara-2/features/support/env.rb +0 -66
- data/tests/rails-4_capybara-2/features/support/paths.rb +0 -1
- data/tests/rails-4_capybara-2/features/support/selectors.rb +0 -1
- data/tests/rails-4_capybara-2/features/support/selenium.rb +0 -1
- data/tests/rails-4_capybara-2/features/table_steps.feature +0 -1
- data/tests/rails-4_capybara-2/features/time_steps.feature +0 -1
- data/tests/rails-4_capybara-2/features/web_steps.feature +0 -1
- data/tests/rails-4_capybara-2/lib/tasks/cucumber.rake +0 -65
- data/tests/rails-4_capybara-2/log/.keep +0 -0
- data/tests/rails-4_capybara-2/public/404.html +0 -67
- data/tests/rails-4_capybara-2/public/422.html +0 -67
- data/tests/rails-4_capybara-2/public/500.html +0 -66
- data/tests/rails-4_capybara-2/public/favicon.ico +0 -0
- data/tests/rails-4_capybara-2/public/fixture_files +0 -1
- data/tests/rails-4_capybara-2/script/cucumber +0 -10
@@ -23,7 +23,10 @@ Rails.application.routes.draw do
|
|
23
23
|
get '/forms/form1', to: 'forms#form1'
|
24
24
|
get '/forms/form2', to: 'forms#form2'
|
25
25
|
get '/forms/select_fields', to: 'forms#select_fields'
|
26
|
-
get '/forms/
|
26
|
+
get '/forms/invalid_rails_form', to: 'forms#invalid_rails_form'
|
27
|
+
get '/forms/invalid_bootstrap3_form', to: 'forms#invalid_bootstrap3_form'
|
28
|
+
get '/forms/invalid_bootstrap4_form', to: 'forms#invalid_bootstrap4_form'
|
29
|
+
get '/forms/invalid_custom_form', to: 'forms#invalid_custom_form'
|
27
30
|
|
28
31
|
get '/iframes/iframe_1_content', to: 'iframes#iframe_1_content'
|
29
32
|
get '/iframes/iframe_2_content', to: 'iframes#iframe_2_content'
|
@@ -41,6 +44,7 @@ Rails.application.routes.draw do
|
|
41
44
|
get '/static_pages/session_1', to: 'static_pages#session_1'
|
42
45
|
get '/static_pages/session_2', to: 'static_pages#session_2'
|
43
46
|
get '/static_pages/session_3', to: 'static_pages#session_3'
|
47
|
+
get '/static_pages/should_see', to: 'static_pages#should_see'
|
44
48
|
get '/static_pages/tab_1', to: 'static_pages#tab_1'
|
45
49
|
get '/static_pages/tab_2', to: 'static_pages#tab_2'
|
46
50
|
get '/static_pages/tab_3', to: 'static_pages#tab_3'
|
@@ -1,7 +1,6 @@
|
|
1
1
|
@javascript
|
2
2
|
Feature: iframe Steps
|
3
3
|
|
4
|
-
@not-capybara-2
|
5
4
|
Scenario: Switch between iframes
|
6
5
|
Given I go to "/static_pages/iframe"
|
7
6
|
Then I should not see "Kiwi"
|
@@ -35,4 +34,4 @@ Feature: iframe Steps
|
|
35
34
|
And I should see a table with the following rows inside the 2nd iframe:
|
36
35
|
| Color | Fruit |
|
37
36
|
| Red | Cherry |
|
38
|
-
But I should not see "Content on main page" inside the 1st iframe
|
37
|
+
But I should not see "Content on main page" inside the 1st iframe
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Feature: Web steps
|
2
2
|
|
3
|
-
Scenario: /^the "([^"]*)" field should
|
3
|
+
Scenario: /^the "([^"]*)" field should( not)? contain "([^"]*)"$/
|
4
4
|
When I go to "/forms/form1"
|
5
5
|
Then the "Text control" field should contain "Text control value"
|
6
6
|
Then the "Text control" field should not contain "false text"
|
@@ -11,7 +11,7 @@ Feature: Web steps
|
|
11
11
|
Then the "Empty control" field should contain ""
|
12
12
|
|
13
13
|
|
14
|
-
Scenario: /^the "([^"]*)" field should
|
14
|
+
Scenario: /^the "([^"]*)" field should( not)? contain:/
|
15
15
|
When I go to "/forms/form2"
|
16
16
|
Then the "Text control" field should contain:
|
17
17
|
"""
|
@@ -31,20 +31,57 @@ Feature: Web steps
|
|
31
31
|
"""
|
32
32
|
"""
|
33
33
|
|
34
|
-
|
34
|
+
@javascript @field_errors
|
35
35
|
Scenario: /^the "([^\"]*)" field should( not)? have an error$/
|
36
|
-
When I go to "/forms/
|
36
|
+
When I go to "/forms/invalid_rails_form"
|
37
|
+
Then the "A" field should have an error
|
38
|
+
Then the "B" field should have an error
|
39
|
+
Then the "Disabled" field should have an error
|
40
|
+
Then the "C" field should not have an error
|
41
|
+
|
42
|
+
When I go to "/forms/invalid_bootstrap3_form"
|
37
43
|
Then the "A" field should have an error
|
38
44
|
Then the "B" field should have an error
|
39
45
|
Then the "Disabled" field should have an error
|
40
46
|
Then the "C" field should not have an error
|
41
47
|
|
48
|
+
When I go to "/forms/invalid_bootstrap4_form"
|
49
|
+
Then the "A" field should have an error
|
50
|
+
Then the "B" field should have an error
|
51
|
+
Then the "Disabled" field should have an error
|
52
|
+
Then the "C" field should not have an error
|
53
|
+
|
54
|
+
When I set the custom field error class to "my-error"
|
55
|
+
And I go to "/forms/invalid_custom_form"
|
56
|
+
Then the "A" field should have an error
|
57
|
+
Then the "B" field should have an error
|
58
|
+
Then the "Disabled" field should have an error
|
59
|
+
Then the "C" field should not have an error
|
60
|
+
|
61
|
+
|
62
|
+
@javascript @field_errors
|
42
63
|
Scenario: /^the "([^"]*)" field should have the error "([^"]*)"$/
|
43
|
-
When I go to "/forms/
|
64
|
+
When I go to "/forms/invalid_rails_form"
|
44
65
|
Then the "A" field should have the error "is invalid"
|
45
66
|
Then the "B" field should have the error "is invalid"
|
46
67
|
Then the "Disabled" field should have the error "is invalid"
|
47
68
|
|
69
|
+
When I go to "/forms/invalid_bootstrap3_form"
|
70
|
+
Then the "A" field should have the error "is invalid"
|
71
|
+
Then the "B" field should have the error "is invalid"
|
72
|
+
Then the "Disabled" field should have the error "is invalid"
|
73
|
+
|
74
|
+
When I go to "/forms/invalid_bootstrap4_form"
|
75
|
+
Then the "A" field should have the error "is invalid"
|
76
|
+
Then the "B" field should have the error "is invalid"
|
77
|
+
Then the "Disabled" field should have the error "is invalid"
|
78
|
+
|
79
|
+
When I set the custom field error class to "my-error"
|
80
|
+
And I set the custom error message xpath to "parent::*/child::*[contains(@class, "my-error-description")]"
|
81
|
+
And I go to "/forms/invalid_custom_form"
|
82
|
+
Then the "A" field should have the error "is invalid"
|
83
|
+
Then the "B" field should have the error "is invalid"
|
84
|
+
Then the "Disabled" field should have the error "is invalid"
|
48
85
|
|
49
86
|
Scenario: /^I should see a form with the following values:$/
|
50
87
|
When I go to "/forms/form1"
|
@@ -200,7 +237,7 @@ Feature: Web steps
|
|
200
237
|
And "div with style: display: none" should be hidden within ".container"
|
201
238
|
|
202
239
|
|
203
|
-
Scenario: /^I should
|
240
|
+
Scenario: /^I should( not)? see (?:an|the) element "([^"]+)"$/
|
204
241
|
When I go to "/static_pages/see_element"
|
205
242
|
Then I should see an element ".panel"
|
206
243
|
And I should see the element ".panel"
|
@@ -210,7 +247,7 @@ Feature: Web steps
|
|
210
247
|
But I should not see the element ".timeline"
|
211
248
|
|
212
249
|
|
213
|
-
Scenario: /^I should
|
250
|
+
Scenario: /^I should( not)? see (?:an|the) element for (.*?)$/
|
214
251
|
When I go to "/static_pages/see_element"
|
215
252
|
Then I should see an element for a panel
|
216
253
|
And I should see the element for a panel
|
@@ -220,7 +257,26 @@ Feature: Web steps
|
|
220
257
|
And I should not see the element for the timeline
|
221
258
|
|
222
259
|
|
223
|
-
Scenario: /^((?:|I )should see "([^"]*)"
|
260
|
+
Scenario: /^((?:|I )should( not)? see "([^"]*)"$/
|
261
|
+
When I go to "/static_pages/should_see"
|
262
|
+
Then I should see "Normal text"
|
263
|
+
But I should not see "Some special text"
|
264
|
+
|
265
|
+
|
266
|
+
Scenario: /^((?:|I )should( not)? see '([^']*)'$/
|
267
|
+
When I go to "/static_pages/should_see"
|
268
|
+
Then I should see 'Some text with "quotes"'
|
269
|
+
But I should not see 'Some special text with "quotes"'
|
270
|
+
|
271
|
+
|
272
|
+
Scenario: /^I should( not)? see "([^\"]*)" in the HTML$/
|
273
|
+
When I go to "/static_pages/should_see"
|
274
|
+
Then I should see "Some text in the <b>HTML</b>" in the HTML
|
275
|
+
And I should see "Some text in the HTML"
|
276
|
+
But I should not see "Some text in the <strong>HTML</strong>" in the HTML
|
277
|
+
|
278
|
+
|
279
|
+
Scenario: /^((?:|I )should( not)? see "([^"]*)" within (.*[^:])$/
|
224
280
|
When I go to "/static_pages/within"
|
225
281
|
Then I should see "Role" within ".table"
|
226
282
|
And I should see "Permissions" within a table
|
@@ -232,7 +288,8 @@ Feature: Web steps
|
|
232
288
|
And I should not see "Outside Table" within a table
|
233
289
|
But I should see "Outside Table"
|
234
290
|
|
235
|
-
|
291
|
+
|
292
|
+
Scenario: /^(?:|I )should( not)? see \/([^\/]*)\/$/
|
236
293
|
When I go to "/static_pages/within"
|
237
294
|
Then I should see /Shared Text/
|
238
295
|
And I should see /Unique Text/
|
@@ -241,13 +298,8 @@ Feature: Web steps
|
|
241
298
|
But I should not see /Nonsense/
|
242
299
|
And I should not see /http://other-domain.com/
|
243
300
|
|
244
|
-
# making sure it works with a within scope correctly when the same element is available outside
|
245
|
-
Then I should not see /Outside Table/ within ".table"
|
246
|
-
And I should not see /Outside Table/ within a table
|
247
|
-
But I should see /Outside Table/
|
248
|
-
|
249
301
|
|
250
|
-
Scenario: /^(?:|I )should see \/([^\/]*)\/ within (.*[^:])$/
|
302
|
+
Scenario: /^(?:|I )should( not)? see \/([^\/]*)\/ within (.*[^:])$/
|
251
303
|
When I go to "/static_pages/within"
|
252
304
|
Then I should see /Shared Text/ within ".scoped-element"
|
253
305
|
And I should see /Shared Text/ within ".unrelated-element"
|
@@ -257,6 +309,11 @@ Feature: Web steps
|
|
257
309
|
But I should not see /Unique Text/ within ".unrelated-element"
|
258
310
|
And I should not see /http://other-domain.com/ within ".unrelated-element"
|
259
311
|
|
312
|
+
# making sure it works with a within scope correctly when the same element is available outside
|
313
|
+
Then I should not see /Outside Table/ within ".table"
|
314
|
+
And I should not see /Outside Table/ within a table
|
315
|
+
But I should see /Outside Table/
|
316
|
+
|
260
317
|
|
261
318
|
Scenario: /^(.*) within (.*[^:])$/ with a Capybara::Node::Element
|
262
319
|
When I go to "/static_pages/within"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreewald
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Kraze
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cucumber
|
@@ -138,8 +138,6 @@ files:
|
|
138
138
|
- CHANGELOG.md
|
139
139
|
- Gemfile
|
140
140
|
- Gemfile.lock
|
141
|
-
- Gemfile.ruby245
|
142
|
-
- Gemfile.ruby245.lock
|
143
141
|
- Gemfile.ruby266
|
144
142
|
- Gemfile.ruby266.lock
|
145
143
|
- Gemfile.ruby300
|
@@ -167,6 +165,7 @@ files:
|
|
167
165
|
- lib/spreewald_support/compatibility.rb
|
168
166
|
- lib/spreewald_support/custom_matchers.rb
|
169
167
|
- lib/spreewald_support/driver_info.rb
|
168
|
+
- lib/spreewald_support/field_errors.rb
|
170
169
|
- lib/spreewald_support/github.rb
|
171
170
|
- lib/spreewald_support/mail_finder.rb
|
172
171
|
- lib/spreewald_support/mail_to_plaintext_converter.rb
|
@@ -176,10 +175,14 @@ files:
|
|
176
175
|
- lib/spreewald_support/unsupported_email_header.rb
|
177
176
|
- lib/spreewald_support/version.rb
|
178
177
|
- lib/spreewald_support/web_steps_helpers.rb
|
178
|
+
- lib/steps/follow_the_link.rb
|
179
|
+
- lib/steps/show_me_the_mails.rb
|
179
180
|
- spec/spec_helper.rb
|
180
181
|
- spec/spreewald_support/comparision_spec.rb
|
181
182
|
- spec/spreewald_support/mail_to_plaintext_converter_spec.rb
|
182
183
|
- spec/spreewald_support/tolerance_for_selenium_sync_issues_spec.rb
|
184
|
+
- spec/steps/follow_the_link_spec.rb
|
185
|
+
- spec/steps/show_me_the_mails_spec.rb
|
183
186
|
- spec/support/world.rb
|
184
187
|
- spreewald.gemspec
|
185
188
|
- support/parser.rb
|
@@ -187,59 +190,6 @@ files:
|
|
187
190
|
- support/step_definition.rb
|
188
191
|
- support/step_definition_file.rb
|
189
192
|
- support/step_manager.rb
|
190
|
-
- tests/rails-4_capybara-2/Gemfile
|
191
|
-
- tests/rails-4_capybara-2/Gemfile.lock
|
192
|
-
- tests/rails-4_capybara-2/README.rdoc
|
193
|
-
- tests/rails-4_capybara-2/Rakefile
|
194
|
-
- tests/rails-4_capybara-2/app
|
195
|
-
- tests/rails-4_capybara-2/bin/bundle
|
196
|
-
- tests/rails-4_capybara-2/bin/rails
|
197
|
-
- tests/rails-4_capybara-2/bin/rake
|
198
|
-
- tests/rails-4_capybara-2/bin/setup
|
199
|
-
- tests/rails-4_capybara-2/config.ru
|
200
|
-
- tests/rails-4_capybara-2/config/application.rb
|
201
|
-
- tests/rails-4_capybara-2/config/boot.rb
|
202
|
-
- tests/rails-4_capybara-2/config/cucumber.yml
|
203
|
-
- tests/rails-4_capybara-2/config/database.yml
|
204
|
-
- tests/rails-4_capybara-2/config/environment.rb
|
205
|
-
- tests/rails-4_capybara-2/config/environments/development.rb
|
206
|
-
- tests/rails-4_capybara-2/config/environments/test.rb
|
207
|
-
- tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb
|
208
|
-
- tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb
|
209
|
-
- tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb
|
210
|
-
- tests/rails-4_capybara-2/config/initializers/inflections.rb
|
211
|
-
- tests/rails-4_capybara-2/config/initializers/mime_types.rb
|
212
|
-
- tests/rails-4_capybara-2/config/initializers/session_store.rb
|
213
|
-
- tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb
|
214
|
-
- tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb
|
215
|
-
- tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb
|
216
|
-
- tests/rails-4_capybara-2/config/locales/en.yml
|
217
|
-
- tests/rails-4_capybara-2/config/routes.rb
|
218
|
-
- tests/rails-4_capybara-2/config/secrets.yml
|
219
|
-
- tests/rails-4_capybara-2/db
|
220
|
-
- tests/rails-4_capybara-2/features/browser_tab_steps.feature
|
221
|
-
- tests/rails-4_capybara-2/features/development_steps.feature
|
222
|
-
- tests/rails-4_capybara-2/features/email_steps.feature
|
223
|
-
- tests/rails-4_capybara-2/features/iframe_steps.feature
|
224
|
-
- tests/rails-4_capybara-2/features/overriding.feature
|
225
|
-
- tests/rails-4_capybara-2/features/session_steps.feature
|
226
|
-
- tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb
|
227
|
-
- tests/rails-4_capybara-2/features/step_definitions/test_steps.rb
|
228
|
-
- tests/rails-4_capybara-2/features/support/env.rb
|
229
|
-
- tests/rails-4_capybara-2/features/support/paths.rb
|
230
|
-
- tests/rails-4_capybara-2/features/support/selectors.rb
|
231
|
-
- tests/rails-4_capybara-2/features/support/selenium.rb
|
232
|
-
- tests/rails-4_capybara-2/features/table_steps.feature
|
233
|
-
- tests/rails-4_capybara-2/features/time_steps.feature
|
234
|
-
- tests/rails-4_capybara-2/features/web_steps.feature
|
235
|
-
- tests/rails-4_capybara-2/lib/tasks/cucumber.rake
|
236
|
-
- tests/rails-4_capybara-2/log/.keep
|
237
|
-
- tests/rails-4_capybara-2/public/404.html
|
238
|
-
- tests/rails-4_capybara-2/public/422.html
|
239
|
-
- tests/rails-4_capybara-2/public/500.html
|
240
|
-
- tests/rails-4_capybara-2/public/favicon.ico
|
241
|
-
- tests/rails-4_capybara-2/public/fixture_files
|
242
|
-
- tests/rails-4_capybara-2/script/cucumber
|
243
193
|
- tests/rails-6_capybara-3/.ruby-version
|
244
194
|
- tests/rails-6_capybara-3/Gemfile
|
245
195
|
- tests/rails-6_capybara-3/Gemfile.lock
|
@@ -282,6 +232,7 @@ files:
|
|
282
232
|
- tests/rails-6_capybara-3/features/overriding.feature
|
283
233
|
- tests/rails-6_capybara-3/features/session_steps.feature
|
284
234
|
- tests/rails-6_capybara-3/features/step_definitions/.gitkeep
|
235
|
+
- tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb
|
285
236
|
- tests/rails-6_capybara-3/features/step_definitions/overriding_steps.rb
|
286
237
|
- tests/rails-6_capybara-3/features/step_definitions/test_steps.rb
|
287
238
|
- tests/rails-6_capybara-3/features/support/env.rb
|
@@ -313,7 +264,10 @@ files:
|
|
313
264
|
- tests/shared/app/views/forms/disabled_elements.html.haml
|
314
265
|
- tests/shared/app/views/forms/form1.html.haml
|
315
266
|
- tests/shared/app/views/forms/form2.html.haml
|
316
|
-
- tests/shared/app/views/forms/
|
267
|
+
- tests/shared/app/views/forms/invalid_bootstrap3_form.html.haml
|
268
|
+
- tests/shared/app/views/forms/invalid_bootstrap4_form.html.haml
|
269
|
+
- tests/shared/app/views/forms/invalid_custom_form.html.haml
|
270
|
+
- tests/shared/app/views/forms/invalid_rails_form.html.haml
|
317
271
|
- tests/shared/app/views/forms/select_fields.html.haml
|
318
272
|
- tests/shared/app/views/iframes/iframe_1_content.haml
|
319
273
|
- tests/shared/app/views/iframes/iframe_2_content.haml
|
@@ -344,6 +298,7 @@ files:
|
|
344
298
|
- tests/shared/app/views/static_pages/session_1.haml
|
345
299
|
- tests/shared/app/views/static_pages/session_2.haml
|
346
300
|
- tests/shared/app/views/static_pages/session_3.haml
|
301
|
+
- tests/shared/app/views/static_pages/should_see.haml
|
347
302
|
- tests/shared/app/views/static_pages/tab_1.haml
|
348
303
|
- tests/shared/app/views/static_pages/tab_2.haml
|
349
304
|
- tests/shared/app/views/static_pages/tab_3.haml
|
@@ -400,59 +355,6 @@ signing_key:
|
|
400
355
|
specification_version: 4
|
401
356
|
summary: Collection of useful cucumber steps.
|
402
357
|
test_files:
|
403
|
-
- tests/rails-4_capybara-2/Gemfile
|
404
|
-
- tests/rails-4_capybara-2/Gemfile.lock
|
405
|
-
- tests/rails-4_capybara-2/README.rdoc
|
406
|
-
- tests/rails-4_capybara-2/Rakefile
|
407
|
-
- tests/rails-4_capybara-2/app
|
408
|
-
- tests/rails-4_capybara-2/bin/bundle
|
409
|
-
- tests/rails-4_capybara-2/bin/rails
|
410
|
-
- tests/rails-4_capybara-2/bin/rake
|
411
|
-
- tests/rails-4_capybara-2/bin/setup
|
412
|
-
- tests/rails-4_capybara-2/config.ru
|
413
|
-
- tests/rails-4_capybara-2/config/application.rb
|
414
|
-
- tests/rails-4_capybara-2/config/boot.rb
|
415
|
-
- tests/rails-4_capybara-2/config/cucumber.yml
|
416
|
-
- tests/rails-4_capybara-2/config/database.yml
|
417
|
-
- tests/rails-4_capybara-2/config/environment.rb
|
418
|
-
- tests/rails-4_capybara-2/config/environments/development.rb
|
419
|
-
- tests/rails-4_capybara-2/config/environments/test.rb
|
420
|
-
- tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb
|
421
|
-
- tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb
|
422
|
-
- tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb
|
423
|
-
- tests/rails-4_capybara-2/config/initializers/inflections.rb
|
424
|
-
- tests/rails-4_capybara-2/config/initializers/mime_types.rb
|
425
|
-
- tests/rails-4_capybara-2/config/initializers/session_store.rb
|
426
|
-
- tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb
|
427
|
-
- tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb
|
428
|
-
- tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb
|
429
|
-
- tests/rails-4_capybara-2/config/locales/en.yml
|
430
|
-
- tests/rails-4_capybara-2/config/routes.rb
|
431
|
-
- tests/rails-4_capybara-2/config/secrets.yml
|
432
|
-
- tests/rails-4_capybara-2/db
|
433
|
-
- tests/rails-4_capybara-2/features/browser_tab_steps.feature
|
434
|
-
- tests/rails-4_capybara-2/features/development_steps.feature
|
435
|
-
- tests/rails-4_capybara-2/features/email_steps.feature
|
436
|
-
- tests/rails-4_capybara-2/features/iframe_steps.feature
|
437
|
-
- tests/rails-4_capybara-2/features/overriding.feature
|
438
|
-
- tests/rails-4_capybara-2/features/session_steps.feature
|
439
|
-
- tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb
|
440
|
-
- tests/rails-4_capybara-2/features/step_definitions/test_steps.rb
|
441
|
-
- tests/rails-4_capybara-2/features/support/env.rb
|
442
|
-
- tests/rails-4_capybara-2/features/support/paths.rb
|
443
|
-
- tests/rails-4_capybara-2/features/support/selectors.rb
|
444
|
-
- tests/rails-4_capybara-2/features/support/selenium.rb
|
445
|
-
- tests/rails-4_capybara-2/features/table_steps.feature
|
446
|
-
- tests/rails-4_capybara-2/features/time_steps.feature
|
447
|
-
- tests/rails-4_capybara-2/features/web_steps.feature
|
448
|
-
- tests/rails-4_capybara-2/lib/tasks/cucumber.rake
|
449
|
-
- tests/rails-4_capybara-2/log/.keep
|
450
|
-
- tests/rails-4_capybara-2/public/404.html
|
451
|
-
- tests/rails-4_capybara-2/public/422.html
|
452
|
-
- tests/rails-4_capybara-2/public/500.html
|
453
|
-
- tests/rails-4_capybara-2/public/favicon.ico
|
454
|
-
- tests/rails-4_capybara-2/public/fixture_files
|
455
|
-
- tests/rails-4_capybara-2/script/cucumber
|
456
358
|
- tests/rails-6_capybara-3/.ruby-version
|
457
359
|
- tests/rails-6_capybara-3/Gemfile
|
458
360
|
- tests/rails-6_capybara-3/Gemfile.lock
|
@@ -495,6 +397,7 @@ test_files:
|
|
495
397
|
- tests/rails-6_capybara-3/features/overriding.feature
|
496
398
|
- tests/rails-6_capybara-3/features/session_steps.feature
|
497
399
|
- tests/rails-6_capybara-3/features/step_definitions/.gitkeep
|
400
|
+
- tests/rails-6_capybara-3/features/step_definitions/field_error_steps.rb
|
498
401
|
- tests/rails-6_capybara-3/features/step_definitions/overriding_steps.rb
|
499
402
|
- tests/rails-6_capybara-3/features/step_definitions/test_steps.rb
|
500
403
|
- tests/rails-6_capybara-3/features/support/env.rb
|
@@ -526,7 +429,10 @@ test_files:
|
|
526
429
|
- tests/shared/app/views/forms/disabled_elements.html.haml
|
527
430
|
- tests/shared/app/views/forms/form1.html.haml
|
528
431
|
- tests/shared/app/views/forms/form2.html.haml
|
529
|
-
- tests/shared/app/views/forms/
|
432
|
+
- tests/shared/app/views/forms/invalid_bootstrap3_form.html.haml
|
433
|
+
- tests/shared/app/views/forms/invalid_bootstrap4_form.html.haml
|
434
|
+
- tests/shared/app/views/forms/invalid_custom_form.html.haml
|
435
|
+
- tests/shared/app/views/forms/invalid_rails_form.html.haml
|
530
436
|
- tests/shared/app/views/forms/select_fields.html.haml
|
531
437
|
- tests/shared/app/views/iframes/iframe_1_content.haml
|
532
438
|
- tests/shared/app/views/iframes/iframe_2_content.haml
|
@@ -557,6 +463,7 @@ test_files:
|
|
557
463
|
- tests/shared/app/views/static_pages/session_1.haml
|
558
464
|
- tests/shared/app/views/static_pages/session_2.haml
|
559
465
|
- tests/shared/app/views/static_pages/session_3.haml
|
466
|
+
- tests/shared/app/views/static_pages/should_see.haml
|
560
467
|
- tests/shared/app/views/static_pages/tab_1.haml
|
561
468
|
- tests/shared/app/views/static_pages/tab_2.haml
|
562
469
|
- tests/shared/app/views/static_pages/tab_3.haml
|
data/Gemfile.ruby245
DELETED
data/Gemfile.ruby245.lock
DELETED
@@ -1,73 +0,0 @@
|
|
1
|
-
GEM
|
2
|
-
remote: https://rubygems.org/
|
3
|
-
specs:
|
4
|
-
aruba (0.14.8)
|
5
|
-
childprocess (>= 0.6.3, < 1.1.0)
|
6
|
-
contracts (~> 0.9)
|
7
|
-
cucumber (>= 1.3.19)
|
8
|
-
ffi (~> 1.9)
|
9
|
-
rspec-expectations (>= 2.99)
|
10
|
-
thor (~> 0.19)
|
11
|
-
backports (3.12.0)
|
12
|
-
builder (3.2.3)
|
13
|
-
childprocess (1.0.1)
|
14
|
-
rake (< 13.0)
|
15
|
-
contracts (0.16.0)
|
16
|
-
cucumber (3.1.2)
|
17
|
-
builder (>= 2.1.2)
|
18
|
-
cucumber-core (~> 3.2.0)
|
19
|
-
cucumber-expressions (~> 6.0.1)
|
20
|
-
cucumber-wire (~> 0.0.1)
|
21
|
-
diff-lcs (~> 1.3)
|
22
|
-
gherkin (~> 5.1.0)
|
23
|
-
multi_json (>= 1.7.5, < 2.0)
|
24
|
-
multi_test (>= 0.1.2)
|
25
|
-
cucumber-core (3.2.1)
|
26
|
-
backports (>= 3.8.0)
|
27
|
-
cucumber-tag_expressions (~> 1.1.0)
|
28
|
-
gherkin (~> 5.0)
|
29
|
-
cucumber-expressions (6.0.1)
|
30
|
-
cucumber-tag_expressions (1.1.1)
|
31
|
-
cucumber-wire (0.0.1)
|
32
|
-
diff-lcs (1.3)
|
33
|
-
ffi (1.10.0)
|
34
|
-
gemika (0.5.0)
|
35
|
-
gherkin (5.1.0)
|
36
|
-
mail (2.7.1)
|
37
|
-
mini_mime (>= 0.1.1)
|
38
|
-
mini_mime (1.0.1)
|
39
|
-
mini_portile2 (2.4.0)
|
40
|
-
multi_json (1.13.1)
|
41
|
-
multi_test (0.1.2)
|
42
|
-
nokogiri (1.10.10)
|
43
|
-
mini_portile2 (~> 2.4.0)
|
44
|
-
rake (12.3.2)
|
45
|
-
rspec (3.8.0)
|
46
|
-
rspec-core (~> 3.8.0)
|
47
|
-
rspec-expectations (~> 3.8.0)
|
48
|
-
rspec-mocks (~> 3.8.0)
|
49
|
-
rspec-core (3.8.0)
|
50
|
-
rspec-support (~> 3.8.0)
|
51
|
-
rspec-expectations (3.8.2)
|
52
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
53
|
-
rspec-support (~> 3.8.0)
|
54
|
-
rspec-mocks (3.8.0)
|
55
|
-
diff-lcs (>= 1.2.0, < 2.0)
|
56
|
-
rspec-support (~> 3.8.0)
|
57
|
-
rspec-support (3.8.0)
|
58
|
-
thor (0.20.3)
|
59
|
-
|
60
|
-
PLATFORMS
|
61
|
-
ruby
|
62
|
-
|
63
|
-
DEPENDENCIES
|
64
|
-
aruba
|
65
|
-
cucumber
|
66
|
-
gemika
|
67
|
-
mail
|
68
|
-
nokogiri
|
69
|
-
rake
|
70
|
-
rspec
|
71
|
-
|
72
|
-
BUNDLED WITH
|
73
|
-
2.2.4
|
@@ -1,24 +0,0 @@
|
|
1
|
-
source 'https://rubygems.org'
|
2
|
-
|
3
|
-
|
4
|
-
gem 'rails', '<5'
|
5
|
-
gem 'sqlite3'
|
6
|
-
gem 'haml-rails'
|
7
|
-
gem 'gemika'
|
8
|
-
|
9
|
-
|
10
|
-
group :development, :test do
|
11
|
-
gem 'byebug'
|
12
|
-
gem 'pry'
|
13
|
-
end
|
14
|
-
|
15
|
-
group :test do
|
16
|
-
gem 'database_cleaner'
|
17
|
-
gem 'capybara', '<3'
|
18
|
-
gem 'capybara-screenshot'
|
19
|
-
gem 'cucumber-rails', require: false
|
20
|
-
gem 'cucumber'
|
21
|
-
gem 'selenium-webdriver'
|
22
|
-
gem 'rspec-rails'
|
23
|
-
gem 'spreewald', :path => '../..'
|
24
|
-
end
|