From 88681a81716e77af62ab9fccb853a6da08bf2a4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Thu, 28 Sep 2023 12:25:11 -0300 Subject: [PATCH] test: Remove invalid drag and drop test (#11054) --- test/src/drag-and-drop.spec.ts | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/test/src/drag-and-drop.spec.ts b/test/src/drag-and-drop.spec.ts index 1b38f31e391..2a5b73222e0 100644 --- a/test/src/drag-and-drop.spec.ts +++ b/test/src/drag-and-drop.spec.ts @@ -33,20 +33,6 @@ async function getDragState() { describe("Legacy Drag n' Drop", function () { setupTestBrowserHooks(); - it('should throw an exception if not enabled before usage', async () => { - const {page, server} = await getTestState(); - - await page.goto(server.PREFIX + '/input/drag-and-drop.html'); - using draggable = (await page.$('#drag'))!; - - try { - await draggable!.drag({x: 1, y: 1}); - } catch (error) { - expect((error as Error).message).toContain( - 'Drag Interception is not enabled!' - ); - } - }); it('should emit a dragIntercepted event when dragged', async () => { const {page, server} = await getTestState();