diff --git a/docs/src/test-pom-js.md b/docs/src/test-pom-js.md index 288ce62f95..6bbfd0f41a 100644 --- a/docs/src/test-pom-js.md +++ b/docs/src/test-pom-js.md @@ -20,7 +20,7 @@ exports.PlaywrightDevPage = class PlaywrightDevPage { this.page = page; this.getStartedLink = page.locator('a', { hasText: 'Get started' }); this.gettingStartedHeader = page.locator('h1', { hasText: 'Installation' }); - this.pomLink = page.locator('li', { hasText: 'Playwright Test' }).locator('a', { hasText: 'Page Object Model' }); + this.pomLink = page.locator('li', { hasText: 'Guides' }).locator('a', { hasText: 'Page Object Model' }); this.tocList = page.locator('article div.markdown ul > li > a'); } @@ -55,7 +55,7 @@ export class PlaywrightDevPage { this.page = page; this.getStartedLink = page.locator('a', { hasText: 'Get started' }); this.gettingStartedHeader = page.locator('h1', { hasText: 'Installation' }); - this.pomLink = page.locator('li', { hasText: 'Playwright Test' }).locator('a', { hasText: 'Page Object Model' }); + this.pomLink = page.locator('li', { hasText: 'Guides' }).locator('a', { hasText: 'Page Object Model' }); this.tocList = page.locator('article div.markdown ul > li > a'); }