Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Runnable instance not passed to test:after:run #25663

Closed
drabikowy opened this issue Feb 1, 2023 · 2 comments · Fixed by #25678
Closed

Runnable instance not passed to test:after:run #25663

drabikowy opened this issue Feb 1, 2023 · 2 comments · Fixed by #25678
Assignees

Comments

@drabikowy
Copy link

Current behavior

It seems that after the update from 12.4.1 to 12.5.0, runnable instance is not passed to "test:after:run" event. Boolean is returned instead.

Desired behavior

No response

Test code to reproduce

// index.js

Cypress.on('test:after:run', (test, runnable) => {
    console.log(runnable) // Shall show runnable instance, "true" is being returned instead
});

Cypress Version

v12.5.0

Node version

v16

Operating System

macOS 13

Debug Logs

No response

Other

No response

@mschile mschile self-assigned this Feb 1, 2023
@mschile
Copy link
Contributor

mschile commented Feb 1, 2023

Thanks for reporting this issue @drabikowy. I'm working on a fix now.

@cypress-bot
Copy link
Contributor

cypress-bot bot commented Feb 2, 2023

Released in 12.5.1.

This comment thread has been locked. If you are still experiencing this issue after upgrading to
Cypress v12.5.1, please open a new issue.

@cypress-bot cypress-bot bot locked as resolved and limited conversation to collaborators Feb 2, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants