Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

4.9 KB
Raw Blame
# Bun transpiles test files itself, so there is no Babel transform and no compilation cache.
babel.spec.ts [skip]
cache.spec.ts [skip]

# Bun loads and resolves modules itself.
esm.spec.ts [skip]
resolver.spec.ts [skip]

# Bun resolves modules with its own tsconfig, so --tsconfig has no effect.
ui-mode-test-run.spec.ts > should respect --tsconfig option [skip]

# Bun does not support custom ESM loaders.
loader.spec.ts > preflight should survive faulty ESM loader ahead of playwright [skip]
loader.spec.ts > should compose with a custom ESM loader after playwright [skip]
loader.spec.ts > should compose with a custom ESM loader before playwright [skip]

# Bun does not report module dependencies, so there is no watch mode.
loader.spec.ts > should complain when one test file imports another [skip]
only-changed.spec.ts > should understand dependency structure [skip]
test-server.spec.ts > file watching [skip]
test-server.spec.ts > find related test files [skip]
ui-mode-test-watch.spec.ts [skip]
watch.spec.ts [skip]

# Bun transpiles JSX itself and ignores the JSX options in tsconfig.
loader.spec.ts > should respect jsx options from tsconfig references and extends [skip]
loader.spec.ts > should respect react-jsxdev from tsconfig [skip]
loader.spec.ts > should use react/jsx-runtime when tsconfig does not configure jsx [skip]

# Bun adds an ESM import of the JSX runtime to CJS files and then cannot load them.
loader.spec.ts > should load a jsx/tsx files with fragments [skip]

# Bun does not have async stack frames.
playwright.trace.spec.ts > should record step stack in trace [skip]
reporter.spec.ts > AggregateError sub-errors are spread into testInfo.errors [skip]
test-step.spec.ts > library API call inside expect.poll [skip]
test-step.spec.ts > should contain steps chain in the stack [skip]
test-step.spec.ts > should soft step w/ box [skip]
test-step.spec.ts > should step w/ box [skip]
test-step.spec.ts > should step w/o box [skip]
test-step.spec.ts > show api calls inside expects [skip]
test-step.spec.ts > web assertion inside expect.poll [skip]
to-have-screenshot.spec.ts > should write missing expectations locally twice and attach them [skip]

# Bun reports different error columns.
list-mode.spec.ts > should report errors with location [skip]
reporter.spec.ts > created > onError should have code snippet [skip]
reporter.spec.ts > merged > onError should have code snippet [skip]

# Bun does not report the import stack of parse errors.
loader.spec.ts > should return the location of a syntax error with deep stack [skip]

# Bun does not apply NODE_OPTIONS to workers.
runner.spec.ts > should report subprocess creation error [skip]

# Bun formats console output itself.
stdio.spec.ts > should support console colors but not tty [skip]

# Bun has no class names in stack frames, so API names lose the class name: "click" and not "locator.click".
playwright.connect.spec.ts > should respect connectOptions.timeout [fixme]
playwright.connect.spec.ts > should throw with bad connectOptions [fixme]
playwright.spec.ts > should call logger from launchOptions config [fixme]
playwright.spec.ts > should report error and pending operations on timeout [fixme]
playwright.spec.ts > should use actionTimeout for APIRequestContext [fixme]
test-step.spec.ts > should not mark page.close as failed when page.click fails [fixme]
test-step.spec.ts > should report api step failure [fixme]
test-step.spec.ts > step timeout includes interrupted action errors [fixme]

# Bun's console methods do not call process.stdout.write, so console output of the test does not get into the trace.
playwright.trace.spec.ts > should redact secrets [fixme]
ui-mode-test-output.spec.ts > should collapse repeated console messages for test [fixme]
ui-mode-test-output.spec.ts > should print beforeAll console messages once [fixme]
ui-mode-test-output.spec.ts > should show console messages for test [fixme]
ui-mode-test-output.spec.ts > should stream console messages live [fixme]
ui-mode-trace.spec.ts > should show request source context id [fixme]

# Bun's console methods do not call process.stdout.write, so console output of the runner process does not get to UI mode.
test-server.spec.ts > stdio interception [fixme]
ui-mode-metadata.spec.ts > should render html report git info metadata [fixme]
ui-mode-test-setup.spec.ts > should run global setup and teardown [fixme]
ui-mode-test-setup.spec.ts > should teardown on sigint [fixme]

# Bun's console methods do not call process.stdout.write, so console output comes through the stdout pipe and its order changes.
reporter-list.spec.ts > created > should update test status row only when TTY has not scrolled [fixme]
reporter-list.spec.ts > created > should update test status row only within configured TTY height [fixme]
reporter-list.spec.ts > merged > should update test status row only when TTY has not scrolled [fixme]
reporter-list.spec.ts > merged > should update test status row only within configured TTY height [fixme]