resolve todos

This commit is contained in:
peterkogo
2025-04-16 18:20:12 +02:00
parent 2474c8be14
commit 97c4e2b218
7 changed files with 34 additions and 29 deletions
+3 -3
View File
@@ -145,7 +145,6 @@ test.describe('Nodes', () => {
expect(edges).toHaveLength(0);
});
// TODO: pressing backspace creates problems on webkit
test('deletable=false prevents deletion', async ({ page }) => {
const node = page.locator(`.${FRAMEWORK}-flow__node`).and(page.locator('[data-id="notDeletable"]'));
await expect(node).toHaveCSS('visibility', 'visible');
@@ -153,6 +152,7 @@ test.describe('Nodes', () => {
await expect(node).toBeAttached();
await node.click();
// pressing backspace breaks webkit
await page.keyboard.press('d');
await expect(node).toBeAttached();
@@ -198,8 +198,8 @@ test.describe('Nodes', () => {
await firstOutputHandle.hover();
await page.mouse.down();
// TODO: Does not work in SvelteFlow for whatever reason!?
// await secondOutputHandle.hover();
// Does not work in SvelteFlow for whatever reason!?
// but the following works...
const box = await secondOutputHandle.boundingBox();
await page.mouse.move(box!.x + 2, box!.y + 2);
@@ -229,8 +229,8 @@ test.describe('Nodes', () => {
await firstInputHandle.hover();
await page.mouse.down();
// TODO: Does not work in SvelteFlow for whatever reason!?
// await secondInputHandle.hover();
// Does not work in SvelteFlow for whatever reason!?
// but the following works...
const box = await secondInputHandle.boundingBox();
await page.mouse.move(box!.x + 2, box!.y + 2);