test: Remove invalid drag and drop test (#11054)

This commit is contained in:
Darío Kondratiuk 2023-09-28 12:25:11 -03:00 committed by GitHub
parent eedbb13ada
commit 88681a8171
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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();