Skip to content

Configure minimum viewport resolution for Cypress e2e tests #14595

@momesgin

Description

@momesgin

Is your feature request related to a problem? Please describe.

We should define a minimum resolution for our E2E tests, right now Cypress uses its default resolution of 1000×660, that is smaller than a typical desktop screen, we should set it to 1280×720 at least, which is a common minimum for desktop environments. We already override the resolution in individual tests (e.g., 1280×720 or 1440×900) based on specific scenarios, it would be better to update the global default to avoid relying on the lower 1000×660 baseline.

Describe the solution you'd like

We can easily set the viewport resolution in the Cypress defineConfig object.

Describe alternatives you've considered

Additional context

This suggestion has already been approved by the QA team in a slack thread.

Metadata

Metadata

Assignees

Labels

QA/dev-automationIssues that engineers have written automation around so QA doesn't have look at thiskind/tech-debtTechnical debt

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions