fix(ci): run current semantic CSS tests

This commit is contained in:
Amruth Pillai
2026-07-30 18:48:56 +02:00
parent b071a118a3
commit d314361ad6
2 changed files with 3 additions and 30 deletions
+2 -29
View File
@@ -77,37 +77,10 @@ jobs:
run: pnpm build run: pnpm build
- name: Run Baseline E2E Tests - 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" run: pnpm exec playwright test --grep-invert "@semantic-css"
- name: Run Semantic CSS Opt-In Acceptance - name: Run Semantic CSS Acceptance
env: run: pnpm exec playwright test tests/e2e/specs/semantic-css
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: Upload Playwright Report - name: Upload Playwright Report
if: always() if: always()
@@ -1,5 +1,5 @@
import { readSemanticCssFixture, updateSemanticCssFixture } from "../../fixtures/db"; import { readSemanticCssFixture, updateSemanticCssFixture } from "../../fixtures/db";
import { createSampleResumeFromDashboard } from "../../fixtures/resume"; import { createSampleResumeFromDashboard, openSidebarSection } from "../../fixtures/resume";
import { resumeIdFromPage } from "../../fixtures/semantic-css"; import { resumeIdFromPage } from "../../fixtures/semantic-css";
import { expect, test } from "../../fixtures/test"; import { expect, test } from "../../fixtures/test";