[ACS-12391] e2e for navigation details panel with search page

This commit is contained in:
akashrathod28
2026-08-24 15:25:34 +02:00
parent 664a2ab5ed
commit b89d32dff3
3 changed files with 3 additions and 2 deletions
@@ -57,6 +57,7 @@ test.describe('Search → Full Details → Reduced Panel navigation', () => {
await fileActionsApi.waitForNodes(fileName, { expect: 1 });
} catch (error) {
console.error(`beforeAll failed: ${error}`);
throw error;
}
});
@@ -51,7 +51,7 @@ export class AdfInfoDrawerComponent extends BaseComponent {
public commentUsername = this.getChild('.adf-comment-user-name');
public commentTextContent = this.getChild('.adf-comment-message');
public commentTimestamp = this.getChild('.adf-comment-message-time');
public infoDrawerPanel = this.page.locator(AdfInfoDrawerComponent.rootElement);
public infoDrawerPanel = this.page.locator('#adf-right-sidebar adf-info-drawer');
public headerTitle = this.getChild('.adf-info-drawer-layout-header-title').getByRole('heading');
public editButton = this.page.getByRole('button', { name: 'Edit' });
public cancelButton = this.page.getByRole('button', { name: 'Cancel' });
@@ -53,7 +53,7 @@ export class ViewerComponent extends BaseComponent {
public nextFileButton = this.getChild('[data-automation-id="adf-toolbar-next-file"]');
public previousFileButton = this.getChild('[data-automation-id="adf-toolbar-pref-file"]');
public noPermissionsView = this.getChild('aca-generic-error');
public viewDetailsButton = this.page.locator('#adf-viewer-toolbar [title="View Details"]');
public viewDetailsButton = this.getChild('#adf-viewer-toolbar [title="View Details"]');
toolbar = new AcaHeader(this.page);