592 — should not discard changes if I click cancel¶
Description¶
Verifies that cancelling the "Discard changes" confirmation keeps the user's pending edits intact (the discard dialog acts as a safety net). Runs in both the Task and Project workflow editor.
Preconditions¶
- Signed in as an admin of a freshly seeded organization that already has a default project.
- Workflow editor open showing the default three statuses:
ToDo,InPrg,Done.
Steps¶
- Confirm the editor shows 3 statuses.
- Delete the
InPrgstatus. Expected: the editor now shows 2 statuses. - Click "Discard changes". Expected: a confirmation dialog appears.
- Click Cancel on the discard dialog. Expected: the dialog closes and the editor still shows only 2 statuses (the pending deletion is preserved).
Related¶
- Spec:
playwright/tests/integration/workflows.spec.ts(line 97)