Skip to content

Consolidate Playwright tests#507

Draft
cemms1 wants to merge 5 commits into
mainfrom
cemms1/consolidate-playwright-tests
Draft

Consolidate Playwright tests#507
cemms1 wants to merge 5 commits into
mainfrom
cemms1/consolidate-playwright-tests

Conversation

@cemms1

@cemms1 cemms1 commented Nov 7, 2025

Copy link
Copy Markdown
Contributor

What does this change?

This combines all Playwright tests into one file, using a configuration file to supply the templates to take snapshots of.

There are no longer two tests per template, just one. This better reflects the situation since we are only testing "one" thing. Taking a snapshot is not really a test in itself. We need the before/after comparison for it to count as a test.

These tests run in parallel and save the snapshot data in the same way.

Fabric expandable and Fabric custom needed small adaptations in order to get these to work properly. These are included as if statements in the test.

💡 It might be nice to improve upon this by automatically testing all directories in the templates csr and ssr directories

@github-actions

github-actions Bot commented Nov 7, 2025

Copy link
Copy Markdown

Visual regression testing results 🔍

If any tests are failing, please check that any visual changes are intentional before merging your PR.

Template Visual test status

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.

1 participant