tests(svelte) WIP added some e2e tests and edges example

This commit is contained in:
Peter
2023-10-30 13:24:25 +01:00
parent 7eb9fda0fb
commit 9d386abb2a
5 changed files with 299 additions and 0 deletions
+1
View File
@@ -137,6 +137,7 @@ 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"]'));