Repository navigation
Add Playwright end-to-end tests for the uSync dashboard - #1111
Merged
Merged
Conversation
A new uSync.Tests.E2E project, using @umbraco/playwright-testhelpers, with smoke tests for the uSync dashboard: it opens from the settings menu, shows the actions for a group, and can run a report. The tests run locally against uSyncSource.Site, which Playwright starts when it isn't already running. They are not wired into the workflows, as the test sites are not in the repo. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 26, 2026
Merged
This was referenced Nov 9, 2026
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.
Adds a
uSync.Tests.E2Eproject with Playwright tests that drive the uSync backoffice in a real Umbraco site, using@umbraco/playwright-testhelpers.What's in it
playwright.config.tsstartsuSyncSource.Siteonhttps://localhost:44398when it isn't already running, or reuses it when it is. SettingUMBRACO_URLpoints the tests at another site instead.tests/auth.setup.tssigns in once and saves the session. It defaults to the unattended install user from theUMBRACO__CMS__UNATTENDED__*environment variables;UMBRACO_USER_LOGIN/UMBRACO_USER_PASSWORDoverride that.tests/usync-dashboard.spec.tshas three tests: uSync opens from the settings menu, the Settings group shows Report / Import / Export, and a Settings report runs to completion.package.jsongainsinstall-e2eandtest-e2escripts.Local only
These are not wired into the workflows. The test sites are gitignored, so CI has nothing to run them against.
Notes
tslibis listed as a dev dependency because the testhelpers need it but don't declare it.lateston npm is 18).Testing
npm run test-e2epasses locally: 4 passed (auth setup plus the three dashboard tests).🤖 Generated with Claude Code