mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[MNT-23433] Close Preview button position (#3535)
* [MNT-23433] preview button configure * [MNT-23433] e2e fix * [MNT-23433] e2e fix for protractor * [MNT-23433] default position set to right * [MNT-23433] close button added for e2e * [MNT-23433] documentation added * [MNT-23433] removed close button from toolbar * [MNT-23433] passing close button position * [MNT-23433] hide info icon * [MNT-23433] add property for info button * Upstream ADF-6.6.0-7386887320, Js-api-7.5.0-7386887320 version
This commit is contained in:
@@ -103,7 +103,7 @@ export class Viewer extends Component {
|
||||
}
|
||||
|
||||
async clickCloseButton(): Promise<void> {
|
||||
const closeButton: ElementFinder = element(by.css('button[data-automation-id="adf-toolbar-back"]'));
|
||||
const closeButton: ElementFinder = element(by.css('button.adf-viewer-close-button'));
|
||||
await BrowserActions.click(closeButton);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user