mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACA] fix e2e tests failing on slow environments (#801)
* fix tests failing on slow environments * forgot a change
This commit is contained in:
committed by
Denys Vuika
parent
49e80ddce1
commit
2ac59bd278
@@ -65,6 +65,12 @@ describe('General', () => {
|
||||
expect(message).toEqual('The action was unsuccessful. Try again or contact your IT Team.');
|
||||
|
||||
expect(await browser.getTitle()).toContain('Sign in');
|
||||
|
||||
try {
|
||||
await createDialog.waitForDialogToClose();
|
||||
} catch (error) {
|
||||
console.log('err: ', error);
|
||||
}
|
||||
expect(await createDialog.isDialogOpen()).not.toBe(true, 'dialog is present');
|
||||
});
|
||||
});
|
||||
|
||||
@@ -125,7 +125,7 @@ describe('Page titles', () => {
|
||||
});
|
||||
|
||||
it('Search Results page - [C280413]', async () => {
|
||||
await searchInput.clickSearchContainer();
|
||||
await searchInput.clickSearchButton();
|
||||
await searchInput.searchForText(file);
|
||||
expect(await browser.getTitle()).toContain(PAGE_TITLES.SEARCH);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user