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 frontmatter to custom TS page (#8398)
Max Schmitta48dd8b84b16
diff --git a/docs/src/test-typescript-js.md b/docs/src/test-typescript-js.mdindex f81b27cea3..c4e8790492 100644--- a/docs/src/test-typescript-js.md+++ b/docs/src/test-typescript-js.md@@ -1,3 +1,8 @@+---+id: test-typescript+title: "Advanced: TypeScript"+---+## Manually compile tests with TypeScriptPlaywright Test supports TypeScript out the box. We automatically transform@@ -7,6 +12,7 @@ However if you find that the TypeScript code is not being transpiled correctly,you can perform your own TypeScript compilation before sending the tests to Playwright.First I add a `tsconfig.json` file inside my tests directory.+```json{"compilerOptions": {@@ -20,6 +26,7 @@ First I add a `tsconfig.json` file inside my tests directory.```In my `package.json`, I have two scripts:+```json{"scripts": {