mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-5235] Facet fix and improve search test (#6122)
* improve search test * fix * fix * fix * changes * modify * logout public URL * improve stability some e2e * fx lint * fix * fix * improve * fix * improve * fix * fix * fix * fix [skip ci] * fix * some fix [skip ci] * fix * fix lint * fix * fix * fix * fix * fix * fix * fix * fix * fix * convert C291893 in manual test case in testrail * fix * fix
This commit is contained in:
@@ -181,10 +181,11 @@ describe('Upload component', () => {
|
||||
|
||||
it('[C260174] Should be possible to set a max size', async () => {
|
||||
await contentServicesPage.goToDocumentList();
|
||||
await contentServicesPage.checkAcsContainer();
|
||||
|
||||
await uploadToggles.enableMaxSize();
|
||||
await uploadToggles.checkMaxSizeToggleIsEnabled();
|
||||
await uploadToggles.addMaxSize('400');
|
||||
|
||||
await contentServicesPage.uploadFile(fileWithSpecificSize.location);
|
||||
await uploadDialog.fileIsUploaded(fileWithSpecificSize.name);
|
||||
await uploadDialog.clickOnCloseButton();
|
||||
@@ -194,8 +195,6 @@ describe('Upload component', () => {
|
||||
await uploadToggles.addMaxSize('399');
|
||||
await contentServicesPage.uploadFile(fileWithSpecificSize.location);
|
||||
|
||||
// await expect(await contentServicesPage.getErrorMessage()).toEqual('File ' + fileWithSpecificSize.name + ' is larger than the allowed file size');
|
||||
|
||||
await contentServicesPage.checkContentIsNotDisplayed(fileWithSpecificSize.name);
|
||||
await uploadDialog.fileIsNotDisplayedInDialog(fileWithSpecificSize.name);
|
||||
await contentServicesPage.uploadFile(emptyFile.location);
|
||||
|
Reference in New Issue
Block a user