Skip to content

Conversation

@Lipata
Copy link
Member

@Lipata Lipata commented Nov 18, 2025

No description provided.

@Lipata Lipata requested a review from Copilot November 18, 2025 15:07
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 pull request migrates the testing infrastructure from jsdom to Playwright for browser-based testing in the web components templates. The change enables real browser testing instead of DOM simulation, providing more accurate test results for web components.

Key changes:

  • Replaced jsdom with Playwright for browser testing in vitest configuration
  • Updated multiple devDependencies to their latest versions
  • Configured vitest to run tests in Chromium via Playwright

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

File Description
packages/cli/templates/webcomponents/igc-ts/projects/_base/files/package.json Added Playwright dependency, removed jsdom, and updated devDependencies versions
packages/cli/templates/webcomponents/igc-ts/projects/_base/files/vite.config.ts Configured vitest to use Playwright browser provider instead of jsdom environment
packages/cli/templates/webcomponents/igc-ts/projects/_base_with_home/files/package.json Added Playwright dependency, removed jsdom, and updated devDependencies versions

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

@Lipata Lipata changed the title feat: update tests to use Playwright feat(wc): update tests to use Playwright Nov 18, 2025
@coveralls
Copy link

Coverage Status

coverage: 70.369%. remained the same
when pulling 517ea99 on nalipiev/update-wc-test-playwright
into 549f80a on master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants