-
Notifications
You must be signed in to change notification settings - Fork 2.8k
V15 QA acceptance tests with appsettings #19550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: v15/dev
Are you sure you want to change the base?
Conversation
…tests-with-appsettings # Conflicts: # build/nightly-E2E-test-pipelines.yml
…tests-with-appsettings
…tests-with-appsettings
There was a problem hiding this 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 PR enhances the acceptance test suite by introducing configurable appsettings and corresponding test classes for different scenarios (default, unattended install, and Delivery API), and updates the CI pipeline to run these variants.
- Added
appsettings.json
configurations for Default, UnattendedInstallConfig, and DeliveryApi test scenarios - Introduced Playwright spec files for SQLite, SQL Server Express installs, and Delivery API validations
- Updated
playwright.config.ts
and the nightly E2E pipeline to parameterize tests by configuration
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 3 comments.
Show a summary per file
File | Description |
---|---|
tests/.../UnattendedInstallConfig/appsettings.json | New config disabling unattended install and cleanup for install tests |
tests/.../UnattendedInstallConfig/Install/InstallSQLite.spec.ts | New Playwright test for SQLite install |
tests/.../UnattendedInstallConfig/Install/InstallSQLServer.spec.ts | New Playwright test for SQL Server Express install |
tests/.../DeliveryApi/appsettings.json | New Delivery API test configuration |
tests/.../DeliveryApi/Program.cs | Program setup for Delivery API integration test |
tests/.../DeliveryApi/DeliveryApi.spec.ts | New Playwright tests against Delivery API |
tests/.../DefaultConfig/appsettings.json | Default test configuration |
tests/.../playwright.config.ts | Added defaultConfig , deliveryApi , and unattendedInstallConfig projects |
tests/.../package.json | Bumped testhelpers dependency |
build/nightly-E2E-test-pipelines.yml | Extended pipeline to handle multiple testFolder matrices |
Files not reviewed (1)
- tests/Umbraco.Tests.AcceptanceTest/package-lock.json: Language not supported
Comments suppressed due to low confidence (1)
build/nightly-E2E-test-pipelines.yml:301
- The
DefaultConfig
matrix is usingnpm run testSqlite
, which only runs the SQLite install tests—this should likely benpm run test
to execute the full default suite.
testCommand: "npm run testSqlite -- --shard=1/3"
Added the possibility to run tests with different app settings and classes.
This PR contains tests without unattended install and a few tests using the Delivery Api