mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
[ACS-12391] e2e for navigation details panel with search page
This commit is contained in:
@@ -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;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
+1
-1
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user