Skip to content

cy.viewport doesn't take effect if width not changed #873

@dwelle

Description

@dwelle
  • Operating System: Win7x64
  • Cypress Version: 1.0.3

Is this a Feature or Bug?

Bug

Current behavior:

Issuing cy.viewport( 1000, 200 ) doesn't change the viewport size if current viewport size is 1000x600, and thus only height is being changed (to 200).

Desired behavior:

Should change viewport height to 200

Metadata

Metadata

Assignees

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