[AAE-8147] e2e jasmine callbacks removal (#2490)

* [AAE-8147] e2e jasmine callbacks removal

* trigger travis
This commit is contained in:
rafalszmit
2022-03-30 16:20:13 +02:00
committed by GitHub
parent 31d677c12d
commit 9f0f4cc61f
52 changed files with 199 additions and 409 deletions

View File

@@ -53,7 +53,7 @@ describe('Extensions - Context submenu', () => {
const contextMenu = dataTable.menu;
const adminApiActions = new AdminActions();
beforeAll(async (done) => {
beforeAll(async () => {
await adminApiActions.createUser({ username });
fileId = (await apis.user.nodes.createFile(file)).entry.id;
folderId = (await apis.user.nodes.createFolder(folder)).entry.id;
@@ -61,21 +61,17 @@ describe('Extensions - Context submenu', () => {
await loginPage.load();
await Utils.setSessionStorageFromConfig(EXTENSIBILITY_CONFIGS.CONTEXT_SUBMENUS);
await loginPage.loginWith(username);
done();
});
beforeEach(async (done) => {
beforeEach(async () => {
await Utils.pressEscape();
await dataTable.clearSelection();
await page.clickPersonalFilesAndWait();
done();
});
afterAll(async (done) => {
afterAll(async () => {
await apis.user.nodes.deleteNodeById(fileId, true);
await apis.user.nodes.deleteNodeById(folderId, true);
done();
});
it('[C286717] Displays the submenu actions set from config', async () => {