saleor-dashboard/cypress/elements/shared/unsavedChangesDialog.js
Michał Droń e90a2fd757
Remove submitting from exit dirty form modal (#2820)
* Remove submit from exit dirty form util

* Extract messages

* Change data-test-id attributes

* Add a unit test

* Change given when then to AAA

* Mock packages

* Change button click to user events
2022-12-16 15:54:41 +01:00

4 lines
155 B
JavaScript

export const UNSAVED_CHANGES_DIALOG = {
keepEditingButton: '[data-test-id="keep-editing"]',
ignoreChangesButton: '[data-test-id="ignore-changes"]',
};