Skip to content

Commit 10d79aa

Browse files
authored
Merge pull request #3578 from Yavuz7/patch-1
Fixed Bad Link For Locators - Part 5d
2 parents 293d129 + 8271423 commit 10d79aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/5/en/part5d.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ test('front page can be opened', async ({ page }) => {
173173
})
174174
```
175175

176-
First, the test opens the application with the method [page.goto](https://playwright.dev/docs/writing-tests#navigation). After this, the test uses the [page.getByText](https://playwright.dev/docs/api/class-page#page-get-by-text) to get a [locator](https://playwright.dev/docs/api /class-locator) that corresponds to the element where the text <i>Notes</i> is found.
176+
First, the test opens the application with the method [page.goto](https://playwright.dev/docs/writing-tests#navigation). After this, the test uses the [page.getByText](https://playwright.dev/docs/api/class-page#page-get-by-text) to get a [locator](https://playwright.dev/docs/locators) that corresponds to the element where the text <i>Notes</i> is found.
177177

178178
The method [toBeVisible](https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-be-visible) ensures that the element corresponding to the locator is visible at the page.
179179

0 commit comments

Comments
 (0)