Skip to content

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

Open
wants to merge 65 commits into
base: v15/dev
Choose a base branch
from

Conversation

andr317c
Copy link
Contributor

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

@andr317c andr317c marked this pull request as ready for review June 13, 2025 09:01
@Copilot Copilot AI review requested due to automatic review settings June 13, 2025 09:01
Copy link
Contributor

@Copilot Copilot AI left a 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 using npm run testSqlite, which only runs the SQLite install tests—this should likely be npm run test to execute the full default suite.
testCommand: "npm run testSqlite -- --shard=1/3"

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