Skip to content

sync skip; aborting execution error thrown when this.skip() inside function #14867

@przemek-rzedkowski

Description

@przemek-rzedkowski

Current behavior

Scenarios skipped with use of "@Focus" annotation generates a bug as seen on screenshot:
image

Focused scenario(s) run(s) correctly. It happened shortly after upgrading cypress to v.6.4.0 (I was using 6.3.0 before). Also I am using cypress-cucumber-preprocessor v.4.0.0. Problem disappears while running tests without annotation.
It's my first bug here so if you need any additional info please let me know, I will gladly provide :)

Desired behavior

It should simply run focused scenario(s) and skip the rest of them without failing .

Versions

Cypress v.6.4.0
cypress-cucumber-preprocessor v.4.0.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions