Skip to content

ci: add UMD smoke test to ci-superdoc pipeline (SD-1917)#2029

Merged
caio-pizzol merged 2 commits intomainfrom
caio/sd-1917-add-umd-smoke-test-to-ci-pipeline
Feb 14, 2026
Merged

ci: add UMD smoke test to ci-superdoc pipeline (SD-1917)#2029
caio-pizzol merged 2 commits intomainfrom
caio/sd-1917-add-umd-smoke-test-to-ci-pipeline

Conversation

@caio-pizzol
Copy link
Contributor

No description provided.

SD-1917: Loads the locally built UMD bundle in a headless browser after
build and asserts window.SuperDocLibrary initializes without errors.
@linear
Copy link

linear bot commented Feb 14, 2026

@caio-pizzol caio-pizzol self-assigned this Feb 14, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4b12888ddc

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

@@ -0,0 +1,16 @@
import { test, expect } from '@playwright/test';

Choose a reason for hiding this comment

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

P1 Badge Rename Playwright smoke test to avoid Vitest collection

This file is added under packages/superdoc with a .test.ts suffix, so it is matched by the normal Vitest run (pnpm test in .github/workflows/ci-superdoc.yml runs before the Playwright step, and vitest.config.mjs includes ./packages/superdoc while packages/superdoc/vite.config.js only excludes **/*.spec.js). Because the test uses @playwright/test instead of Vitest’s test, Vitest will try to process it as a unit test file and can fail the pipeline before the dedicated UMD smoke test stage runs.

Useful? React with 👍 / 👎.

The Playwright smoke test was being picked up by vitest's default
*.test.ts glob, causing a test() conflict error.
@caio-pizzol caio-pizzol merged commit 59e9659 into main Feb 14, 2026
4 checks passed
@caio-pizzol caio-pizzol deleted the caio/sd-1917-add-umd-smoke-test-to-ci-pipeline branch February 14, 2026 15:48
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.

1 participant