mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2026-08-15 02:53:25 +10:00
fix(ci): run current semantic CSS tests
This commit is contained in:
@@ -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";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user