From b5643d0aabdcd64c0ac42cb712945432044a2272 Mon Sep 17 00:00:00 2001 From: depa panjie purnama Date: Thu, 22 Sep 2022 23:17:49 +0700 Subject: [PATCH] docs: update POM test example (#17524) --- docs/src/test-pom-js.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'); }