Skip to content

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

@drabikowy

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions