mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
Update branch for ADF 32602 and JS-API 4.4.0 (#2152)
* [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32602 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32602 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32602 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32602 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32602 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32602 * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32615 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32615 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32615 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32615 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32615 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32615 * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32619 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32619 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32619 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32619 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32619 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32619 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32637 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32637 * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32658 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32658 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32658 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32658 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32658 * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32668 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32668 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32668 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32668 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32668 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32668 * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32688 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32688 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32688 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32688 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32688 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32688 * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32698 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32698 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32698 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32698 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32698 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32698 * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32704 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32704 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32704 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32704 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32704 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32704 * [ci:force] * [ci:force] fix snackbar * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32712 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32712 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32712 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32712 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32712 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32712 * [ci:force] * [ci:force] * [ci:force] * [ci:force] * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32715 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32715 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32715 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32715 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32716 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32715 * remove getAttribute * fix lint * update adf version * fix argv * [ci:force] fix getSnackBarMessage() * [ci:force] * [ci:force] Fix getTabTitle() * [ci:force] * [ci:force][auto-commit] Update @alfresco/adf-extensions to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-extensions PR: 32744 * [ci:force][auto-commit] Update @alfresco/adf-core to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-core PR: 32744 * [ci:force][auto-commit] Update @alfresco/adf-content-services to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-content-services PR: 32744 * [ci:force][auto-commit] Update @alfresco/adf-cli to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-cli PR: 32744 * [ci:force][auto-commit] Update @alfresco/adf-testing to 4.5.0-32744 for branch: update-alfresco-dependencies originated from @alfresco/adf-testing PR: 32744 * [ci:force] Co-authored-by: Travis CI User <travis@example.org> Co-authored-by: Cristina Jalba <cristina.jalba@ness.com> Co-authored-by: Eugenio Romano <eugenio.romano@alfresco.com>
This commit is contained in:
committed by
GitHub
parent
b4197ea965
commit
980f2206ca
@@ -89,7 +89,7 @@ describe('Extensions - Info Drawer', () => {
|
||||
done();
|
||||
});
|
||||
|
||||
it('[C284646] Add a new tab with icon and title', async () => {
|
||||
it('[C284646] Add a new tab with icon and title ', async () => {
|
||||
await page.dataTable.selectItem(file);
|
||||
await BrowserActions.click(page.toolbar.viewDetailsButton);
|
||||
await infoDrawer.waitForInfoDrawerToOpen();
|
||||
|
@@ -121,7 +121,7 @@ describe('Extensions - Viewer', () => {
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
|
||||
expect(await toolbar.isButtonPresent(customAction.title)).toBe(true, 'Custom action is not present');
|
||||
expect(await toolbar.getButtonByTitleAttribute(customAction.title).getAttribute('id')).toEqual(customAction.id);
|
||||
expect(await BrowserActions.getAttribute(toolbar.getButtonByTitleAttribute(customAction.title), 'id')).toEqual(customAction.id);
|
||||
expect(await toolbar.getButtonByTitleAttribute(customAction.title).getText()).toEqual(customAction.icon);
|
||||
});
|
||||
|
||||
@@ -129,7 +129,7 @@ describe('Extensions - Viewer', () => {
|
||||
await page.dataTable.doubleClickOnRowByName(pdfFile.file_name);
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
|
||||
expect(await toolbar.getButtonById(downloadButton.id).getAttribute('title')).toEqual(downloadButton.title);
|
||||
expect(await BrowserActions.getAttribute(toolbar.getButtonById(downloadButton.id), 'title')).toEqual(downloadButton.title);
|
||||
});
|
||||
|
||||
it('[C286419] Remove action from toolbar', async () => {
|
||||
@@ -156,7 +156,7 @@ describe('Extensions - Viewer', () => {
|
||||
expect(await viewer.isViewerOpened()).toBe(true, 'Viewer is not opened');
|
||||
|
||||
await toolbar.openMoreMenu();
|
||||
expect(await toolbar.menu.getItemById(moveAction.id).getAttribute('title')).toEqual(moveAction.title);
|
||||
expect(await BrowserActions.getAttribute(toolbar.menu.getItemById(moveAction.id), 'title')).toEqual(moveAction.title);
|
||||
});
|
||||
|
||||
it('[C286423] Remove action from More actions menu', async () => {
|
||||
|
@@ -26,6 +26,7 @@
|
||||
import { browser } from 'protractor';
|
||||
|
||||
import { AdminActions, SITE_VISIBILITY, LoginPage, BrowsingPage, Utils, RepoClient } from '@alfresco/aca-testing-shared';
|
||||
import { BrowserActions } from '@alfresco/adf-testing';
|
||||
|
||||
describe('Breadcrumb', () => {
|
||||
const username = `user-${Utils.random()}`;
|
||||
@@ -164,7 +165,7 @@ describe('Breadcrumb', () => {
|
||||
await page.dataTable.doubleClickOnRowByName(subFolder2);
|
||||
|
||||
const item = breadcrumb.items.get(2);
|
||||
const title = await item.getAttribute('title');
|
||||
const title = await BrowserActions.getAttribute(item, 'title');
|
||||
|
||||
expect(title).toEqual(subFolder1);
|
||||
});
|
||||
|
Reference in New Issue
Block a user