mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-02 11:42:53 +02:00
fix shadow-dom test (#5674)
This commit is contained in:
@@ -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!')
|
||||
})
|
||||
})
|
||||
|
Reference in New Issue
Block a user