spreewald 3.0.3 → 4.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/test.yml +40 -0
  3. data/CHANGELOG.md +4 -0
  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 +41 -3
  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/email_steps.rb +3 -1
  16. data/lib/spreewald/frame_steps.rb +77 -0
  17. data/lib/spreewald_support/mail_finder.rb +6 -10
  18. data/lib/spreewald_support/mail_to_plaintext_converter.rb +42 -0
  19. data/lib/spreewald_support/unsupported_email_header.rb +22 -0
  20. data/lib/spreewald_support/version.rb +1 -1
  21. data/spec/spreewald_support/mail_to_plaintext_converter_spec.rb +60 -0
  22. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile +1 -1
  23. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Gemfile.lock +14 -16
  24. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/README.rdoc +0 -0
  25. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/Rakefile +0 -0
  26. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/app +0 -0
  27. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/bundle +0 -0
  28. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rails +0 -0
  29. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/rake +0 -0
  30. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/bin/setup +0 -0
  31. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config.ru +0 -0
  32. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/application.rb +0 -0
  33. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/boot.rb +0 -0
  34. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/cucumber.yml +0 -0
  35. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/database.yml +0 -0
  36. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environment.rb +0 -0
  37. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/development.rb +0 -0
  38. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/environments/test.rb +0 -0
  39. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/backtrace_silencers.rb +0 -0
  40. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/cookies_serializer.rb +0 -0
  41. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/filter_parameter_logging.rb +0 -0
  42. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/inflections.rb +0 -0
  43. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/mime_types.rb +0 -0
  44. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/session_store.rb +0 -0
  45. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/silence_deprecation_warnings.rb +0 -0
  46. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/to_time_preserves_timezone.rb +0 -0
  47. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/initializers/wrap_parameters.rb +0 -0
  48. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/locales/en.yml +0 -0
  49. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/config/routes.rb +0 -0
  50. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/config/secrets.yml +0 -0
  51. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/db +0 -0
  52. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/browser_tab_steps.feature +0 -0
  53. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/development_steps.feature +0 -0
  54. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/email_steps.feature +0 -0
  55. data/tests/rails-4_capybara-2/features/iframe_steps.feature +1 -0
  56. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/overriding.feature +0 -0
  57. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/session_steps.feature +0 -0
  58. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/overriding_steps.rb +0 -0
  59. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/step_definitions/test_steps.rb +0 -0
  60. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/support/env.rb +0 -0
  61. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/paths.rb +0 -0
  62. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/features/support/selectors.rb +0 -0
  63. data/tests/rails-4_capybara-2/features/support/selenium.rb +1 -0
  64. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/table_steps.feature +0 -0
  65. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/time_steps.feature +0 -0
  66. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/features/web_steps.feature +0 -0
  67. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/lib/tasks/cucumber.rake +0 -0
  68. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/log/.keep +0 -0
  69. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/404.html +0 -0
  70. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/422.html +0 -0
  71. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/500.html +0 -0
  72. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/favicon.ico +0 -0
  73. data/tests/{rails-4_capybara-3 → rails-4_capybara-2}/public/fixture_files +0 -0
  74. data/tests/{rails-3_capybara-1 → rails-4_capybara-2}/script/cucumber +0 -0
  75. data/tests/rails-6_capybara-3/Gemfile.lock +2 -2
  76. data/tests/rails-6_capybara-3/features/iframe_steps.feature +1 -0
  77. data/tests/rails-6_capybara-3/features/support/selenium.rb +1 -0
  78. data/tests/shared/app/controllers/iframes_controller.rb +11 -0
  79. data/tests/shared/app/controllers/static_pages_controller.rb +12 -8
  80. data/tests/shared/app/views/iframes/iframe_1_content.haml +12 -0
  81. data/tests/shared/app/views/iframes/iframe_2_content.haml +12 -0
  82. data/tests/shared/app/views/static_pages/iframe.haml +3 -0
  83. data/tests/shared/config/routes.rb +4 -0
  84. data/tests/shared/features/shared/email_steps.feature +64 -0
  85. data/tests/shared/features/shared/iframe_steps.feature +38 -0
  86. data/tests/shared/features/shared/step_definitions/test_steps.rb +5 -6
  87. data/tests/shared/features/support/selenium.rb +10 -0
  88. metadata +128 -183
  89. data/.travis.yml +0 -29
  90. data/Gemfile.ruby218 +0 -7
  91. data/Gemfile.ruby218.lock +0 -58
  92. data/tests/rails-3_capybara-1/.ruby-version +0 -1
  93. data/tests/rails-3_capybara-1/Gemfile +0 -20
  94. data/tests/rails-3_capybara-1/Gemfile.lock +0 -182
  95. data/tests/rails-3_capybara-1/Rakefile +0 -18
  96. data/tests/rails-3_capybara-1/app +0 -1
  97. data/tests/rails-3_capybara-1/config.ru +0 -4
  98. data/tests/rails-3_capybara-1/config/application.rb +0 -29
  99. data/tests/rails-3_capybara-1/config/boot.rb +0 -15
  100. data/tests/rails-3_capybara-1/config/cucumber.yml +0 -1
  101. data/tests/rails-3_capybara-1/config/database.yml +0 -1
  102. data/tests/rails-3_capybara-1/config/environment.rb +0 -7
  103. data/tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb +0 -9
  104. data/tests/rails-3_capybara-1/config/initializers/inflections.rb +0 -12
  105. data/tests/rails-3_capybara-1/config/initializers/mime_types.rb +0 -7
  106. data/tests/rails-3_capybara-1/config/initializers/secret_token.rb +0 -9
  107. data/tests/rails-3_capybara-1/config/initializers/session_store.rb +0 -5
  108. data/tests/rails-3_capybara-1/db +0 -1
  109. data/tests/rails-3_capybara-1/features/shared +0 -1
  110. data/tests/rails-3_capybara-1/features/support/env.rb +0 -65
  111. data/tests/rails-3_capybara-1/features/support/selenium.rb +0 -3
  112. data/tests/rails-3_capybara-1/public +0 -1
  113. data/tests/rails-3_capybara-1/script/rails +0 -6
  114. data/tests/rails-3_capybara-2/.ruby-version +0 -1
  115. data/tests/rails-3_capybara-2/Gemfile +0 -21
  116. data/tests/rails-3_capybara-2/Gemfile.lock +0 -191
  117. data/tests/rails-3_capybara-2/Rakefile +0 -1
  118. data/tests/rails-3_capybara-2/app +0 -1
  119. data/tests/rails-3_capybara-2/config +0 -1
  120. data/tests/rails-3_capybara-2/config.ru +0 -1
  121. data/tests/rails-3_capybara-2/db +0 -1
  122. data/tests/rails-3_capybara-2/features +0 -1
  123. data/tests/rails-3_capybara-2/public +0 -1
  124. data/tests/rails-3_capybara-2/script +0 -1
  125. data/tests/rails-4_capybara-3/config/routes.rb +0 -1
  126. data/tests/rails-4_capybara-3/features/support/paths.rb +0 -1
  127. data/tests/rails-4_capybara-3/features/support/selectors.rb +0 -1
  128. data/tests/rails-4_capybara-3/features/support/selenium.rb +0 -3
  129. data/tests/rails-4_capybara-3/script/cucumber +0 -10
  130. data/tests/rails-6_capybara-3/features/support/selenium.rb +0 -3
@@ -0,0 +1,12 @@
1
+ !!!
2
+ %html
3
+ %head
4
+ %body
5
+ Iframe content
6
+ %table
7
+ %tr
8
+ %th Color
9
+ %th Fruit
10
+ %tr
11
+ %td Red
12
+ %td Cherry
@@ -0,0 +1,3 @@
1
+ Content on main page
2
+ %iframe(src='/iframes/iframe_1_content' name='colors_1')
3
+ %iframe(src='/iframes/iframe_2_content' name='colors_2')
@@ -25,8 +25,12 @@ Rails.application.routes.draw do
25
25
  get '/forms/select_fields', to: 'forms#select_fields'
26
26
  get '/forms/invalid_form', to: 'forms#invalid_form'
27
27
 
28
+ get '/iframes/iframe_1_content', to: 'iframes#iframe_1_content'
29
+ get '/iframes/iframe_2_content', to: 'iframes#iframe_2_content'
30
+
28
31
  get '/static_pages/click_on', to: 'static_pages#click_on'
29
32
  get '/static_pages/home', to: 'static_pages#home'
33
+ get '/static_pages/iframe', to: 'static_pages#iframe'
30
34
  get '/static_pages/link_target', to: 'static_pages#link_target'
31
35
  get '/static_pages/link_to_home', to: 'static_pages#link_to_home'
