Skip to content

Commit

Permalink
docs: update Playwright example
Browse files Browse the repository at this point in the history
Co-authored-by: DivisionByZero <[email protected]>
  • Loading branch information
jfgreffier and xDivisionByZerox authored Nov 1, 2023
1 parent 92581c1 commit 91392cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guide/frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ test.describe('Testing the application', () => {
await page.goto('https://www.example.com/login');
await page.getByLabel('email').fill(email);
await page.getByLabel('password').fill(password);
await page.getByRole('button', { name: 'Register' }).click();
await page.getByRole('button', { name: 'Login' }).click();

// We should have logged in successfully to the dashboard page.
await expect(page).toHaveURL(/.*dashboard/);
Expand Down

0 comments on commit 91392cc

Please sign in to comment.