diff --git a/goofy-client/apps/goofy-e2e/src/integration/main-tests/vorgang-detailansicht/vorgang-detailansicht.filtered-by-organisationseinheit.e2e-spec.ts b/goofy-client/apps/goofy-e2e/src/integration/main-tests/vorgang-detailansicht/vorgang-detailansicht.filtered-by-organisationseinheit.e2e-spec.ts index 33a90d9f0feb076cef70fd49fc5ef6aedcca1f87..04c011a405433385a98d2539c52698ddf192bcd7 100644 --- a/goofy-client/apps/goofy-e2e/src/integration/main-tests/vorgang-detailansicht/vorgang-detailansicht.filtered-by-organisationseinheit.e2e-spec.ts +++ b/goofy-client/apps/goofy-e2e/src/integration/main-tests/vorgang-detailansicht/vorgang-detailansicht.filtered-by-organisationseinheit.e2e-spec.ts @@ -116,7 +116,6 @@ describe('Vorgang-detailansicht filtered by organisationseinheit', () => { waitForSpinnerToDisappear(); notExist(detailPage.getRoot()); - contains(snackbar.getMessage(), MessagesE2E.HTTP_STATUS_FORBIDDEN); }) it('should show snackbar', () => { @@ -125,9 +124,11 @@ describe('Vorgang-detailansicht filtered by organisationseinheit', () => { }) it('should close snackbar on close button', () => { - snackbar.getCloseButton().click(); + //FIXME Workaround, somewhere and somehow here are appearing multiple instances of snackbar(or the button) + snackbar.getCloseButton().click({ multiple: true }); notExist(snackbar.getCloseButton()); + notExist(snackbar.getMessage()); }) it('should not open detailpage (for kfinder)', () => {