32
36
  get '/static_pages/links', to: 'static_pages#links'
@@ -33,6 +33,70 @@ Feature: Test Spreewald's email steps
33
33
  '''
34
34
  """
35
35
 
36
+ # Test with invalid header
37
+ Then the step with an unsupported email header should raise:
38
+ """
39
+ Then an email should have been sent with:
40
+ '''
41
+ From: from@example.com
42
+ Reply-To: reply-to@example.com
43
+ Invalid-Header: reply-to@example.com
44
+ To: to@example.com
45
+ Subject: SUBJECT
46
+ '''
47
+ """
48
+
49
+ # Test with indented header lines
50
+ Then the following multiline step should succeed:
51
+ """
52
+ Then an email should have been sent with:
53
+ '''
54
+ From: from@example.com
55
+ Reply-To: reply-to@example.com
56
+ To: to@example.com
57
+ Subject: SUBJECT
58
+
59
+ Body
60
+ with
61
+ line
62
+ breaks
63
+ '''
64
+ """
65
+
66
+ # Test with indented step lines
67
+ Then the following multiline step should succeed:
68
+ """
69
+ Then an email should have been sent with:
70
+ '''
71
+ From: from@example.com
72
+ Reply-To: reply-to@example.com
73
+ To: to@example.com
74
+ Subject: SUBJECT
75
+
76
+ Body
77
+ with
78
+ line
79
+ breaks
80
+ '''
81
+ """
82
+
83
+ # Test with indented body lines
84
+ Then the following multiline step should succeed:
85
+ """
86
+ Then an email should have been sent with:
87
+ '''
88
+ From: from@example.com
89
+ Reply-To: reply-to@example.com
90
+ To: to@example.com
91
+ Subject: SUBJECT
92
+
93
+ Body
94
+ with
95
+ line
96
+ breaks
97
+ '''
98
+ """
99
+
36
100
  # Test with body
37
101
  Then the following multiline step should succeed:
38
102
  """
@@ -0,0 +1,38 @@
1
+ @javascript
2
+ Feature: iframe Steps
3
+
4
+ @not-capybara-2
5
+ Scenario: Switch between iframes
6
+ Given I go to "/static_pages/iframe"
7
+ Then I should not see "Kiwi"
8
+ And I should not see "Cherry"
9
+
10
+ When I switch to the 1st iframe
11
+ Then I should see "Kiwi"
12
+ But I should not see "Cherry"
13
+
14
+ When I switch back to the whole page
15
+ Then I should not see "Kiwi"
16
+ And I should not see "Cherry"
17
+
18
+ When I switch to the colors_2 iframe
19
+ Then I should see "Cherry"
20
+ But I should not see "Kiwi"
21
+ # Unfortunately, manual reset for next test is necessary
22
+ When I switch back to the whole page
23
+
24
+
25
+ Scenario: Accesssing contents of iframes with the "inside the ... frame" step fragment
26
+ Given I go to "/static_pages/iframe"
27
+ Then I should see "Content on main page"
28
+ But I should not see "Fruit"
29
+
30
+ Then I should see "Kiwi" inside the 1st iframe
31
+ And I should see "Cherry" inside the colors_2 iframe
32
+ And I should see a table with the following rows inside the colors_1 iframe:
33
+ | Color | Fruit |
34
+ | Green | Kiwi |
35
+ And I should see a table with the following rows inside the 2nd iframe:
36
+ | Color | Fruit |
37
+ | Red | Cherry |
38
+ But I should not see "Content on main page" inside the 1st iframe
@@ -24,6 +24,11 @@ When /^I run the following steps?:$/ do |steps_table|
24
24
  end
25
25
  end
26
26
 
27
+ Then /^the step with an unsupported email header should raise:$/ do |step_string|
28
+ multiline_step = step_string.gsub(%{'''}, %{"""})
29
+ expect { steps(multiline_step) }.to raise_error(Spreewald::UnsupportedEmailHeader)
30
+ end
31
+
27
32
  Then /^the following multiline step should (fail|succeed):$/ do |expectation, multiline_step|
28
33
  multiline_step = multiline_step.gsub(%{'''}, %{"""})
