Skip to content

Commit

Permalink
Reverted lost selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
katarzynakita committed Feb 9, 2024
1 parent dac5bff commit 37d19e3
Showing 1 changed file with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,24 @@ export class AdfInfoDrawerComponent extends BaseComponent {
public getVisibilityField = (labelText: string) =>
this.getChild('[data-automation-id="library-visibility-properties-wrapper"]', { hasText: labelText });
public getDescriptionField = this.getChild('[data-automation-id="library-description-properties-wrapper"] textarea');
public propertiesTab = this.page.getByRole('tab', { name: 'Properties' });
public commentsTab = this.page.getByRole('tab', { name: 'Comments' });
public infoDrawerTabs = this.getChild('.adf-info-drawer-tab');
public propertiesTab = this.infoDrawerTabs.nth(0);
public commentsTab = this.infoDrawerTabs.nth(1);
public commentInputField = this.getChild('mat-form-field');
public commentsHeader = this.getChild('#comment-header');
public addCommentButton = this.getChild('[data-automation-id="comments-input-add"]');
public commentsList = this.getChild('.adf-comment-list-item');
public commentUsername = this.getChild('.adf-comment-user-name');
public commentTextContent = this.getChild('.adf-comment-message');
public commentTimestamp = this.getChild('.adf-comment-message-time');
public headerTitle = this.getChild('.adf-info-drawer-layout-header-title div');
public commentProfileIcon = this.getChild('.adf-comment-user-icon');
public infoDrawerPanel = this.page.locator('.adf-info-drawer');
public headerTitle = this.page.locator('.adf-info-drawer-layout-header-title').getByRole('heading');
public editButton = this.page.getByRole('button', { name: 'Edit' });
public cancelButton = this.page.getByRole('button', { name: 'Cancel' });
public updateButton = this.page.getByRole('button', { name: 'Update' });
public hintMessage = this.page.locator('.mat-hint');
public errorMessage = this.page.locator('.mat-error');
public expandDetailsButton = this.getChild(`button[title='Expand panel']`);
public expandedDetailsTabs = this.page.locator('.aca-details-container .mat-tab-label-content');
public expandedDetailsPermissionsTab = this.expandedDetailsTabs.getByText('Permissions');
Expand Down

0 comments on commit 37d19e3

Please sign in to comment.