From 38832fd431d481e825479229b55f0792f6edd1cd Mon Sep 17 00:00:00 2001 From: OZGCloud <ozgcloud@mgm-tp.com> Date: Mon, 23 Jan 2023 13:34:02 +0100 Subject: [PATCH] OZG-768 change kommentar element selectors --- .../kommentar-attachment/kommentar-attachment.e2e-spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 753f564124..ce64e2a4f4 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); -- GitLab