29
34
  if expectation == 'fail'
@@ -45,12 +50,6 @@ Then(/^a visible string with quotes should be visible$/) do
45
50
  end
46
51
 
47
52
  Then(/^'show me the page' should open the page or take a screenshot$/) do
48
- # Projects with Capybara 1 & 2 use the launchy gem
49
- if Spreewald::Comparison.compare_versions(Capybara::VERSION, :<, "3.0")
50
- expect(Launchy).to receive(:open)
51
- step 'show me the page'
52
- else
53
53
  expect_any_instance_of(Capybara::Screenshot::Saver).to receive(:save)
54
54
  step 'show me the page'
55
- end
56
55
  end
@@ -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: 3.0.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: 2021-01-13 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,11 +150,13 @@ 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
159
+ - lib/spreewald/frame_steps.rb
160
160
  - lib/spreewald/session_steps.rb
161
161
  - lib/spreewald/table_steps.rb
162
162
  - lib/spreewald/time_steps.rb
@@ -167,13 +167,16 @@ files:
167
167
  - lib/spreewald_support/driver_info.rb
168
168
  - lib/spreewald_support/github.rb
169
169
  - lib/spreewald_support/mail_finder.rb
170
+ - lib/spreewald_support/mail_to_plaintext_converter.rb
170
171
  - lib/spreewald_support/path_selector_fallbacks.rb
171
172
  - lib/spreewald_support/step_fallback.rb
172
173
  - lib/spreewald_support/tolerance_for_selenium_sync_issues.rb
174
+ - lib/spreewald_support/unsupported_email_header.rb
173
175
  - lib/spreewald_support/version.rb
174
176
  - lib/spreewald_support/web_steps_helpers.rb
175
177
  - spec/spec_helper.rb
176
178
  - spec/spreewald_support/comparision_spec.rb
179
+ - spec/spreewald_support/mail_to_plaintext_converter_spec.rb
177
180
  - spec/spreewald_support/tolerance_for_selenium_sync_issues_spec.rb
178
181
  - spec/support/world.rb
179
182
  - spreewald.gemspec
@@ -182,95 +185,59 @@ files:
182
185
  - support/step_definition.rb
183
186
  - support/step_definition_file.rb
184
187
  - support/step_manager.rb
