Skip to content

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

docs: fix outdated tocList text in POM page object model example (#39557)

Nataliee37438ade390
diff --git a/docs/src/pom.md b/docs/src/pom.md
index 6dcc683802..4c88f82853 100644
--- a/docs/src/pom.md
+++ b/docs/src/pom.md
@@ -95,13 +95,13 @@ test('getting started should contain table of contents', async ({ page }) => {
await playwrightDev.getStarted();
await expect(playwrightDev.tocList).toHaveText([
`How to install Playwright`,
- `What's Installed`,
+ `What's installed`,
`How to run the example test`,
`How to open the HTML test report`,
- `Write tests using web first assertions, page fixtures and locators`,
- `Run single test, multiple tests, headed mode`,
+ `Write tests using web-first assertions, fixtures and locators`,
+ `Run single or multiple tests; headed mode`,
`Generate tests with Codegen`,
- `See a trace of your tests`
+ `View a trace of your tests`,
]);
});
@@ -122,13 +122,13 @@ await playwrightDev.goto();
await playwrightDev.getStarted();
await expect(playwrightDev.tocList).toHaveText([
`How to install Playwright`,
- `What's Installed`,
+ `What's installed`,
`How to run the example test`,
`How to open the HTML test report`,
- `Write tests using web first assertions, page fixtures and locators`,
- `Run single test, multiple tests, headed mode`,
+ `Write tests using web-first assertions, fixtures and locators`,
+ `Run single or multiple tests; headed mode`,
`Generate tests with Codegen`,
- `See a trace of your tests`
+ `View a trace of your tests`,
]);
```