Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eromano committed Sep 15, 2020
1 parent f5f9e97 commit 368deae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
7 changes: 2 additions & 5 deletions e2e/content-services/upload/upload-dialog.e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,11 @@ describe('Upload component', () => {
await uploadToggles.enableFolderUpload();

await browser.executeScript(` setInterval(() => {
if(document.querySelector('[data-automation-id="adf"]')){
document.querySelector("#adf-upload-dialog-cancel-all").click();
document.querySelector("#adf-upload-dialog-cancel").click();
}
}, 2000)`);
await contentServicesPage.uploadFolder(adfBigFolder.location);
}, 4000)`);

await uploadDialog.fileIsUploaded('a_png_noBackground_file.PNG');
await contentServicesPage.uploadFolder(adfBigFolder.location);
await uploadDialog.fileIsCancelled('a_png_noBackground_file.PNG');

await BrowserVisibility.waitUntilElementHasText(uploadDialog.title, 'Upload canceled');
Expand Down
3 changes: 1 addition & 2 deletions e2e/protractor.excludes.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"C279932": "login problem APS not basic",
"C279931": "login problem APS not basic",
"C279930": "login problem APS not basic",
"C246534": "https://issues.alfresco.com/jira/browse/ADF-5236",
"C291893": "https://issues.alfresco.com/jira/browse/ADF-5238"
"C246534": "https://issues.alfresco.com/jira/browse/ADF-5236"
}

0 comments on commit 368deae

Please sign in to comment.