Skip to content

ci: run the DB configuration with Playwright - #1169

Merged
renemadsen merged 1 commit into
stablefrom
ci/1168-playwright-db-config
Oct 1, 2026
Merged

renemadsen merged 1 commit into
stablefrom
ci/1168-playwright-db-config

Conversation

@renemadsen

Copy link
Copy Markdown
Member

Closes #1168

Job pn-playwright-test (both dotnet-core-master.yml and dotnet-core-pr.yml) still ran the legacy Cypress spec cypress/e2e/db/* against eform-angular-frontend stable. Frontend removed the constants that spec imports (991ac571e, 2026-05-02), so "DB Configuration" has failed on every run since (e.g. stable run 36400200829).

Replaced with the Playwright DB configuration used by the other plugins (reference: microting/eform-angular-greate-belt-plugin#1278): sed on playwright/e2e/Constants/DatabaseConfigurationConstants.ts, wait for the app, npx playwright test playwright/e2e/Tests/database-configuration/. The job already installs Playwright browsers, so no extra step.

Verified: YAML parses; frontend paths exist on stable; same steps as the merged greate-belt fix. The PR run is the real test.
Note: the plugin's own Playwright specs that run after this step have not been reached in recent runs, so they run for the first time in a while.

🤖 Generated with Claude Code

The DB configuration step still ran the legacy Cypress spec against
eform-angular-frontend stable, which removed the constants that spec
imports in May, so the step failed on every run. Use the Playwright DB
configuration, as the other plugins do.

closes #1168

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Copilot AI balanced review requested due to automatic review settings October 1, 2026 07:09

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

The updated paths and commands align with the frontend Playwright configuration and existing CI setup.

Review effort: Balanced
Findings: None

What changed in this PR

Migrates database configuration CI from obsolete Cypress tests to the frontend’s Playwright suite.

Changes:

  • Updates database constants to target the Docker MariaDB host.
  • Waits for the application before running Playwright database configuration tests.
  • Applies the migration to pull-request and branch workflows.
File Description
.github/​workflows/​dotnet-core-pr.yml Migrates PR database configuration testing to Playwright.
.github/​workflows/​dotnet-core-master.yml Migrates branch database configuration testing to Playwright.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@renemadsen
renemadsen merged commit f383a37 into stable Oct 1, 2026
6 of 7 checks passed
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.

2 participants