185
- - tests/rails-3_capybara-1/.ruby-version
186
- - tests/rails-3_capybara-1/Gemfile
187
- - tests/rails-3_capybara-1/Gemfile.lock
188
- - tests/rails-3_capybara-1/Rakefile
189
- - tests/rails-3_capybara-1/app
190
- - tests/rails-3_capybara-1/config.ru
191
- - tests/rails-3_capybara-1/config/application.rb
192
- - tests/rails-3_capybara-1/config/boot.rb
193
- - tests/rails-3_capybara-1/config/cucumber.yml
194
- - tests/rails-3_capybara-1/config/database.yml
195
- - tests/rails-3_capybara-1/config/environment.rb
196
- - tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb
197
- - tests/rails-3_capybara-1/config/initializers/inflections.rb
198
- - tests/rails-3_capybara-1/config/initializers/mime_types.rb
199
- - tests/rails-3_capybara-1/config/initializers/secret_token.rb
200
- - tests/rails-3_capybara-1/config/initializers/session_store.rb
201
- - tests/rails-3_capybara-1/config/routes.rb
202
- - tests/rails-3_capybara-1/db
203
- - tests/rails-3_capybara-1/features/shared
204
- - tests/rails-3_capybara-1/features/support/env.rb
205
- - tests/rails-3_capybara-1/features/support/paths.rb
206
- - tests/rails-3_capybara-1/features/support/selectors.rb
207
- - tests/rails-3_capybara-1/features/support/selenium.rb
208
- - tests/rails-3_capybara-1/public
209
- - tests/rails-3_capybara-1/script/cucumber
210
- - tests/rails-3_capybara-1/script/rails
211
- - tests/rails-3_capybara-2/.ruby-version
212
- - tests/rails-3_capybara-2/Gemfile
213
- - tests/rails-3_capybara-2/Gemfile.lock
214
- - tests/rails-3_capybara-2/Rakefile
215
- - tests/rails-3_capybara-2/app
216
- - tests/rails-3_capybara-2/config
217
- - tests/rails-3_capybara-2/config.ru
218
- - tests/rails-3_capybara-2/db
219
- - tests/rails-3_capybara-2/features
220
- - tests/rails-3_capybara-2/public
221
- - tests/rails-3_capybara-2/script
222
- - tests/rails-4_capybara-3/Gemfile
223
- - tests/rails-4_capybara-3/Gemfile.lock
224
- - tests/rails-4_capybara-3/README.rdoc
225
- - tests/rails-4_capybara-3/Rakefile
226
- - tests/rails-4_capybara-3/app
227
- - tests/rails-4_capybara-3/bin/bundle
228
- - tests/rails-4_capybara-3/bin/rails
229
- - tests/rails-4_capybara-3/bin/rake
230
- - tests/rails-4_capybara-3/bin/setup
231
- - tests/rails-4_capybara-3/config.ru
232
- - tests/rails-4_capybara-3/config/application.rb
233
- - tests/rails-4_capybara-3/config/boot.rb
234
- - tests/rails-4_capybara-3/config/cucumber.yml
235
- - tests/rails-4_capybara-3/config/database.yml
236
- - tests/rails-4_capybara-3/config/environment.rb
237
- - tests/rails-4_capybara-3/config/environments/development.rb
238
- - tests/rails-4_capybara-3/config/environments/test.rb
239
- - tests/rails-4_capybara-3/config/initializers/backtrace_silencers.rb
240
- - tests/rails-4_capybara-3/config/initializers/cookies_serializer.rb
241
- - tests/rails-4_capybara-3/config/initializers/filter_parameter_logging.rb
242
- - tests/rails-4_capybara-3/config/initializers/inflections.rb
243
- - tests/rails-4_capybara-3/config/initializers/mime_types.rb
244
- - tests/rails-4_capybara-3/config/initializers/session_store.rb
245
- - tests/rails-4_capybara-3/config/initializers/silence_deprecation_warnings.rb
246
- - tests/rails-4_capybara-3/config/initializers/to_time_preserves_timezone.rb
247
- - tests/rails-4_capybara-3/config/initializers/wrap_parameters.rb
248
- - tests/rails-4_capybara-3/config/locales/en.yml
249
- - tests/rails-4_capybara-3/config/routes.rb
250
- - tests/rails-4_capybara-3/config/secrets.yml
251
- - tests/rails-4_capybara-3/db
252
- - tests/rails-4_capybara-3/features/browser_tab_steps.feature
253
- - tests/rails-4_capybara-3/features/development_steps.feature
254
- - tests/rails-4_capybara-3/features/email_steps.feature
255
- - tests/rails-4_capybara-3/features/overriding.feature
256
- - tests/rails-4_capybara-3/features/session_steps.feature
257
- - tests/rails-4_capybara-3/features/step_definitions/overriding_steps.rb
258
- - tests/rails-4_capybara-3/features/step_definitions/test_steps.rb
259
- - tests/rails-4_capybara-3/features/support/env.rb
260
- - tests/rails-4_capybara-3/features/support/paths.rb
261
- - tests/rails-4_capybara-3/features/support/selectors.rb
262
- - tests/rails-4_capybara-3/features/support/selenium.rb
263
- - tests/rails-4_capybara-3/features/table_steps.feature
264
- - tests/rails-4_capybara-3/features/time_steps.feature
265
- - tests/rails-4_capybara-3/features/web_steps.feature
266
- - tests/rails-4_capybara-3/lib/tasks/cucumber.rake
267
- - tests/rails-4_capybara-3/log/.keep
268
- - tests/rails-4_capybara-3/public/404.html
269
- - tests/rails-4_capybara-3/public/422.html
270
- - tests/rails-4_capybara-3/public/500.html
271
- - tests/rails-4_capybara-3/public/favicon.ico
272
- - tests/rails-4_capybara-3/public/fixture_files
273
- - 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
274
241
  - tests/rails-6_capybara-3/.ruby-version
