diff --git a/goofy-client/apps/goofy-e2e/src/integration/main-tests/kommentar-attachment/kommentar-attachment.e2e-spec.ts b/goofy-client/apps/goofy-e2e/src/integration/main-tests/kommentar-attachment/kommentar-attachment.e2e-spec.ts index 753f564124ef10dd9bc8406ac622391ec17f7859..ce64e2a4f4e52f6c0cf454cdd1f448a7680e4c56 100644 --- a/goofy-client/apps/goofy-e2e/src/integration/main-tests/kommentar-attachment/kommentar-attachment.e2e-spec.ts +++ b/goofy-client/apps/goofy-e2e/src/integration/main-tests/kommentar-attachment/kommentar-attachment.e2e-spec.ts @@ -102,7 +102,7 @@ describe('Kommentar attachments', () => { describe('Delete attachements', () => { it('should delete attachments', () => { - kommentarContainer.getKommentarList().click(); + kommentarContainer.getKommentar(kommentarText).getRoot().click(); waitForSpinnerToDisappear(); attachmentList.getItem(TEST_FILE_WITH_CONTENT).getDeleteButton().click(); @@ -126,7 +126,7 @@ describe('Kommentar attachments', () => { describe('Download Kommentar attachments', () => { it('should upload attachment', () => { - kommentarContainer.getKommentarList().click(); + kommentarContainer.getKommentar(kommentarText).getRoot().click(); waitForSpinnerToDisappear(); uploadFile(attachmentContainer.getUploadInput(), TEST_FILE_WITH_CONTENT);