2
0

feat(flow): Edge menu on click

This commit is contained in:
Baptiste Arnaud
2022-03-02 09:21:09 +01:00
parent 5a06bb0500
commit 3c6783727e
3 changed files with 92 additions and 9 deletions

View File

@ -50,6 +50,11 @@ test.describe.parallel('Editor', () => {
)
await expect(page.locator('[data-testid="edge"] >> nth=0')).toBeVisible()
await expect(page.locator('[data-testid="edge"] >> nth=1')).toBeVisible()
await page.click('[data-testid="clickable-edge"] >> nth=0', { force: true })
await page.click('text=Delete')
const total = await page.locator('[data-testid="edge"]').count()
expect(total).toBe(1)
})
test('Drag and drop steps and items should work', async ({ page }) => {
const typebotId = generate()