Set up Playwright for fast-element testing - #7239
Merged
Jane Chu (janechu) merged 23 commits intoJan 28, 2026
Merged
Conversation
Zacky Ma (marchbox)
force-pushed
the
users/machi/fast-element-tests
branch
from
January 5, 2026 20:59
e7578da to
254b9e2
Compare
…fast into users/machi/fast-element-tests
Zacky Ma (marchbox)
force-pushed
the
users/machi/fast-element-tests
branch
from
January 8, 2026 00:03
1be21c1 to
fd1b9b4
Compare
Jane Chu (janechu)
force-pushed
the
main
branch
from
January 23, 2026 22:00
6cb42b4 to
ab4f457
Compare
Zacky Ma (marchbox)
marked this pull request as ready for review
January 23, 2026 23:50
Zacky Ma (marchbox)
requested review from
Chris Holt (chrisdholt) and
John Kreitlow (radium-v)
as code owners
January 23, 2026 23:50
Jane Chu (janechu)
approved these changes
Jan 27, 2026
Collaborator
|
Thanks, this is a great start! |
Collaborator
|
/AzurePipelines run |
|
Azure Pipelines successfully started running 1 pipeline(s). |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📖 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