mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-5996] [E2E] fixed C286473 e2e test (#4191)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
{
|
||||
"C213097" : "https://alfresco.atlassian.net/browse/ACS-5479",
|
||||
"C286473" : "https://alfresco.atlassian.net/browse/ACS-5996"
|
||||
"C213097" : "https://hyland.atlassian.net/browse/ACS-5479"
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
import { expect } from '@playwright/test';
|
||||
import { ApiClientFactory, Utils, test } from '@alfresco/aca-playwright-shared';
|
||||
import { ApiClientFactory, Utils, test, timeouts } from '@alfresco/aca-playwright-shared';
|
||||
|
||||
test.describe('Create folders', () => {
|
||||
const apiClientFactory = new ApiClientFactory();
|
||||
@@ -54,8 +54,8 @@ test.describe('Create folders', () => {
|
||||
await personalFiles.page.keyboard.press('Escape');
|
||||
await personalFiles.snackBar.message.waitFor({ state: 'attached' });
|
||||
await expect(personalFiles.snackBar.message).toHaveText('The action was unsuccessful. Try again or contact your IT Team.');
|
||||
await personalFiles.page.reload({ waitUntil: 'networkidle' });
|
||||
await personalFiles.acaHeader.createButton.waitFor({ timeout: timeouts.medium, state: 'hidden' });
|
||||
expect(await personalFiles.page.title()).toContain('Sign in');
|
||||
await personalFiles.snackBar.message.waitFor({ state: 'detached' });
|
||||
await expect(personalFiles.snackBar.message, 'dialog should not be visible').toBeHidden();
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user