Skip to content

cy.stub().log(false) shouldn't disable # stub counts #18042

@exalted

Description

@exalted

Current behavior

Currently cy.stub().log(false) will also disable showing # calls in the UI which, IMO, isn't what one would expect.

See the below screenshot:

Screenshot 2021-09-09 at 15 06 30@2x

Desired behavior

When .log(false) is called, the stub command log shouldn't appear (this is not the issue), BUT the # calls should still show.

Test code to reproduce

Here's the repo to reproduce: https://github.com/exalted/cypress-stub-log-bug. All you need to do is to run npm run cypress:open.

Cypress Version

8.3.1

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg/driverThis is due to an issue in the packages/driver directory

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions