mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ESLint: cleanup await expect
from protractor tests (#9630)
This commit is contained in:
@@ -190,7 +190,7 @@ describe('Upload component', () => {
|
||||
await uploadToggles.enableMaxSize();
|
||||
await uploadToggles.addMaxSize('0');
|
||||
await contentServicesPage.uploadFile(fileWithSpecificSize.location);
|
||||
// await expect(await contentServicesPage.getErrorMessage()).toEqual('File ' + fileWithSpecificSize.name + ' is larger than the allowed file size');
|
||||
// expect(await contentServicesPage.getErrorMessage()).toEqual('File ' + fileWithSpecificSize.name + ' is larger than the allowed file size');
|
||||
|
||||
await uploadDialog.fileIsNotDisplayedInDialog(fileWithSpecificSize.name);
|
||||
await contentServicesPage.uploadFile(emptyFile.location);
|
||||
@@ -250,6 +250,6 @@ describe('Upload component', () => {
|
||||
await contentServicesPage.uploadFile(pdfFileModel.location);
|
||||
|
||||
await uploadDialog.displayTooltip();
|
||||
await expect(await uploadDialog.getTooltip()).toEqual('Upload location no longer exists [404]');
|
||||
expect(await uploadDialog.getTooltip()).toEqual('Upload location no longer exists [404]');
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user