Skip to content

Commit

Permalink
fix shadow-dom test
Browse files Browse the repository at this point in the history
  • Loading branch information
dalibortosic00 committed Jul 4, 2024
1 parent 1056934 commit 2bd71f4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions playwright/integration/examples/shadow-dom.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ test.describe('shadow-dom example', () => {
await expect(textbox).toHaveCount(1)

// Clear any existing text and type new text into the textbox
await textbox.fill('') // Clears the textbox
await textbox.type('Hello, Playwright!')
await textbox.fill('Hello, Playwright!')

// Assert that the textbox contains the correct text
await expect(textbox).toHaveValue('Hello, Playwright!')
await expect(textbox).toHaveText('Hello, Playwright!')
})
})

0 comments on commit 2bd71f4

Please sign in to comment.