Skip to content

Indicate the actions that are included in the within() call in the log #7673

@sazzer

Description

@sazzer

Current behavior:

Currently when a call to cy.within() is made, the log shows this but there is no way to see which of the following calls are made from inside this and which are outside of it.

For example:
image

Desired behavior:

Some way to indicate the commands that are included inside the cy.within() call would make it easier to read the log. For example, indenting the entries slightly. This would also be useful if they nested as multiple calls to cy.within() are made.

For example:
image

Test code to reproduce

Any test using cy.within()

Versions

This was using Cypress 4.7.0.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pkg/reporterThis is due to an issue in the packages/reporter directorytype: user experienceImprovements needed for UX

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions