1
0
mirror of https://github.com/ianstormtaylor/slate.git synced 2025-09-02 03:32:36 +02:00

fix shadow-dom test (#5674)

This commit is contained in:
Dalibor Tošić
2024-07-05 16:14:36 +02:00
committed by GitHub
parent 1056934eaf
commit 0dc5852da0

View File

@@ -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!')
})
})