From d314361ad6fb819e1149991ab79514ebad1bc06f Mon Sep 17 00:00:00 2001 From: Amruth Pillai Date: Thu, 30 Jul 2026 18:48:56 +0200 Subject: [PATCH] fix(ci): run current semantic CSS tests --- .github/workflows/e2e.yml | 31 ++----------------- .../specs/semantic-css/preservation.spec.ts | 2 +- 2 files changed, 3 insertions(+), 30 deletions(-) diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index c9a24a014..330021dc9 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -77,37 +77,10 @@ jobs: run: pnpm build - name: Run Baseline E2E Tests - env: - FLAG_SEMANTIC_CSS_AUTHORING: "false" - FLAG_SEMANTIC_CSS_DEFAULT: "false" run: pnpm exec playwright test --grep-invert "@semantic-css" - - name: Run Semantic CSS Opt-In Acceptance - env: - FLAG_SEMANTIC_CSS_AUTHORING: "true" - FLAG_SEMANTIC_CSS_DEFAULT: "false" - run: | - pnpm exec playwright test \ - tests/e2e/specs/semantic-css/legacy-conversion.spec.ts \ - tests/e2e/specs/semantic-css/invalid-last-valid.spec.ts \ - tests/e2e/specs/semantic-css/portable-stylesheet.spec.ts \ - tests/e2e/specs/semantic-css/revision-conflict.spec.ts \ - tests/e2e/specs/semantic-css/template-visual.spec.ts - - - name: Run Semantic CSS Default-On Acceptance - env: - FLAG_SEMANTIC_CSS_AUTHORING: "true" - FLAG_SEMANTIC_CSS_DEFAULT: "true" - run: pnpm exec playwright test tests/e2e/specs/semantic-css/default-mode.spec.ts - - - name: Run Semantic CSS Dormant Acceptance - env: - FLAG_SEMANTIC_CSS_AUTHORING: "false" - FLAG_SEMANTIC_CSS_DEFAULT: "false" - run: | - pnpm exec playwright test \ - tests/e2e/specs/semantic-css/dormant-mode.spec.ts \ - tests/e2e/specs/semantic-css/flag-off-semantic.spec.ts + - name: Run Semantic CSS Acceptance + run: pnpm exec playwright test tests/e2e/specs/semantic-css - name: Upload Playwright Report if: always() diff --git a/tests/e2e/specs/semantic-css/preservation.spec.ts b/tests/e2e/specs/semantic-css/preservation.spec.ts index 7967ed706..be39b61b8 100644 --- a/tests/e2e/specs/semantic-css/preservation.spec.ts +++ b/tests/e2e/specs/semantic-css/preservation.spec.ts @@ -1,5 +1,5 @@ import { readSemanticCssFixture, updateSemanticCssFixture } from "../../fixtures/db"; -import { createSampleResumeFromDashboard } from "../../fixtures/resume"; +import { createSampleResumeFromDashboard, openSidebarSection } from "../../fixtures/resume"; import { resumeIdFromPage } from "../../fixtures/semantic-css"; import { expect, test } from "../../fixtures/test";