@@ -209,7 +209,7 @@ Feature: Background
209
209
"""
210
210
211
211
Scenario : run a specific scenario with a background
212
- When I run `cucumber -q features/passing_background.feature:9 --publish-quiet `
212
+ When I run `cucumber -q features/passing_background.feature:9`
213
213
Then it should pass with exactly:
214
214
"""
215
215
Feature: Passing background sample
@@ -226,7 +226,7 @@ Feature: Background
226
226
"""
227
227
228
228
Scenario : run a feature with a background that passes
229
- When I run `cucumber -q features/passing_background.feature --publish-quiet `
229
+ When I run `cucumber -q features/passing_background.feature`
230
230
Then it should pass with exactly:
231
231
"""
232
232
Feature: Passing background sample
@@ -246,7 +246,7 @@ Feature: Background
246
246
"""
247
247
248
248
Scenario : run a feature with scenario outlines that has a background that passes
249
- When I run `cucumber -q features/scenario_outline_passing_background.feature --publish-quiet `
249
+ When I run `cucumber -q features/scenario_outline_passing_background.feature`
250
250
Then it should pass with exactly:
251
251
"""
252
252
Feature: Passing background with scenario outlines sample
@@ -274,7 +274,7 @@ Feature: Background
274
274
"""
275
275
276
276
Scenario : run a feature with scenario outlines that has a background that passes
277
- When I run `cucumber -q features/background_tagged_before_on_outline.feature --publish-quiet `
277
+ When I run `cucumber -q features/background_tagged_before_on_outline.feature`
278
278
Then it should pass with exactly:
279
279
"""
280
280
@background_tagged_before_on_outline
@@ -296,7 +296,7 @@ Feature: Background
296
296
"""
297
297
298
298
Scenario : run a feature with a background that fails
299
- When I run `cucumber -q features/failing_background.feature --publish-quiet `
299
+ When I run `cucumber -q features/failing_background.feature`
300
300
Then it should fail with exactly:
301
301
"""
302
302
Feature: Failing background sample
@@ -324,7 +324,7 @@ Feature: Background
324
324
"""
325
325
326
326
Scenario : run a feature with scenario outlines that has a background that fails
327
- When I run `cucumber -q features/scenario_outline_failing_background.feature --publish-quiet `
327
+ When I run `cucumber -q features/scenario_outline_failing_background.feature`
328
328
Then it should fail with exactly:
329
329
"""
330
330
Feature: Failing background with scenario outlines sample
@@ -359,7 +359,7 @@ Feature: Background
359
359
"""
360
360
361
361
Scenario : run a feature with a background that is pending
362
- When I run `cucumber -q features/pending_background.feature --publish-quiet `
362
+ When I run `cucumber -q features/pending_background.feature`
363
363
Then it should pass with exactly:
364
364
"""
365
365
Feature: Pending background sample
@@ -379,7 +379,7 @@ Feature: Background
379
379
"""
380
380
381
381
Scenario : background passes with first scenario but fails with second
382
- When I run `cucumber -q features/failing_background_after_success.feature --publish-quiet `
382
+ When I run `cucumber -q features/failing_background_after_success.feature`
383
383
Then it should fail with exactly:
384
384
"""
385
385
Feature: Failing background after previously successful background sample
@@ -408,7 +408,7 @@ Feature: Background
408
408
409
409
@global_state
410
410
Scenario : background passes with first outline scenario but fails with second
411
- When I run `cucumber -q features/failing_background_after_success_outline.feature --publish-quiet `
411
+ When I run `cucumber -q features/failing_background_after_success_outline.feature`
412
412
Then it should fail with exactly:
413
413
"""
414
414
Feature: Failing background after previously successful background sample
@@ -444,7 +444,7 @@ Feature: Background
444
444
445
445
@global_state
446
446
Scenario : background passes with first outline scenario but fails with second (--expand)
447
- When I run `cucumber -x -q features/failing_background_after_success_outline.feature --publish-quiet `
447
+ When I run `cucumber -x -q features/failing_background_after_success_outline.feature`
448
448
Then it should fail with exactly:
449
449
"""
450
450
Feature: Failing background after previously successful background sample
@@ -500,7 +500,7 @@ Feature: Background
500
500
expect(@multiline).to eq string
501
501
end
502
502
"""
503
- When I run `cucumber -q features/multiline_args_background.feature --publish-quiet `
503
+ When I run `cucumber -q features/multiline_args_background.feature`
504
504
Then it should pass with exactly:
505
505
"""
506
506
Feature: Passing background with multiline args
0 commit comments