mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-31 17:38:28 +00:00
[ACA-1709] create separate methods for navigating to desired doc list (#756)
* create separate methods for navigating to desired doc list * remove timeout committed by mistake
This commit is contained in:
committed by
Cilibiu Bogdan
parent
0a5d56fe05
commit
c9f5bc7de3
@@ -26,7 +26,7 @@
|
||||
import { LoginPage, LogoutPage, BrowsingPage } from '../../pages/pages';
|
||||
import { InfoDrawer } from './../../components/info-drawer/info-drawer';
|
||||
import { RepoClient } from '../../utilities/repo-client/repo-client';
|
||||
import { SIDEBAR_LABELS, EXTENSIBILITY_CONFIGS } from '../../configs';
|
||||
import { EXTENSIBILITY_CONFIGS } from '../../configs';
|
||||
import { Utils } from '../../utilities/utils';
|
||||
|
||||
describe('Extensions - Info Drawer', () => {
|
||||
@@ -88,8 +88,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
});
|
||||
|
||||
beforeEach(async (done) => {
|
||||
await page.sidenav.navigateToLinkByLabel(SIDEBAR_LABELS.PERSONAL_FILES);
|
||||
await page.dataTable.waitForHeader();
|
||||
await page.clickPersonalFilesAndWait();
|
||||
await page.dataTable.clearSelection();
|
||||
done();
|
||||
});
|
||||
@@ -151,8 +150,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
await loginPage.load();
|
||||
await Utils.setSessionStorageFromConfig('"aca.extension.config"', EXTENSIBILITY_CONFIGS.INFO_DRAWER_EMPTY);
|
||||
await loginPage.loginWith(username);
|
||||
await page.sidenav.navigateToLinkByLabel(SIDEBAR_LABELS.PERSONAL_FILES);
|
||||
await page.dataTable.waitForHeader();
|
||||
await page.clickPersonalFilesAndWait();
|
||||
done();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user