Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
docs(test-runner): add a note re: fixture naming (#15203)
Ross Wollman51fd2129068a
diff --git a/docs/src/test-fixtures-js.md b/docs/src/test-fixtures-js.mdindex b0259b4a0a..5cd4cb6ae0 100644--- a/docs/src/test-fixtures-js.md+++ b/docs/src/test-fixtures-js.md@@ -219,6 +219,10 @@ export const test = base.extend<MyFixtures>({export { expect } from '@playwright/test';```+:::note+Custom fixture names should start with a letter or underscore, and can contain only letters, numbers, underscores.+:::+## Using a fixtureJust mention fixture in your test function argument, and test runner will take care of it. Fixtures are also available in hooks and other fixtures. If you use TypeScript, fixtures will have the right type.