docs: update POM test example (#17524)
This commit is contained in:
parent
9564306297
commit
b5643d0aab
|
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue