Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

fix(ci): run current semantic CSS tests

Amruth Pillaid314361ad6fb
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";