[ACA-1569] wait for dialog to close (#628)

This commit is contained in:
Suzana Dirla 2018-09-13 14:32:25 +03:00 committed by Denys Vuika
parent 4af9628b9b
commit 06402a9c72

View File

@ -76,6 +76,7 @@ describe('General', () => {
const message = await page.getSnackBarMessage();
expect(message).toEqual('The action was unsuccessful. Try again or contact your IT Team.');
await createDialog.waitForDialogToClose();
expect(createDialog.component.isPresent()).not.toBe(true, 'dialog is present');
});