Skip to content
Snippets Groups Projects
Commit 31ea5fa2 authored by OZGCloud's avatar OZGCloud
Browse files

OZG-770 add more waits for spinner

parent d09cf8c1
No related branches found
No related tags found
No related merge requests found
......@@ -74,6 +74,7 @@ describe('Kommentar attachments', () => {
it('should show button for uploading attachments when creating new Kommentar', () => {
kommentarContainer.getHinzufuegenButton().click();
waitForSpinnerToDisappear();
exist(attachmentContainer.getUploadInput());
});
......@@ -102,6 +103,7 @@ describe('Kommentar attachments', () => {
describe('Delete attachements', () => {
it('should delete attachments', () => {
kommentarContainer.getRoot().click();
waitForSpinnerToDisappear();
attachmentList.getItem(TEST_FILE_WITH_CONTENT).getDeleteButton().click();
attachmentList.getItem(TEST_FILE_WITHOUT_CONTENT).getDeleteButton().click();
......@@ -125,6 +127,8 @@ describe('Kommentar attachments', () => {
describe('Download Kommentar attachments', () => {
it('should upload attachment', () => {
kommentarContainer.getRoot().click();
waitForSpinnerToDisappear();
uploadFile(attachmentContainer.getUploadInput(), TEST_FILE_WITH_CONTENT);
waitForSpinnerToDisappear();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment