Skip to content

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

Description

@drabikowy

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions