This commit is contained in:
parent
58ec845402
commit
311a40deef
|
@ -15,6 +15,7 @@ describe('AgencyWorkCenter', () => {
|
||||||
|
|
||||||
// expect error when duplicate
|
// expect error when duplicate
|
||||||
cy.get(createButton).click();
|
cy.get(createButton).click();
|
||||||
|
cy.selectOption(workCenterCombobox, 'workCenterOne');
|
||||||
cy.get('[data-cy="FormModelPopup_save"]').click();
|
cy.get('[data-cy="FormModelPopup_save"]').click();
|
||||||
cy.checkNotification('This workCenter is already assigned to this agency');
|
cy.checkNotification('This workCenter is already assigned to this agency');
|
||||||
cy.get('[data-cy="FormModelPopup_cancel"]').click();
|
cy.get('[data-cy="FormModelPopup_cancel"]').click();
|
||||||
|
|
Loading…
Reference in New Issue