From 8f93f55d48b189e4b8436db2b17eacae8e73b5d9 Mon Sep 17 00:00:00 2001 From: pedro Date: Wed, 29 Jan 2025 16:01:47 +0100 Subject: [PATCH] tests: clarification on error/test --- tests/end-to-end/tests/tests.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/end-to-end/tests/tests.spec.ts b/tests/end-to-end/tests/tests.spec.ts index 3f8f055..dc18f0a 100644 --- a/tests/end-to-end/tests/tests.spec.ts +++ b/tests/end-to-end/tests/tests.spec.ts @@ -156,6 +156,7 @@ test.only('States: duplication tests', async ({ page }) => { await page.getByRole('textbox', { name: 'State' }).fill('TEST_STATE'); await page.getByRole('button', { name: 'Add state definition' }).click(); + // you edit state, and target name already exists // TODO uncomment. "Cannot create key that already exists (UNIQUE constraint)" // edit state (duplicated during edit): TEST_STATE_EDIT -> TEST_STATE //await page.getByRole('row', { name: 'TEST_STATE  Edit  Delete' }).getByRole('button').first().click();