spreewald 2.99.3 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (146) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +40 -0
  3. data/CHANGELOG.md +45 -4
  4. data/Gemfile +1 -1
  5. data/Gemfile.lock +2 -2
  6. data/Gemfile.ruby245 +3 -0
  7. data/Gemfile.ruby245.lock +10 -1
  8. data/Gemfile.ruby266 +3 -0
  9. data/Gemfile.ruby266.lock +12 -2
  10. data/README.md +40 -32
  11. data/Rakefile +34 -19
  12. data/features/binary.feature +2 -2
  13. data/features/support/step_definitions/custom_steps.rb +10 -0
  14. data/lib/spreewald.rb +1 -0
  15. data/lib/spreewald/development_steps.rb +1 -8
  16. data/lib/spreewald/email_steps.rb +3 -43
  17. data/lib/spreewald/frame_steps.rb +77 -0
  18. data/lib/spreewald/web_steps.rb +17 -61
  19. data/lib/spreewald_support/mail_finder.rb +12 -13
  20. data/lib/spreewald_support/mail_to_plaintext_converter.rb +42 -0
  21. data/lib/spreewald_support/unsupported_email_header.rb +22 -0
  22. data/lib/spreewald_support/version.rb +1 -1
  23. data/spec/spreewald_support/mail_to_plaintext_converter_spec.rb +60 -0
  24. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile +1 -1
  25. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile.lock +14 -16
  26. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/README.rdoc +0 -0
  27. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Rakefile +0 -0
  28. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/app +0 -0
  29. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/bundle +0 -0
  30. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rails +0 -0
  31. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rake +0 -0
  32. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/setup +0 -0
  33. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config.ru +0 -0
  34. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/application.rb +0 -0
  35. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/boot.rb +0 -0
  36. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/cucumber.yml +0 -0
  37. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/database.yml +0 -0
  38. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environment.rb +0 -0
  39. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/development.rb +0 -0
  40. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/test.rb +0 -0
  41. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/backtrace_silencers.rb +0 -0
  42. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/cookies_serializer.rb +0 -0
  43. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/filter_parameter_logging.rb +0 -0
  44. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/inflections.rb +0 -0
  45. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/mime_types.rb +0 -0
  46. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/session_store.rb +0 -0
  47. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/silence_deprecation_warnings.rb +0 -0
  48. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/to_time_preserves_timezone.rb +0 -0
  49. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/wrap_parameters.rb +0 -0
  50. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/locales/en.yml +0 -0
  51. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/config/routes.rb +0 -0
  52. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/secrets.yml +0 -0
  53. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/db +0 -0
  54. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/browser_tab_steps.feature +0 -0
  55. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/development_steps.feature +0 -0
  56. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/email_steps.feature +0 -0
  57. data/tests/rails-4_capybara-2/features/iframe_steps.feature +1 -0
  58. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/overriding.feature +0 -0
  59. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/session_steps.feature +0 -0
  60. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/overriding_steps.rb +0 -0
  61. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/test_steps.rb +0 -0
  62. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/support/env.rb +0 -0
  63. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/paths.rb +0 -0
  64. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/selectors.rb +0 -0
  65. data/tests/rails-4_capybara-2/features/support/selenium.rb +1 -0
  66. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/table_steps.feature +0 -0
  67. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/time_steps.feature +0 -0
  68. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/web_steps.feature +0 -0
  69. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/lib/tasks/cucumber.rake +0 -0
  70. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/log/.keep +0 -0
  71. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/404.html +0 -0
  72. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/422.html +0 -0
  73. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/500.html +0 -0
  74. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/favicon.ico +0 -0
  75. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/fixture_files +0 -0
  76. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/script/cucumber +0 -0
  77. data/tests/rails-6_capybara-3/Gemfile.lock +2 -2
  78. data/tests/rails-6_capybara-3/app/mailers/spreewald_mailer.rb +16 -0
  79. data/tests/rails-6_capybara-3/features/iframe_steps.feature +1 -0
  80. data/tests/rails-6_capybara-3/features/support/selenium.rb +1 -0
  81. data/tests/shared/app/controllers/emails_controller.rb +20 -0
  82. data/tests/shared/app/controllers/iframes_controller.rb +11 -0
  83. data/tests/shared/app/controllers/static_pages_controller.rb +12 -8
  84. data/tests/shared/app/models/mailer.rb +32 -0
  85. data/tests/shared/app/views/forms/checkbox_form.html.haml +3 -0
  86. data/tests/shared/app/views/forms/disabled_elements.html.haml +1 -0
  87. data/tests/shared/app/views/forms/form1.html.haml +4 -1
  88. data/tests/shared/app/views/forms/invalid_form.html.haml +3 -0
  89. data/tests/shared/app/views/iframes/iframe_1_content.haml +12 -0
  90. data/tests/shared/app/views/iframes/iframe_2_content.haml +12 -0
  91. data/tests/shared/app/views/mailer/html_email_for_failed_test_without_header.haml +5 -0
  92. data/tests/shared/app/views/mailer/html_email_for_successful_test_without_header.haml +7 -0
  93. data/tests/shared/app/views/mailer/text_email_for_failed_test_without_header.text.erb +1 -0
  94. data/tests/shared/app/views/mailer/text_email_for_successful_test_without_header.text.erb +3 -0
  95. data/tests/shared/app/views/static_pages/iframe.haml +3 -0
  96. data/tests/shared/config/routes.rb +8 -0
  97. data/tests/shared/features/shared/email_steps.feature +172 -35
  98. data/tests/shared/features/shared/iframe_steps.feature +38 -0
  99. data/tests/shared/features/shared/step_definitions/test_steps.rb +5 -6
  100. data/tests/shared/features/shared/web_steps.feature +15 -10
  101. data/tests/shared/features/support/selenium.rb +10 -0
  102. metadata +137 -186
  103. data/.travis.yml +0 -29
  104. data/Gemfile.ruby218 +0 -7
  105. data/Gemfile.ruby218.lock +0 -58
  106. data/lib/spreewald/file_attachment_steps.rb +0 -22
  107. data/lib/spreewald/timecop_steps.rb +0 -9
  108. data/tests/rails-3_capybara-1/.ruby-version +0 -1
  109. data/tests/rails-3_capybara-1/Gemfile +0 -20
  110. data/tests/rails-3_capybara-1/Gemfile.lock +0 -182
  111. data/tests/rails-3_capybara-1/Rakefile +0 -18
  112. data/tests/rails-3_capybara-1/app +0 -1
  113. data/tests/rails-3_capybara-1/config.ru +0 -4
  114. data/tests/rails-3_capybara-1/config/application.rb +0 -29
  115. data/tests/rails-3_capybara-1/config/boot.rb +0 -15
  116. data/tests/rails-3_capybara-1/config/cucumber.yml +0 -1
  117. data/tests/rails-3_capybara-1/config/database.yml +0 -1
  118. data/tests/rails-3_capybara-1/config/environment.rb +0 -7
  119. data/tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb +0 -9
  120. data/tests/rails-3_capybara-1/config/initializers/inflections.rb +0 -12
  121. data/tests/rails-3_capybara-1/config/initializers/mime_types.rb +0 -7
  122. data/tests/rails-3_capybara-1/config/initializers/secret_token.rb +0 -9
  123. data/tests/rails-3_capybara-1/config/initializers/session_store.rb +0 -5
  124. data/tests/rails-3_capybara-1/db +0 -1
  125. data/tests/rails-3_capybara-1/features/shared +0 -1
  126. data/tests/rails-3_capybara-1/features/support/env.rb +0 -65
  127. data/tests/rails-3_capybara-1/features/support/selenium.rb +0 -3
  128. data/tests/rails-3_capybara-1/public +0 -1
  129. data/tests/rails-3_capybara-1/script/rails +0 -6
  130. data/tests/rails-3_capybara-2/.ruby-version +0 -1
  131. data/tests/rails-3_capybara-2/Gemfile +0 -21
  132. data/tests/rails-3_capybara-2/Gemfile.lock +0 -191
  133. data/tests/rails-3_capybara-2/Rakefile +0 -1
  134. data/tests/rails-3_capybara-2/app +0 -1
  135. data/tests/rails-3_capybara-2/config +0 -1
  136. data/tests/rails-3_capybara-2/config.ru +0 -1
  137. data/tests/rails-3_capybara-2/db +0 -1
  138. data/tests/rails-3_capybara-2/features +0 -1
  139. data/tests/rails-3_capybara-2/public +0 -1
  140. data/tests/rails-3_capybara-2/script +0 -1
  141. data/tests/rails-4_capybara-3/config/routes.rb +0 -1
  142. data/tests/rails-4_capybara-3/features/support/paths.rb +0 -1
  143. data/tests/rails-4_capybara-3/features/support/selectors.rb +0 -1
  144. data/tests/rails-4_capybara-3/features/support/selenium.rb +0 -3
  145. data/tests/rails-4_capybara-3/script/cucumber +0 -10
  146. data/tests/rails-6_capybara-3/features/support/selenium.rb +0 -3
@@ -4,6 +4,7 @@ Feature: Web steps
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"
7
+ Then the "Disabled text control" field should contain "Disabled text control value"
7
8
  Then the "Select control" field should contain "Label 2"
8
9
  Then the "Select control without selection" field should contain "Label 1"
9
10
  Then the "Textarea control" field should contain "Textarea control value"
@@ -35,17 +36,14 @@ Feature: Web steps
35
36
  When I go to "/forms/invalid_form"
36
37
  Then the "A" field should have an error
37
38
  Then the "B" field should have an error
39
+ Then the "Disabled" field should have an error
38
40
  Then the "C" field should not have an error
39
41
 
40
42
  Scenario: /^the "([^"]*)" field should have the error "([^"]*)"$/
41
43
  When I go to "/forms/invalid_form"
42
44
  Then the "A" field should have the error "is invalid"
43
45
  Then the "B" field should have the error "is invalid"
44
-
45
-
46
- Scenario: /^the "([^"]*)" field should have no error$/
47
- When I go to "/forms/invalid_form"
48
- Then the "C" field should have no error
46
+ Then the "Disabled" field should have the error "is invalid"
49
47
 
50
48
 
51
49
  Scenario: /^I should see a form with the following values:$/
@@ -93,6 +91,7 @@ Feature: Web steps
93
91
  Scenario: /^the "([^"]*)" checkbox should( not)? be checked$/
94
92
  When I go to "/forms/checkbox_form"
95
93
  Then the "Checked" checkbox should be checked
94
+ And the "Checked disabled" checkbox should be checked
96
95
  And the "Unchecked" checkbox should not be checked
97
96
 
98
97
 
@@ -135,7 +134,7 @@ Feature: Web steps
135
134
  But the "unsorted" select should not be sorted
136
135
 
137
136
 
138
- Scenario: /^Then (the tag )?"..." should( not)? be visible$/
137
+ Scenario: /^Then (the tag )?"..." should be visible$/
139
138
  When I go to "/static_pages/visibility"
140
139
  Then "hidden ümläüt" should be hidden
141
140
  And "visible ümläüt" should be visible
@@ -145,13 +144,13 @@ Feature: Web steps
145
144
 
146
145
 
147
146
  @javascript
148
- Scenario: /^Then (the tag )?"..." should( not)? be visible$/ with javascript
147
+ Scenario: /^Then (the tag )?"..." should be visible$/ with javascript
149
148
  When I go to "/static_pages/visibility"
150
- Then "hidden ümläüt" should not be visible
149
+ Then "hidden ümläüt" should be hidden
151
150
  And "visible ümläüt" should be visible
152
151
  And a hidden string with quotes should not be visible
153
152
  And a visible string with quotes should be visible
154
- And "hidden ümläüt" should not be visible
153
+ And "hidden ümläüt" should be hidden
155
154
 
156
155
 
157
156
  Scenario: /^the "([^\"]*)" field should( not)? be visible$/
@@ -161,7 +160,7 @@ Feature: Web steps
161
160
 
162
161
  Scenario: /^the "([^\"]*)" field should( not)? be visible within (.*[^:])$/
163
162
  When I go to "/static_pages/visibility"
164
- Then "content" should not be visible within ".inside"
163
+ Then "content" should be hidden within ".inside"
165
164
  But "content" should be visible within ".outside"
166
165
 
167
166
  @javascript
@@ -302,6 +301,12 @@ Feature: Web steps
302
301
  And I should not see a link labeled "First visible link" within ".unrelated-element"
303
302
 
304
303
 
304
+ Scenario: /^I should( not)? see a field "([^"]*)"$/
305
+ When I go to "/forms/disabled_elements"
306
+ Then I should see a field "Enabled field #1"
307
+ And I should see a field "Disabled field #1"
308
+
309
+
305
310
  Scenario: /^I should( not)? see the (?:number|amount) ([\-\d,\.]+)(?: (.*?))?$/
306
311
  When I am on "/static_pages/numbers"
307
312
  Then I should see the number 1
@@ -0,0 +1,10 @@
1
+ Capybara.register_driver :selenium do |app|
2
+ options = Selenium::WebDriver::Chrome::Options.new
3
+ options.add_argument('--headless') unless ENV.key?('NO_HEADLESS')
4
+ options.add_argument('--disable-infobars')
5
+ options.add_option('w3c', false)
6
+ options.add_emulation(device_metrics: { width: 1280, height: 960, touch: false })
7
+ Capybara::Selenium::Driver.new(app, browser: :chrome, options: options)
8
+ end
9
+
10
+ Selenium::WebDriver.logger.level = :error
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: 2.99.3
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Kraze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-18 00:00:00.000000000 Z
11
+ date: 2021-03-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cucumber
@@ -131,15 +131,13 @@ executables:
131
131
  extensions: []
132
132
  extra_rdoc_files: []
133
133
  files:
134
+ - ".github/workflows/test.yml"
134
135
  - ".gitignore"
135
136
  - ".rspec"
136
137
  - ".ruby-version"
137
- - ".travis.yml"
138
138
  - CHANGELOG.md
139
139
  - Gemfile
140
140
  - Gemfile.lock
141
- - Gemfile.ruby218
142
- - Gemfile.ruby218.lock
143
141
  - Gemfile.ruby245
144
142
  - Gemfile.ruby245.lock
145
143
  - Gemfile.ruby266
@@ -152,16 +150,16 @@ files:
152
150
  - examples/selectors.rb
153
151
  - features/binary.feature
154
152
  - features/support/aruba.rb
153
+ - features/support/step_definitions/custom_steps.rb
155
154
  - lib/spreewald.rb
156
155
  - lib/spreewald/all_steps.rb
157
156
  - lib/spreewald/browser_tab_steps.rb
158
157
  - lib/spreewald/development_steps.rb
159
158
  - lib/spreewald/email_steps.rb
160
- - lib/spreewald/file_attachment_steps.rb
159
+ - lib/spreewald/frame_steps.rb
161
160
  - lib/spreewald/session_steps.rb
162
161
  - lib/spreewald/table_steps.rb
163
162
  - lib/spreewald/time_steps.rb
164
- - lib/spreewald/timecop_steps.rb
165
163
  - lib/spreewald/web_steps.rb
166
164
  - lib/spreewald_support/comparison.rb
167
165
  - lib/spreewald_support/compatibility.rb
@@ -169,13 +167,16 @@ files:
169
167
  - lib/spreewald_support/driver_info.rb
170
168
  - lib/spreewald_support/github.rb
171
169
  - lib/spreewald_support/mail_finder.rb
170
+ - lib/spreewald_support/mail_to_plaintext_converter.rb
172
171
  - lib/spreewald_support/path_selector_fallbacks.rb
173
172
  - lib/spreewald_support/step_fallback.rb
174
173
  - lib/spreewald_support/tolerance_for_selenium_sync_issues.rb
174
+ - lib/spreewald_support/unsupported_email_header.rb
175
175
  - lib/spreewald_support/version.rb
176
176
  - lib/spreewald_support/web_steps_helpers.rb
177
177
  - spec/spec_helper.rb
178
178
  - spec/spreewald_support/comparision_spec.rb
179
+ - spec/spreewald_support/mail_to_plaintext_converter_spec.rb
179
180
  - spec/spreewald_support/tolerance_for_selenium_sync_issues_spec.rb
180
181
  - spec/support/world.rb
181
182
  - spreewald.gemspec
@@ -184,95 +185,59 @@ files:
184
185
  - support/step_definition.rb
185
186
  - support/step_definition_file.rb
186
187
  - support/step_manager.rb
187
- - tests/rails-3_capybara-1/.ruby-version
188
- - tests/rails-3_capybara-1/Gemfile
189
- - tests/rails-3_capybara-1/Gemfile.lock
190
- - tests/rails-3_capybara-1/Rakefile
191
- - tests/rails-3_capybara-1/app
192
- - tests/rails-3_capybara-1/config.ru
193
- - tests/rails-3_capybara-1/config/application.rb
194
- - tests/rails-3_capybara-1/config/boot.rb
195
- - tests/rails-3_capybara-1/config/cucumber.yml
196
- - tests/rails-3_capybara-1/config/database.yml
197
- - tests/rails-3_capybara-1/config/environment.rb
198
- - tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb
199
- - tests/rails-3_capybara-1/config/initializers/inflections.rb
200
- - tests/rails-3_capybara-1/config/initializers/mime_types.rb
201
- - tests/rails-3_capybara-1/config/initializers/secret_token.rb
202
- - tests/rails-3_capybara-1/config/initializers/session_store.rb
203
- - tests/rails-3_capybara-1/config/routes.rb
204
- - tests/rails-3_capybara-1/db
205
- - tests/rails-3_capybara-1/features/shared
206
- - tests/rails-3_capybara-1/features/support/env.rb
207
- - tests/rails-3_capybara-1/features/support/paths.rb
208
- - tests/rails-3_capybara-1/features/support/selectors.rb
209
- - tests/rails-3_capybara-1/features/support/selenium.rb
210
- - tests/rails-3_capybara-1/public
211
- - tests/rails-3_capybara-1/script/cucumber
212
- - tests/rails-3_capybara-1/script/rails
213
- - tests/rails-3_capybara-2/.ruby-version
214
- - tests/rails-3_capybara-2/Gemfile
215
- - tests/rails-3_capybara-2/Gemfile.lock
216
- - tests/rails-3_capybara-2/Rakefile
217
- - tests/rails-3_capybara-2/app
218
- - tests/rails-3_capybara-2/config
219
- - tests/rails-3_capybara-2/config.ru
220
- - tests/rails-3_capybara-2/db
221
- - tests/rails-3_capybara-2/features
222
- - tests/rails-3_capybara-2/public
223
- - tests/rails-3_capybara-2/script
224
- - tests/rails-4_capybara-3/Gemfile
225
- - tests/rails-4_capybara-3/Gemfile.lock
226
- - tests/rails-4_capybara-3/README.rdoc
227
- - tests/rails-4_capybara-3/Rakefile
228
- - tests/rails-4_capybara-3/app
229
- - tests/rails-4_capybara-3/bin/bundle
230
- - tests/rails-4_capybara-3/bin/rails
231
- - tests/rails-4_capybara-3/bin/rake
232
- - tests/rails-4_capybara-3/bin/setup
233
- - tests/rails-4_capybara-3/config.ru
234
- - tests/rails-4_capybara-3/config/application.rb
235
- - tests/rails-4_capybara-3/config/boot.rb
236
- - tests/rails-4_capybara-3/config/cucumber.yml
237
- - tests/rails-4_capybara-3/config/database.yml
238
- - tests/rails-4_capybara-3/config/environment.rb
239
- - tests/rails-4_capybara-3/config/environments/development.rb
240
- - tests/rails-4_capybara-3/config/environments/test.rb
241
- - tests/rails-4_capybara-3/config/initializers/backtrace_silencers.rb
242
- - tests/rails-4_capybara-3/config/initializers/cookies_serializer.rb
243
- - tests/rails-4_capybara-3/config/initializers/filter_parameter_logging.rb
244
- - tests/rails-4_capybara-3/config/initializers/inflections.rb
245
- - tests/rails-4_capybara-3/config/initializers/mime_types.rb
246
- - tests/rails-4_capybara-3/config/initializers/session_store.rb
247
- - tests/rails-4_capybara-3/config/initializers/silence_deprecation_warnings.rb
248
- - tests/rails-4_capybara-3/config/initializers/to_time_preserves_timezone.rb
249
- - tests/rails-4_capybara-3/config/initializers/wrap_parameters.rb
250
- - tests/rails-4_capybara-3/config/locales/en.yml
251
- - tests/rails-4_capybara-3/config/routes.rb
252
- - tests/rails-4_capybara-3/config/secrets.yml
253
- - tests/rails-4_capybara-3/db
254
- - tests/rails-4_capybara-3/features/browser_tab_steps.feature
255
- - tests/rails-4_capybara-3/features/development_steps.feature
256
- - tests/rails-4_capybara-3/features/email_steps.feature
257
- - tests/rails-4_capybara-3/features/overriding.feature
258
- - tests/rails-4_capybara-3/features/session_steps.feature
259
- - tests/rails-4_capybara-3/features/step_definitions/overriding_steps.rb
260
- - tests/rails-4_capybara-3/features/step_definitions/test_steps.rb
261
- - tests/rails-4_capybara-3/features/support/env.rb
262
- - tests/rails-4_capybara-3/features/support/paths.rb
263
- - tests/rails-4_capybara-3/features/support/selectors.rb
264
- - tests/rails-4_capybara-3/features/support/selenium.rb
265
- - tests/rails-4_capybara-3/features/table_steps.feature
266
- - tests/rails-4_capybara-3/features/time_steps.feature
267
- - tests/rails-4_capybara-3/features/web_steps.feature
268
- - tests/rails-4_capybara-3/lib/tasks/cucumber.rake
269
- - tests/rails-4_capybara-3/log/.keep
270
- - tests/rails-4_capybara-3/public/404.html
271
- - tests/rails-4_capybara-3/public/422.html
272
- - tests/rails-4_capybara-3/public/500.html
273
- - tests/rails-4_capybara-3/public/favicon.ico
274
- - tests/rails-4_capybara-3/public/fixture_files
275
- - tests/rails-4_capybara-3/script/cucumber
188
+ - tests/rails-4_capybara-2/Gemfile
189
+ - tests/rails-4_capybara-2/Gemfile.lock
190
+ - tests/rails-4_capybara-2/README.rdoc
191
+ - tests/rails-4_capybara-2/Rakefile
192
+ - tests/rails-4_capybara-2/app
193
+ - tests/rails-4_capybara-2/bin/bundle
194
+ - tests/rails-4_capybara-2/bin/rails
195
+ - tests/rails-4_capybara-2/bin/rake
196
+ - tests/rails-4_capybara-2/bin/setup
197
+ - tests/rails-4_capybara-2/config.ru
198
+ - tests/rails-4_capybara-2/config/application.rb
199
+ - tests/rails-4_capybara-2/config/boot.rb
200
+ - tests/rails-4_capybara-2/config/cucumber.yml
201
+ - tests/rails-4_capybara-2/config/database.yml
202
+ - tests/rails-4_capybara-2/config/environment.rb
203
+ - tests/rails-4_capybara-2/config/environments/development.rb
204
+ - tests/rails-4_capybara-2/config/environments/test.rb
205
+ - tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb
206
+ - tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb
207
+ - tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb
208
+ - tests/rails-4_capybara-2/config/initializers/inflections.rb
209
+ - tests/rails-4_capybara-2/config/initializers/mime_types.rb
210
+ - tests/rails-4_capybara-2/config/initializers/session_store.rb
211
+ - tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb
212
+ - tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb
213
+ - tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb
214
+ - tests/rails-4_capybara-2/config/locales/en.yml
215
+ - tests/rails-4_capybara-2/config/routes.rb
216
+ - tests/rails-4_capybara-2/config/secrets.yml
217
+ - tests/rails-4_capybara-2/db
218
+ - tests/rails-4_capybara-2/features/browser_tab_steps.feature
219
+ - tests/rails-4_capybara-2/features/development_steps.feature
220
+ - tests/rails-4_capybara-2/features/email_steps.feature
221
+ - tests/rails-4_capybara-2/features/iframe_steps.feature
222
+ - tests/rails-4_capybara-2/features/overriding.feature
223
+ - tests/rails-4_capybara-2/features/session_steps.feature
224
+ - tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb
225
+ - tests/rails-4_capybara-2/features/step_definitions/test_steps.rb
226
+ - tests/rails-4_capybara-2/features/support/env.rb
227
+ - tests/rails-4_capybara-2/features/support/paths.rb
228
+ - tests/rails-4_capybara-2/features/support/selectors.rb
229
+ - tests/rails-4_capybara-2/features/support/selenium.rb
230
+ - tests/rails-4_capybara-2/features/table_steps.feature
231
+ - tests/rails-4_capybara-2/features/time_steps.feature
232
+ - tests/rails-4_capybara-2/features/web_steps.feature
233
+ - tests/rails-4_capybara-2/lib/tasks/cucumber.rake
234
+ - tests/rails-4_capybara-2/log/.keep
235
+ - tests/rails-4_capybara-2/public/404.html
236
+ - tests/rails-4_capybara-2/public/422.html
237
+ - tests/rails-4_capybara-2/public/500.html
238
+ - tests/rails-4_capybara-2/public/favicon.ico
239
+ - tests/rails-4_capybara-2/public/fixture_files
240
+ - tests/rails-4_capybara-2/script/cucumber
276
241
  - tests/rails-6_capybara-3/.ruby-version
277
242
  - tests/rails-6_capybara-3/Gemfile
278
243
  - tests/rails-6_capybara-3/Gemfile.lock
@@ -309,6 +274,7 @@ files:
309
274
  - tests/rails-6_capybara-3/features/browser_tab_steps.feature
310
275
  - tests/rails-6_capybara-3/features/development_steps.feature
311
276
  - tests/rails-6_capybara-3/features/email_steps.feature
277
+ - tests/rails-6_capybara-3/features/iframe_steps.feature
312
278
  - tests/rails-6_capybara-3/features/overriding.feature
313
279
  - tests/rails-6_capybara-3/features/session_steps.feature
314
280
  - tests/rails-6_capybara-3/features/step_definitions/.gitkeep
@@ -335,6 +301,7 @@ files:
335
301
  - tests/shared/app/controllers/downloads_controller.rb
336
302
  - tests/shared/app/controllers/emails_controller.rb
337
303
  - tests/shared/app/controllers/forms_controller.rb
304
+ - tests/shared/app/controllers/iframes_controller.rb
338
305
  - tests/shared/app/controllers/static_pages_controller.rb
339
306
  - tests/shared/app/controllers/tables_controller.rb
340
307
  - tests/shared/app/models/mailer.rb
@@ -344,20 +311,27 @@ files:
344
311
  - tests/shared/app/views/forms/form2.html.haml
345
312
  - tests/shared/app/views/forms/invalid_form.html.haml
346
313
  - tests/shared/app/views/forms/select_fields.html.haml
314
+ - tests/shared/app/views/iframes/iframe_1_content.haml
315
+ - tests/shared/app/views/iframes/iframe_2_content.haml
347
316
  - tests/shared/app/views/layouts/application.html.haml
348
317
  - tests/shared/app/views/layouts/mailer.html.erb
349
318
  - tests/shared/app/views/layouts/mailer.text.erb
350
319
  - tests/shared/app/views/mailer/email.text.erb
351
320
  - tests/shared/app/views/mailer/email_crlf.text.erb
352
321
  - tests/shared/app/views/mailer/email_with_umlauts.text.erb
322
+ - tests/shared/app/views/mailer/html_email_for_failed_test_without_header.haml
323
+ - tests/shared/app/views/mailer/html_email_for_successful_test_without_header.haml
353
324
  - tests/shared/app/views/mailer/html_email_with_linebreaks.html
354
325
  - tests/shared/app/views/mailer/html_email_with_links.haml
355
326
  - tests/shared/app/views/mailer/html_email_with_specific_line.haml
327
+ - tests/shared/app/views/mailer/text_email_for_failed_test_without_header.text.erb
328
+ - tests/shared/app/views/mailer/text_email_for_successful_test_without_header.text.erb
356
329
  - tests/shared/app/views/mailer/text_email_with_links.text.erb
357
330
  - tests/shared/app/views/mailer/text_email_with_specific_line.text.erb
358
331
  - tests/shared/app/views/spreewald_mailer
359
332
  - tests/shared/app/views/static_pages/click_on.html.haml
360
333
  - tests/shared/app/views/static_pages/home.html.haml
334
+ - tests/shared/app/views/static_pages/iframe.haml
361
335
  - tests/shared/app/views/static_pages/link_to_home.html.haml
362
336
  - tests/shared/app/views/static_pages/links.html.haml
363
337
  - tests/shared/app/views/static_pages/numbers.html.haml
@@ -383,6 +357,7 @@ files:
383
357
  - tests/shared/features/shared/browser_tab_steps.feature
384
358
  - tests/shared/features/shared/development_steps.feature
385
359
  - tests/shared/features/shared/email_steps.feature
360
+ - tests/shared/features/shared/iframe_steps.feature
386
361
  - tests/shared/features/shared/overriding.feature
387
362
  - tests/shared/features/shared/session_steps.feature
388
363
  - tests/shared/features/shared/step_definitions/overriding_steps.rb
@@ -392,6 +367,7 @@ files:
392
367
  - tests/shared/features/shared/web_steps.feature
393
368
  - tests/shared/features/support/paths.rb
394
369
  - tests/shared/features/support/selectors.rb
370
+ - tests/shared/features/support/selenium.rb
395
371
  - tests/shared/public/favicon.ico
396
372
  - tests/shared/public/fixture_files/attachment.pdf
397
373
  - tests/shared/public/fixture_files/spreadsheet.ods
@@ -415,100 +391,64 @@ required_rubygems_version: !ruby/object:Gem::Requirement
415
391
  - !ruby/object:Gem::Version
416
392
  version: '0'
417
393
  requirements: []
418
- rubygems_version: 3.1.2
394
+ rubygems_version: 3.0.3
419
395
  signing_key:
420
396
  specification_version: 4
421
397
  summary: Collection of useful cucumber steps.
422
398
  test_files:
423
- - tests/rails-3_capybara-1/.ruby-version
424
- - tests/rails-3_capybara-1/Gemfile
425
- - tests/rails-3_capybara-1/Gemfile.lock
426
- - tests/rails-3_capybara-1/Rakefile
427
- - tests/rails-3_capybara-1/app
428
- - tests/rails-3_capybara-1/config.ru
429
- - tests/rails-3_capybara-1/config/application.rb
430
- - tests/rails-3_capybara-1/config/boot.rb
431
- - tests/rails-3_capybara-1/config/cucumber.yml
432
- - tests/rails-3_capybara-1/config/database.yml
433
- - tests/rails-3_capybara-1/config/environment.rb
434
- - tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb
435
- - tests/rails-3_capybara-1/config/initializers/inflections.rb
436
- - tests/rails-3_capybara-1/config/initializers/mime_types.rb
437
- - tests/rails-3_capybara-1/config/initializers/secret_token.rb
438
- - tests/rails-3_capybara-1/config/initializers/session_store.rb
439
- - tests/rails-3_capybara-1/config/routes.rb
440
- - tests/rails-3_capybara-1/db
441
- - tests/rails-3_capybara-1/features/shared
442
- - tests/rails-3_capybara-1/features/support/env.rb
443
- - tests/rails-3_capybara-1/features/support/paths.rb
444
- - tests/rails-3_capybara-1/features/support/selectors.rb
445
- - tests/rails-3_capybara-1/features/support/selenium.rb
446
- - tests/rails-3_capybara-1/public
447
- - tests/rails-3_capybara-1/script/cucumber
448
- - tests/rails-3_capybara-1/script/rails
449
- - tests/rails-3_capybara-2/.ruby-version
450
- - tests/rails-3_capybara-2/Gemfile
451
- - tests/rails-3_capybara-2/Gemfile.lock
452
- - tests/rails-3_capybara-2/Rakefile
453
- - tests/rails-3_capybara-2/app
454
- - tests/rails-3_capybara-2/config
455
- - tests/rails-3_capybara-2/config.ru
456
- - tests/rails-3_capybara-2/db
457
- - tests/rails-3_capybara-2/features
458
- - tests/rails-3_capybara-2/public
459
- - tests/rails-3_capybara-2/script
460
- - tests/rails-4_capybara-3/Gemfile
461
- - tests/rails-4_capybara-3/Gemfile.lock
462
- - tests/rails-4_capybara-3/README.rdoc
463
- - tests/rails-4_capybara-3/Rakefile
464
- - tests/rails-4_capybara-3/app
465
- - tests/rails-4_capybara-3/bin/bundle
466
- - tests/rails-4_capybara-3/bin/rails
467
- - tests/rails-4_capybara-3/bin/rake
468
- - tests/rails-4_capybara-3/bin/setup
469
- - tests/rails-4_capybara-3/config.ru
470
- - tests/rails-4_capybara-3/config/application.rb
471
- - tests/rails-4_capybara-3/config/boot.rb
472
- - tests/rails-4_capybara-3/config/cucumber.yml
473
- - tests/rails-4_capybara-3/config/database.yml
474
- - tests/rails-4_capybara-3/config/environment.rb
475
- - tests/rails-4_capybara-3/config/environments/development.rb
476
- - tests/rails-4_capybara-3/config/environments/test.rb
477
- - tests/rails-4_capybara-3/config/initializers/backtrace_silencers.rb
478
- - tests/rails-4_capybara-3/config/initializers/cookies_serializer.rb
479
- - tests/rails-4_capybara-3/config/initializers/filter_parameter_logging.rb
480
- - tests/rails-4_capybara-3/config/initializers/inflections.rb
481
- - tests/rails-4_capybara-3/config/initializers/mime_types.rb
482
- - tests/rails-4_capybara-3/config/initializers/session_store.rb
483
- - tests/rails-4_capybara-3/config/initializers/silence_deprecation_warnings.rb
484
- - tests/rails-4_capybara-3/config/initializers/to_time_preserves_timezone.rb
485
- - tests/rails-4_capybara-3/config/initializers/wrap_parameters.rb
486
- - tests/rails-4_capybara-3/config/locales/en.yml
487
- - tests/rails-4_capybara-3/config/routes.rb
488
- - tests/rails-4_capybara-3/config/secrets.yml
489
- - tests/rails-4_capybara-3/db
490
- - tests/rails-4_capybara-3/features/browser_tab_steps.feature
491
- - tests/rails-4_capybara-3/features/development_steps.feature
492
- - tests/rails-4_capybara-3/features/email_steps.feature
493
- - tests/rails-4_capybara-3/features/overriding.feature
494
- - tests/rails-4_capybara-3/features/session_steps.feature
495
- - tests/rails-4_capybara-3/features/step_definitions/overriding_steps.rb
496
- - tests/rails-4_capybara-3/features/step_definitions/test_steps.rb
497
- - tests/rails-4_capybara-3/features/support/env.rb
498
- - tests/rails-4_capybara-3/features/support/paths.rb
499
- - tests/rails-4_capybara-3/features/support/selectors.rb
500
- - tests/rails-4_capybara-3/features/support/selenium.rb
501
- - tests/rails-4_capybara-3/features/table_steps.feature
502
- - tests/rails-4_capybara-3/features/time_steps.feature
503
- - tests/rails-4_capybara-3/features/web_steps.feature
504
- - tests/rails-4_capybara-3/lib/tasks/cucumber.rake
505
- - tests/rails-4_capybara-3/log/.keep
506
- - tests/rails-4_capybara-3/public/404.html
507
- - tests/rails-4_capybara-3/public/422.html
508
- - tests/rails-4_capybara-3/public/500.html
509
- - tests/rails-4_capybara-3/public/favicon.ico
510
- - tests/rails-4_capybara-3/public/fixture_files
511
- - tests/rails-4_capybara-3/script/cucumber
399
+ - tests/rails-4_capybara-2/Gemfile
400
+ - tests/rails-4_capybara-2/Gemfile.lock
401
+ - tests/rails-4_capybara-2/README.rdoc
402
+ - tests/rails-4_capybara-2/Rakefile
403
+ - tests/rails-4_capybara-2/app
404
+ - tests/rails-4_capybara-2/bin/bundle
405
+ - tests/rails-4_capybara-2/bin/rails
406
+ - tests/rails-4_capybara-2/bin/rake
407
+ - tests/rails-4_capybara-2/bin/setup
408
+ - tests/rails-4_capybara-2/config.ru
409
+ - tests/rails-4_capybara-2/config/application.rb
410
+ - tests/rails-4_capybara-2/config/boot.rb
411
+ - tests/rails-4_capybara-2/config/cucumber.yml
412
+ - tests/rails-4_capybara-2/config/database.yml
413
+ - tests/rails-4_capybara-2/config/environment.rb
414
+ - tests/rails-4_capybara-2/config/environments/development.rb
415
+ - tests/rails-4_capybara-2/config/environments/test.rb
416
+ - tests/rails-4_capybara-2/config/initializers/backtrace_silencers.rb
417
+ - tests/rails-4_capybara-2/config/initializers/cookies_serializer.rb
418
+ - tests/rails-4_capybara-2/config/initializers/filter_parameter_logging.rb
419
+ - tests/rails-4_capybara-2/config/initializers/inflections.rb
420
+ - tests/rails-4_capybara-2/config/initializers/mime_types.rb
421
+ - tests/rails-4_capybara-2/config/initializers/session_store.rb
422
+ - tests/rails-4_capybara-2/config/initializers/silence_deprecation_warnings.rb
423
+ - tests/rails-4_capybara-2/config/initializers/to_time_preserves_timezone.rb
424
+ - tests/rails-4_capybara-2/config/initializers/wrap_parameters.rb
425
+ - tests/rails-4_capybara-2/config/locales/en.yml
426
+ - tests/rails-4_capybara-2/config/routes.rb
427
+ - tests/rails-4_capybara-2/config/secrets.yml
428
+ - tests/rails-4_capybara-2/db
429
+ - tests/rails-4_capybara-2/features/browser_tab_steps.feature
430
+ - tests/rails-4_capybara-2/features/development_steps.feature
431
+ - tests/rails-4_capybara-2/features/email_steps.feature
432
+ - tests/rails-4_capybara-2/features/iframe_steps.feature
433
+ - tests/rails-4_capybara-2/features/overriding.feature
434
+ - tests/rails-4_capybara-2/features/session_steps.feature
435
+ - tests/rails-4_capybara-2/features/step_definitions/overriding_steps.rb
436
+ - tests/rails-4_capybara-2/features/step_definitions/test_steps.rb
437
+ - tests/rails-4_capybara-2/features/support/env.rb
438
+ - tests/rails-4_capybara-2/features/support/paths.rb
439
+ - tests/rails-4_capybara-2/features/support/selectors.rb
440
+ - tests/rails-4_capybara-2/features/support/selenium.rb
441
+ - tests/rails-4_capybara-2/features/table_steps.feature
442
+ - tests/rails-4_capybara-2/features/time_steps.feature
443
+ - tests/rails-4_capybara-2/features/web_steps.feature
444
+ - tests/rails-4_capybara-2/lib/tasks/cucumber.rake
445
+ - tests/rails-4_capybara-2/log/.keep
446
+ - tests/rails-4_capybara-2/public/404.html
447
+ - tests/rails-4_capybara-2/public/422.html
448
+ - tests/rails-4_capybara-2/public/500.html
449
+ - tests/rails-4_capybara-2/public/favicon.ico
450
+ - tests/rails-4_capybara-2/public/fixture_files
451
+ - tests/rails-4_capybara-2/script/cucumber
512
452
  - tests/rails-6_capybara-3/.ruby-version
513
453
  - tests/rails-6_capybara-3/Gemfile
514
454
  - tests/rails-6_capybara-3/Gemfile.lock
@@ -545,6 +485,7 @@ test_files:
545
485
  - tests/rails-6_capybara-3/features/browser_tab_steps.feature
546
486
  - tests/rails-6_capybara-3/features/development_steps.feature
547
487
  - tests/rails-6_capybara-3/features/email_steps.feature
488
+ - tests/rails-6_capybara-3/features/iframe_steps.feature
548
489
  - tests/rails-6_capybara-3/features/overriding.feature
549
490
  - tests/rails-6_capybara-3/features/session_steps.feature
550
491
  - tests/rails-6_capybara-3/features/step_definitions/.gitkeep
@@ -571,6 +512,7 @@ test_files:
571
512
  - tests/shared/app/controllers/downloads_controller.rb
572
513
  - tests/shared/app/controllers/emails_controller.rb
573
514
  - tests/shared/app/controllers/forms_controller.rb
515
+ - tests/shared/app/controllers/iframes_controller.rb
574
516
  - tests/shared/app/controllers/static_pages_controller.rb
575
517
  - tests/shared/app/controllers/tables_controller.rb
576
518
  - tests/shared/app/models/mailer.rb
@@ -580,20 +522,27 @@ test_files:
580
522
  - tests/shared/app/views/forms/form2.html.haml
581
523
  - tests/shared/app/views/forms/invalid_form.html.haml
582
524
  - tests/shared/app/views/forms/select_fields.html.haml
525
+ - tests/shared/app/views/iframes/iframe_1_content.haml
526
+ - tests/shared/app/views/iframes/iframe_2_content.haml
583
527
  - tests/shared/app/views/layouts/application.html.haml
584
528
  - tests/shared/app/views/layouts/mailer.html.erb
585
529
  - tests/shared/app/views/layouts/mailer.text.erb
586
530
  - tests/shared/app/views/mailer/email.text.erb
587
531
  - tests/shared/app/views/mailer/email_crlf.text.erb
588
532
  - tests/shared/app/views/mailer/email_with_umlauts.text.erb
533
+ - tests/shared/app/views/mailer/html_email_for_failed_test_without_header.haml
534
+ - tests/shared/app/views/mailer/html_email_for_successful_test_without_header.haml
589
535
  - tests/shared/app/views/mailer/html_email_with_linebreaks.html
590
536
  - tests/shared/app/views/mailer/html_email_with_links.haml
591
537
  - tests/shared/app/views/mailer/html_email_with_specific_line.haml
538
+ - tests/shared/app/views/mailer/text_email_for_failed_test_without_header.text.erb
539
+ - tests/shared/app/views/mailer/text_email_for_successful_test_without_header.text.erb
592
540
  - tests/shared/app/views/mailer/text_email_with_links.text.erb
593
541
  - tests/shared/app/views/mailer/text_email_with_specific_line.text.erb
594
542
  - tests/shared/app/views/spreewald_mailer
595
543
  - tests/shared/app/views/static_pages/click_on.html.haml
596
544
  - tests/shared/app/views/static_pages/home.html.haml
545
+ - tests/shared/app/views/static_pages/iframe.haml
597
546
  - tests/shared/app/views/static_pages/link_to_home.html.haml
598
547
  - tests/shared/app/views/static_pages/links.html.haml
599
548
  - tests/shared/app/views/static_pages/numbers.html.haml
@@ -619,6 +568,7 @@ test_files:
619
568
  - tests/shared/features/shared/browser_tab_steps.feature
620
569
  - tests/shared/features/shared/development_steps.feature
621
570
  - tests/shared/features/shared/email_steps.feature
571
+ - tests/shared/features/shared/iframe_steps.feature
622
572
  - tests/shared/features/shared/overriding.feature
623
573
  - tests/shared/features/shared/session_steps.feature
624
574
  - tests/shared/features/shared/step_definitions/overriding_steps.rb
@@ -628,6 +578,7 @@ test_files:
628
578
  - tests/shared/features/shared/web_steps.feature
629
579
  - tests/shared/features/support/paths.rb
630
580
  - tests/shared/features/support/selectors.rb
581
+ - tests/shared/features/support/selenium.rb
631
582
  - tests/shared/public/favicon.ico
632
583
  - tests/shared/public/fixture_files/attachment.pdf
633
584
  - tests/shared/public/fixture_files/spreadsheet.ods