275
242
  - tests/rails-6_capybara-3/Gemfile
276
243
  - tests/rails-6_capybara-3/Gemfile.lock
@@ -307,6 +274,7 @@ files:
307
274
  - tests/rails-6_capybara-3/features/browser_tab_steps.feature
308
275
  - tests/rails-6_capybara-3/features/development_steps.feature
309
276
  - tests/rails-6_capybara-3/features/email_steps.feature
277
+ - tests/rails-6_capybara-3/features/iframe_steps.feature
310
278
  - tests/rails-6_capybara-3/features/overriding.feature
311
279
  - tests/rails-6_capybara-3/features/session_steps.feature
312
280
  - tests/rails-6_capybara-3/features/step_definitions/.gitkeep
@@ -333,6 +301,7 @@ files:
333
301
  - tests/shared/app/controllers/downloads_controller.rb
334
302
  - tests/shared/app/controllers/emails_controller.rb
335
303
  - tests/shared/app/controllers/forms_controller.rb
304
+ - tests/shared/app/controllers/iframes_controller.rb
336
305
  - tests/shared/app/controllers/static_pages_controller.rb
337
306
  - tests/shared/app/controllers/tables_controller.rb
338
307
  - tests/shared/app/models/mailer.rb
@@ -342,6 +311,8 @@ files:
342
311
  - tests/shared/app/views/forms/form2.html.haml
343
312
  - tests/shared/app/views/forms/invalid_form.html.haml
344
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
345
316
  - tests/shared/app/views/layouts/application.html.haml
346
317
  - tests/shared/app/views/layouts/mailer.html.erb
347
318
  - tests/shared/app/views/layouts/mailer.text.erb
@@ -360,6 +331,7 @@ files:
360
331
  - tests/shared/app/views/spreewald_mailer
361
332
  - tests/shared/app/views/static_pages/click_on.html.haml
362
333
  - tests/shared/app/views/static_pages/home.html.haml
334
+ - tests/shared/app/views/static_pages/iframe.haml
363
335
  - tests/shared/app/views/static_pages/link_to_home.html.haml
364
336
  - tests/shared/app/views/static_pages/links.html.haml
365
337
  - tests/shared/app/views/static_pages/numbers.html.haml
@@ -385,6 +357,7 @@ files:
385
357
  - tests/shared/features/shared/browser_tab_steps.feature
386
358
  - tests/shared/features/shared/development_steps.feature
387
359
  - tests/shared/features/shared/email_steps.feature
360
+ - tests/shared/features/shared/iframe_steps.feature
388
361
  - tests/shared/features/shared/overriding.feature
389
362
  - tests/shared/features/shared/session_steps.feature
390
363
  - tests/shared/features/shared/step_definitions/overriding_steps.rb
@@ -394,6 +367,7 @@ files:
394
367
  - tests/shared/features/shared/web_steps.feature
395
368
  - tests/shared/features/support/paths.rb
396
369
  - tests/shared/features/support/selectors.rb
370
+ - tests/shared/features/support/selenium.rb
397
371
  - tests/shared/public/favicon.ico
398
372
  - tests/shared/public/fixture_files/attachment.pdf
399
373
  - tests/shared/public/fixture_files/spreadsheet.ods
@@ -422,95 +396,59 @@ signing_key:
422
396
  specification_version: 4
423
397
  summary: Collection of useful cucumber steps.
424
398
  test_files:
425
- - tests/rails-3_capybara-1/.ruby-version
426
- - tests/rails-3_capybara-1/Gemfile
427
- - tests/rails-3_capybara-1/Gemfile.lock
428
- - tests/rails-3_capybara-1/Rakefile
429
- - tests/rails-3_capybara-1/app
430
- - tests/rails-3_capybara-1/config.ru
431
- - tests/rails-3_capybara-1/config/application.rb
432
- - tests/rails-3_capybara-1/config/boot.rb
433
- - tests/rails-3_capybara-1/config/cucumber.yml
434
- - tests/rails-3_capybara-1/config/database.yml
435
- - tests/rails-3_capybara-1/config/environment.rb
436
- - tests/rails-3_capybara-1/config/initializers/backtrace_silencers.rb
437
- - tests/rails-3_capybara-1/config/initializers/inflections.rb
438
- - tests/rails-3_capybara-1/config/initializers/mime_types.rb
439
- - tests/rails-3_capybara-1/config/initializers/secret_token.rb
440
- - tests/rails-3_capybara-1/config/initializers/session_store.rb
441
- - tests/rails-3_capybara-1/config/routes.rb
442
- - tests/rails-3_capybara-1/db
443
- - tests/rails-3_capybara-1/features/shared
444
- - tests/rails-3_capybara-1/features/support/env.rb
445
- - tests/rails-3_capybara-1/features/support/paths.rb
446
- - tests/rails-3_capybara-1/features/support/selectors.rb
447
- - tests/rails-3_capybara-1/features/support/selenium.rb
448
- - tests/rails-3_capybara-1/public
449
- - tests/rails-3_capybara-1/script/cucumber
450
- - tests/rails-3_capybara-1/script/rails
451
- - tests/rails-3_capybara-2/.ruby-version
452
- - tests/rails-3_capybara-2/Gemfile
453
- - tests/rails-3_capybara-2/Gemfile.lock
454
- - tests/rails-3_capybara-2/Rakefile
455
- - tests/rails-3_capybara-2/app
456
- - tests/rails-3_capybara-2/config
457
- - tests/rails-3_capybara-2/config.ru
458
- - tests/rails-3_capybara-2/db
459
- - tests/rails-3_capybara-2/features
460
- - tests/rails-3_capybara-2/public
461
- - tests/rails-3_capybara-2/script
462
- - tests/rails-4_capybara-3/Gemfile
463
- - tests/rails-4_capybara-3/Gemfile.lock
464
- - tests/rails-4_capybara-3/README.rdoc
465
- - tests/rails-4_capybara-3/Rakefile
466
- - tests/rails-4_capybara-3/app
467
- - tests/rails-4_capybara-3/bin/bundle
468
- - tests/rails-4_capybara-3/bin/rails
469
- - tests/rails-4_capybara-3/bin/rake
470
- - tests/rails-4_capybara-3/bin/setup
471
- - tests/rails-4_capybara-3/config.ru
472
- - tests/rails-4_capybara-3/config/application.rb
473
- - tests/rails-4_capybara-3/config/boot.rb
474
- - tests/rails-4_capybara-3/config/cucumber.yml
475
- - tests/rails-4_capybara-3/config/database.yml
476
- - tests/rails-4_capybara-3/config/environment.rb
477
- - tests/rails-4_capybara-3/config/environments/development.rb
478
- - tests/rails-4_capybara-3/config/environments/test.rb
479
- - tests/rails-4_capybara-3/config/initializers/backtrace_silencers.rb
480
- - tests/rails-4_capybara-3/config/initializers/cookies_serializer.rb
481
- - tests/rails-4_capybara-3/config/initializers/filter_parameter_logging.rb
482
- - tests/rails-4_capybara-3/config/initializers/inflections.rb
483
- - tests/rails-4_capybara-3/config/initializers/mime_types.rb
484
- - tests/rails-4_capybara-3/config/initializers/session_store.rb
485
- - tests/rails-4_capybara-3/config/initializers/silence_deprecation_warnings.rb
486
- - tests/rails-4_capybara-3/config/initializers/to_time_preserves_timezone.rb
487
- - tests/rails-4_capybara-3/config/initializers/wrap_parameters.rb
488
- - tests/rails-4_capybara-3/config/locales/en.yml
489
- - tests/rails-4_capybara-3/config/routes.rb
490
- - tests/rails-4_capybara-3/config/secrets.yml
491
- - tests/rails-4_capybara-3/db
492
- - tests/rails-4_capybara-3/features/browser_tab_steps.feature
493
- - tests/rails-4_capybara-3/features/development_steps.feature
494
- - tests/rails-4_capybara-3/features/email_steps.feature
495
- - tests/rails-4_capybara-3/features/overriding.feature
496
- - tests/rails-4_capybara-3/features/session_steps.feature
497
- - tests/rails-4_capybara-3/features/step_definitions/overriding_steps.rb
498
- - tests/rails-4_capybara-3/features/step_definitions/test_steps.rb
499
- - tests/rails-4_capybara-3/features/support/env.rb
500
- - tests/rails-4_capybara-3/features/support/paths.rb
501
- - tests/rails-4_capybara-3/features/support/selectors.rb
502
- - tests/rails-4_capybara-3/features/support/selenium.rb
503
- - tests/rails-4_capybara-3/features/table_steps.feature
504
- - tests/rails-4_capybara-3/features/time_steps.feature
505
- - tests/rails-4_capybara-3/features/web_steps.feature
506
- - tests/rails-4_capybara-3/lib/tasks/cucumber.rake
507
- - tests/rails-4_capybara-3/log/.keep
508
- - tests/rails-4_capybara-3/public/404.html
509
- - tests/rails-4_capybara-3/public/422.html
510
- - tests/rails-4_capybara-3/public/500.html
511
- - tests/rails-4_capybara-3/public/favicon.ico
512
- - tests/rails-4_capybara-3/public/fixture_files
513
- - 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
514
452
  - tests/rails-6_capybara-3/.ruby-version
515
453
  - tests/rails-6_capybara-3/Gemfile
516
454
  - tests/rails-6_capybara-3/Gemfile.lock
@@ -547,6 +485,7 @@ test_files:
547
485
  - tests/rails-6_capybara-3/features/browser_tab_steps.feature
548
486
  - tests/rails-6_capybara-3/features/development_steps.feature
549
487
  - tests/rails-6_capybara-3/features/email_steps.feature
488
+ - tests/rails-6_capybara-3/features/iframe_steps.feature
550
489
  - tests/rails-6_capybara-3/features/overriding.feature
551
490
  - tests/rails-6_capybara-3/features/session_steps.feature
552
491
  - tests/rails-6_capybara-3/features/step_definitions/.gitkeep
@@ -573,6 +512,7 @@ test_files:
573
512
  - tests/shared/app/controllers/downloads_controller.rb
574
513
  - tests/shared/app/controllers/emails_controller.rb
575
514
  - tests/shared/app/controllers/forms_controller.rb
515
+ - tests/shared/app/controllers/iframes_controller.rb
576
516
  - tests/shared/app/controllers/static_pages_controller.rb
577
517
  - tests/shared/app/controllers/tables_controller.rb
578
518
  - tests/shared/app/models/mailer.rb
@@ -582,6 +522,8 @@ test_files:
582
522
  - tests/shared/app/views/forms/form2.html.haml
583
523
  - tests/shared/app/views/forms/invalid_form.html.haml
584
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
585
527
  - tests/shared/app/views/layouts/application.html.haml
586
528
  - tests/shared/app/views/layouts/mailer.html.erb
587
529
  - tests/shared/app/views/layouts/mailer.text.erb
@@ -600,6 +542,7 @@ test_files:
600
542
  - tests/shared/app/views/spreewald_mailer
601
543
  - tests/shared/app/views/static_pages/click_on.html.haml
602
544
  - tests/shared/app/views/static_pages/home.html.haml
545
+ - tests/shared/app/views/static_pages/iframe.haml
603
546
  - tests/shared/app/views/static_pages/link_to_home.html.haml
604
547
  - tests/shared/app/views/static_pages/links.html.haml
605
548
  - tests/shared/app/views/static_pages/numbers.html.haml
@@ -625,6 +568,7 @@ test_files:
625
568
  - tests/shared/features/shared/browser_tab_steps.feature
626
569
  - tests/shared/features/shared/development_steps.feature
627
570
  - tests/shared/features/shared/email_steps.feature
571
+ - tests/shared/features/shared/iframe_steps.feature
628
572
  - tests/shared/features/shared/overriding.feature
629
573
  - tests/shared/features/shared/session_steps.feature
630
574
  - tests/shared/features/shared/step_definitions/overriding_steps.rb
@@ -634,6 +578,7 @@ test_files:
634
578
  - tests/shared/features/shared/web_steps.feature
635
579
  - tests/shared/features/support/paths.rb
636
580
  - tests/shared/features/support/selectors.rb
581
+ - tests/shared/features/support/selenium.rb
637
582
  - tests/shared/public/favicon.ico
638
583
  - tests/shared/public/fixture_files/attachment.pdf
639
584
  - tests/shared/public/fixture_files/spreadsheet.ods