You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.
Current behaviour
After hook is still executed if we try to skip test in before hook.
cy.skipOn() in after hook does not work after(() => { cy.skipOn(1 < 2); cy.visit(""); });
this.skip forbidden error
Expected behaviour
After hook should not be executed if we skip test
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cypress v12.1.0
Node 18.12.1
Code:
describe("test", () => { before(() => { cy.skipOn(1 < 2); }); after(() => { cy.visit(""); }); it("test", () => { cy.visit(""); }); });
Current behaviour
After hook is still executed if we try to skip test in before hook.
cy.skipOn() in after hook does not work
after(() => { cy.skipOn(1 < 2); cy.visit(""); });
this.skip forbidden error
Expected behaviour
After hook should not be executed if we skip test
The text was updated successfully, but these errors were encountered: