Skip to content

Set up Playwright for fast-element testing - #7239

Merged
Jane Chu (janechu) merged 23 commits into
microsoft:mainfrom
marchbox:users/machi/fast-element-tests
Jan 28, 2026
Merged

Set up Playwright for fast-element testing#7239
Jane Chu (janechu) merged 23 commits into
microsoft:mainfrom
marchbox:users/machi/fast-element-tests

Conversation

@marchbox

@marchbox Zacky Ma (marchbox) commented Dec 10, 2025

Copy link
Copy Markdown
Contributor

📖 Description

Currently the tests in fast-element use Karma, Chai, and Mocha, this infrastructure is a bit outdated and doesn’t align with the tech stack used in fast-html and other projects we work on. It also makes it difficult to test in non-Chromium environments.

This PR is intended to add a basic set up for using Playwright for all testing. Not all tests have been converted to use Playwright, and some aspects are still not working yet (e.g. when it involves decorator). But it’s a good starting point and we can incrementally migrate the rest of tests onto Playwright appoach.

🎫 Issues

#7253

@marchbox
Zacky Ma (marchbox) force-pushed the users/machi/fast-element-tests branch from e7578da to 254b9e2 Compare January 5, 2026 20:59
@marchbox
Zacky Ma (marchbox) force-pushed the users/machi/fast-element-tests branch from 1be21c1 to fd1b9b4 Compare January 8, 2026 00:03
Comment thread packages/fast-element/package.json Outdated
@janechu

Copy link
Copy Markdown
Collaborator

Thanks, this is a great start!

@janechu

Copy link
Copy Markdown
Collaborator

/AzurePipelines run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

@janechu
Jane Chu (janechu) merged commit b5ed37b into microsoft:main Jan 28, 2026
5 checks passed
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.

2 participants