Skip to content

cy.viewport() iPad preset orientation's landscape and portrait are inversed #100

@jennifer-shehane

Description

@jennifer-shehane

The following command sets the screen size to 768 height and 1024 width. An ipad2 in portrait should have 1024 height and 768 width.

cy.viewport("ipad-2", "portrait")

The following command sets the screen size to 1024 height and 768 width. An ipad2 in landscape should have 768 height and 1024 width.

cy.viewport("ipad-2", "landscape")

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions