Skip to content

Commit 0b7703e

Browse files
committed
docs: add comment on how to run playwright test standalone
1 parent c3384a5 commit 0b7703e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

‎tests/integration/playwright/tests/html-embed-resources-es6-modules.spec.ts‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
import { expect, Page, test } from "@playwright/test";
22

3+
// To run this test standalone, first render the fixture with --output-dir:
4+
// quarto render tests/docs/playwright/embed-resources/issue-11860/main.qmd --output-dir=inner
5+
// Then run:
6+
// npx playwright test tests/html-embed-resources-es6-modules.spec.ts
7+
//
8+
// The full test suite (integration/playwright-tests.test.ts) handles rendering automatically.
39
test("es6 modules to be bundled correctly in documents with embed-resources=true", async ({ page }) => {
410
const messages: string[] = [];
511
page.on('response', (response) => {

0 commit comments

Comments
 (0)