fix: adjust mouse actions in regression test for proper drag-and-drop (#5462)

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-12-26 19:28:05 -03:00 committed by GitHub
commit 0118e98b5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -64,8 +64,8 @@ test(
await page
.getByTestId("modelsOpenAI")
.dragTo(page.locator('//*[@id="react-flow-id"]'));
await page.mouse.up();
await page.mouse.down();
await page.mouse.up();
await initialGPTsetup(page);