clear e2e keyboard state

This commit is contained in:
Mega Yu
2023-12-22 17:16:17 +08:00
committed by Tienson Qin
parent 3a93799958
commit 7bc3c0d8a8

View File

@@ -192,6 +192,7 @@ test('block selection', async ({ page, block }) => {
await expect(page.locator('.block-main-container >> nth=6')).toHaveCSS('border-radius', '0px')
await expect(page.locator('.ls-block >> nth=7')).toHaveCSS('border-radius', '0px')
await expect(page.locator('.ls-block >> nth=8')).toHaveCSS('border-radius', '0px')
await page.keyboard.up('Shift')
})
test('template', async ({ page, block }) => {