Skip to content

Configure Playwright viewport and reduced motion emulation#1894

Merged
simonknittel merged 5 commits intodevelopfrom
copilot/configure-playwright-viewport
Jan 31, 2026
Merged

Configure Playwright viewport and reduced motion emulation#1894
simonknittel merged 5 commits intodevelopfrom
copilot/configure-playwright-viewport

Conversation

Copy link
Contributor

Copilot AI commented Jan 31, 2026

Standardizes Playwright test environment with fixed viewport dimensions and accessibility motion preferences.

Changes

  • Configuration (playwright.config.ts):
    • Set viewport to 1280×720
    • Enable reducedMotion: "reduce" for prefers-reduced-motion emulation
use: {
  baseURL: process.env.BASE_URL,
  trace: "on-first-retry",
  viewport: { width: 1280, height: 720 },
  reducedMotion: "reduce",
},

All tests now run with consistent viewport dimensions and accessibility motion preferences for reliable cross-browser testing.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@vercel
Copy link

vercel bot commented Jan 31, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
sam Ignored Ignored Preview Jan 31, 2026 11:01am

Copilot AI and others added 3 commits January 31, 2026 10:54
Co-authored-by: simonknittel <8451099+simonknittel@users.noreply.github.com>
Co-authored-by: simonknittel <8451099+simonknittel@users.noreply.github.com>
Co-authored-by: simonknittel <8451099+simonknittel@users.noreply.github.com>
Copilot AI changed the title [WIP] Configure Playwright for viewport and reduced motion Configure Playwright viewport and reduced motion emulation Jan 31, 2026
Copilot AI requested a review from simonknittel January 31, 2026 10:57
Co-authored-by: simonknittel <8451099+simonknittel@users.noreply.github.com>
@sonarqubecloud
Copy link

Copilot AI requested a review from simonknittel January 31, 2026 11:02
@simonknittel simonknittel marked this pull request as ready for review January 31, 2026 11:02
Copilot AI review requested due to automatic review settings January 31, 2026 11:02
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR standardizes the Playwright test environment by configuring consistent viewport dimensions and accessibility motion preferences to ensure reliable cross-browser testing.

Changes:

  • Set fixed viewport dimensions to 1280×720 pixels
  • Enable reduced motion emulation for accessibility testing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@simonknittel simonknittel enabled auto-merge (squash) January 31, 2026 11:03
@simonknittel simonknittel merged commit d111474 into develop Jan 31, 2026
7 checks passed
@simonknittel simonknittel deleted the copilot/configure-playwright-viewport branch January 31, 2026 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants