n8n/cypress/composables/modals/save-changes-modal.ts

4 lines
114 B
TypeScript

export function getSaveChangesModal() {
return cy.get('.el-overlay').contains('Save changes before leaving?');
}