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: fix duplicate sections (#11874)
Yury Semikhatskyafc4b505aa46
diff --git a/docs/src/test-api/class-test.md b/docs/src/test-api/class-test.mdindex 617437e810..5b4ea02026 100644--- a/docs/src/test-api/class-test.md+++ b/docs/src/test-api/class-test.md@@ -255,6 +255,8 @@ declaration.Learn more about the execution modes [here](./test-parallel-js.md).+Running tests in parallel:+```js js-flavor=js// Run all the tests in the file concurrently using parallel workers.test.describe.configure({ mode: 'parallel' });@@ -269,6 +271,8 @@ test('runs in parallel 1', async ({ page }) => {});test('runs in parallel 2', async ({ page }) => {});```+Running tests sequentially:+```js js-flavor=js// Annotate tests as inter-dependent.test.describe.configure({ mode: 'serial' });diff --git a/packages/playwright-test/types/test.d.ts b/packages/playwright-test/types/test.d.tsindex 5160660224..ab218514e6 100644--- a/packages/playwright-test/types/test.d.ts+++ b/packages/playwright-test/types/test.d.ts@@ -1719,6 +1719,8 @@ export interface TestType<TestArgs extends KeyValue, WorkerArgs extends KeyValue** Learn more about the execution modes [here](https://playwright.dev/docs/test-parallel-js).*+ * Running tests in parallel:+ ** ```ts* // Run all the tests in the file concurrently using parallel workers.* test.describe.configure({ mode: 'parallel' });@@ -1726,6 +1728,8 @@ export interface TestType<TestArgs extends KeyValue, WorkerArgs extends KeyValue* test('runs in parallel 2', async ({ page }) => {});* ```*+ * Running tests sequentially:+ ** ```ts* // Annotate tests as inter-dependent.* test.describe.configure({ mode: 'serial' });