Skip to content

Add documentation about resolution size when running headlessly #2702

@CypressCecelia

Description

@CypressCecelia

I'm submitting a...

[ ] Bug report
 X] Content update
[ ] Process update (build, deployment, ... )

Type of bug / changes

There seems to be some confusion around viewport size vs resolution when running headlessly, and how to override the default setting (Recently updated from 800x600 to 1280x720 in 4.1.0.)

We should add documentation around the difference and include instructions for overriding this setting, as described in cypress-io/cypress#6210 (comment).

  • Add note to cy.viewport clarifying it only applies to the GUI/Test Runner when using cypress open

  • Add FAQ for "how do I update the resolution when running headlessly?"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions