badeball / cypress-cucumber-preprocessor

Run cucumber/gherkin-syntaxed specs with Cypress
MIT License
1.32k stars 149 forks source link

Using @focus tag makes all tests without the tag fail in cypress with 'This.skip is not a function' #440

Closed symon-skelly closed 2 years ago

symon-skelly commented 4 years ago

Current behavior

When using any version of the preprocessor above 2.3.1 and using the @focus tag, any test without the tag will:

  1. Run any code within beforeEach(), essentially starting the test.
  2. Fail once it starts the first scenario step with the following error:

image

Desired behavior

When running tests with the @focus tag, skip the entire scenario, do not run any code for that scenario. do not throw the error.

Versions

ghost commented 4 years ago

Quite same here.

Using TypeScript 4.0.2, cypress 5.2.0, cypress-cucumber-preprocessor 2.5.5.

image

When executing this.skip in the debug console : image

Here is the full stacktrace :

  ../driver/node_modules/mocha/lib/runnable.js.Runnable.skip @ cypress_runner.js:103971
  ../driver/node_modules/mocha/lib/context.js.Context.skip @ cypress_runner.js:99245
  getRet @ cypress_runner.js:155153
  tryCatcher @ cypress_runner.js:10325
  Promise.attempt.Promise.try @ cypress_runner.js:7599
  thenFn @ cypress_runner.js:155171
  then @ cypress_runner.js:155611
  (anonymous) @ cypress_runner.js:170188
  __stackReplacementMarker @ cypress_runner.js:169321
  (anonymous) @ cypress_runner.js:169620
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  runCommand @ cypress_runner.js:169599
  next @ cypress_runner.js:169745
  (anonymous) @ cypress_runner.js:169773
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._settlePromise @ cypress_runner.js:8330
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._settlePromise @ cypress_runner.js:8330
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  Promise.timeout @ cypress_runner.js:10055
  thenFn @ cypress_runner.js:155171
  then @ cypress_runner.js:155611
  (anonymous) @ cypress_runner.js:170188
  __stackReplacementMarker @ cypress_runner.js:169321
  (anonymous) @ cypress_runner.js:169620
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  runCommand @ cypress_runner.js:169599
  next @ cypress_runner.js:169745
  (anonymous) @ cypress_runner.js:169773
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._settlePromise @ cypress_runner.js:8330
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._settlePromise @ cypress_runner.js:8330
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  Promise.timeout @ cypress_runner.js:10055
  thenFn @ cypress_runner.js:155171
  then @ cypress_runner.js:155611
  (anonymous) @ cypress_runner.js:170188
  __stackReplacementMarker @ cypress_runner.js:169321
  (anonymous) @ cypress_runner.js:169620
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  runCommand @ cypress_runner.js:169599
  next @ cypress_runner.js:169745
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  (anonymous) @ cypress_runner.js:169786
  cancellationExecute @ cypress_runner.js:5892
  Promise._resolveFromExecutor @ cypress_runner.js:8231
  Promise @ cypress_runner.js:7827
  run @ cypress_runner.js:169779
  cy. @ cypress_runner.js:170232
  eval @ createTestFromScenario.js:70
  __stackReplacementMarker @ cypress_runner.js:169321
  runnable.fn @ cypress_runner.js:170458
  callFn @ cypress_runner.js:104227
  ../driver/node_modules/mocha/lib/runnable.js.Runnable.run @ cypress_runner.js:104214
  (anonymous) @ cypress_runner.js:176303
  finallyHandler @ cypress_runner.js:6879
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._settlePromise @ cypress_runner.js:8330
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  Promise.caught.Promise.catch @ cypress_runner.js:7854
  onRunnableRun @ cypress_runner.js:176276
  action @ cypress_runner.js:166430
  Runnable.run @ cypress_runner.js:174622
  ../driver/node_modules/mocha/lib/runner.js.Runner.runTest @ cypress_runner.js:104886
  (anonymous) @ cypress_runner.js:105012
  next @ cypress_runner.js:104795
  (anonymous) @ cypress_runner.js:104805
  next @ cypress_runner.js:104707
  (anonymous) @ cypress_runner.js:104768
  next @ cypress_runner.js:176226
  (anonymous) @ cypress_runner.js:176248
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  Promise._fulfill @ cypress_runner.js:8386
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  Promise._fulfill @ cypress_runner.js:8386
  PromiseArray._resolve @ cypress_runner.js:8659
  PromiseArray._promiseFulfilled @ cypress_runner.js:8677
  PromiseArray._iterate @ cypress_runner.js:8647
  init @ cypress_runner.js:8611
  Promise._settlePromise @ cypress_runner.js:8314
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  Promise._fulfill @ cypress_runner.js:8386
  PromiseArray._resolve @ cypress_runner.js:8659
  PromiseArray._promiseFulfilled @ cypress_runner.js:8677
  Promise._settlePromise @ cypress_runner.js:8322
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  PromiseArray._resolve @ cypress_runner.js:8659
  init @ cypress_runner.js:8607
  MappingPromiseArray._asyncInit @ cypress_runner.js:7414
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  MappingPromiseArray @ cypress_runner.js:7409
  map @ cypress_runner.js:7540
  Promise.map @ cypress_runner.js:7548
  events.emitThen @ cypress_runner.js:173207
  parent. @ cypress_runner.js:173134
  action @ cypress_runner.js:166449
  fire @ cypress_runner.js:175055
  (anonymous) @ cypress_runner.js:175074
  tryCatcher @ cypress_runner.js:10325
  Promise.attempt.Promise.try @ cypress_runner.js:7599
  runnableAfterRunAsync @ cypress_runner.js:175072
  onNext @ cypress_runner.js:176245
  done @ cypress_runner.js:104167
  callFn @ cypress_runner.js:104250
  ../driver/node_modules/mocha/lib/runnable.js.Runnable.run @ cypress_runner.js:104214
  (anonymous) @ cypress_runner.js:176303
  finallyHandler @ cypress_runner.js:6879
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._settlePromise @ cypress_runner.js:8330
  Promise._settlePromiseCtx @ cypress_runner.js:8354
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  Promise._then @ cypress_runner.js:8009
  Promise.then @ cypress_runner.js:7873
  Promise.caught.Promise.catch @ cypress_runner.js:7854
  onRunnableRun @ cypress_runner.js:176276
  action @ cypress_runner.js:166430
  Runnable.run @ cypress_runner.js:174622
  next @ cypress_runner.js:104729
  (anonymous) @ cypress_runner.js:104773
  timeslice @ cypress_runner.js:98699
  setTimeout (async)    
  ../driver/node_modules/mocha/browser-entry.js.Mocha.Runner.immediately @ cypress_runner.js:98715
  ../driver/node_modules/mocha/lib/runner.js.Runner.hook @ cypress_runner.js:104772
  (anonymous) @ cypress_runner.js:178197
  next @ cypress_runner.js:104798
  (anonymous) @ cypress_runner.js:104805
  next @ cypress_runner.js:104707
  (anonymous) @ cypress_runner.js:104768
  next @ cypress_runner.js:176226
  (anonymous) @ cypress_runner.js:176248
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  Promise._fulfill @ cypress_runner.js:8386
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  Promise._fulfill @ cypress_runner.js:8386
  PromiseArray._resolve @ cypress_runner.js:8659
  PromiseArray._promiseFulfilled @ cypress_runner.js:8677
  PromiseArray._iterate @ cypress_runner.js:8647
  init @ cypress_runner.js:8611
  Promise._settlePromise @ cypress_runner.js:8314
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  Promise._fulfill @ cypress_runner.js:8386
  PromiseArray._resolve @ cypress_runner.js:8659
  PromiseArray._promiseFulfilled @ cypress_runner.js:8677
  Promise._settlePromise @ cypress_runner.js:8322
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  PromiseArray._resolve @ cypress_runner.js:8659
  init @ cypress_runner.js:8607
  MappingPromiseArray._asyncInit @ cypress_runner.js:7414
  (anonymous) @ cypress_runner.js:5007
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.invoke @ cypress_runner.js:5006
  MappingPromiseArray @ cypress_runner.js:7409
  map @ cypress_runner.js:7540
  Promise.map @ cypress_runner.js:7548
  events.emitThen @ cypress_runner.js:173207
  parent. @ cypress_runner.js:173134
  action @ cypress_runner.js:166449
  fire @ cypress_runner.js:175055
  (anonymous) @ cypress_runner.js:175074
  tryCatcher @ cypress_runner.js:10325
  Promise.attempt.Promise.try @ cypress_runner.js:7599
  runnableAfterRunAsync @ cypress_runner.js:175072
  onNext @ cypress_runner.js:176245
  done @ cypress_runner.js:104167
  (anonymous) @ cypress_runner.js:104232
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._settlePromise @ cypress_runner.js:8330
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  (anonymous) @ cypress_runner.js:8232
  tryCatcher @ cypress_runner.js:10325
  Promise._settlePromiseFromHandler @ cypress_runner.js:8260
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
  Promise.then (async)    
  schedule @ cypress_runner.js:9510
  ../../node_modules/bluebird/js/release/async.js.Async.settlePromises @ cypress_runner.js:5016
  Promise._fulfill @ cypress_runner.js:8388
  Promise._resolveCallback @ cypress_runner.js:8180
  Promise._settlePromiseFromHandler @ cypress_runner.js:8272
  Promise._settlePromise @ cypress_runner.js:8317
  Promise._settlePromise0 @ cypress_runner.js:8362
  Promise._settlePromises @ cypress_runner.js:8442
  (anonymous) @ cypress_runner.js:5017
rudyaditya commented 4 years ago

I'm also experienced this issue since version 2.5.5 and later. Please fix it @ focus feature is nice feature to make sure scenario can running well

badeball commented 2 years ago

Due to personal reasons, the previous maintainers of this package are stepping down and handing the reigns over to me, a long-time contributor to the project and a user of it myself. This is a responsibility I'm very excited about. Furthermore, I'd like to thank @lgandecki ++ for all the work that they've done so far.

Read more about the transfer of ownership here.

The repository has however moved and all outstanding issues are being closed. This is not a reflection of the perceived importance of your reported issue. However, if after upgrading to the new version, you still find there to be an issue, feel free to open up another ticket or comment below. Please make sure to read CONTRIBUTING.md before doing so.