[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:
Anukriti Singh
2024-01-03 13:27:30 +05:30
committed by GitHub
parent 8a97b3cc49
commit 6da7152c84
6 changed files with 48 additions and 50 deletions

View File

@@ -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);
}
}