Skip to content

Commit

Permalink
[ACS-6081] fix e2es
Browse files Browse the repository at this point in the history
  • Loading branch information
nikita-web-ua committed Nov 24, 2023
1 parent 120f503 commit 2b3129f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export class SidenavComponent extends BaseComponent {
private recentFiles = this.getChild(`[data-automation-id='app.navbar.recentFiles']`);
private favorites = this.getChild(`[data-automation-id='app.navbar.favorites']`);
private trash = this.getChild(`[data-automation-id='app.navbar.trashcan']`);
private sidenavToggle = this.getChild(`.sidenav-header-title-logo`);
private sidenavToggle = this.getChild(`.aca-sidenav-header-title-logo`);
private sidenavExpand = this.page.getByTitle('Expand navigation menu');
public expandedSidenav = this.page.locator(`[data-automation-id='expanded']`);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ export class DataTable extends Component {
async getLockOwner(itemName: string, location: string = ''): Promise<string> {
if (await this.hasLockOwnerInfo(itemName, location)) {
const row = this.getRowByName(itemName, location);
return row.$(DataTable.selectors.lockOwner).$('.locked_by--name').getText();
return row.$(DataTable.selectors.lockOwner).$('.aca-locked_by--name').getText();
}
return '';
}
Expand Down Expand Up @@ -425,7 +425,7 @@ export class DataTable extends Component {
}

private getSearchResultNameLink(itemName: string, location: string = ''): ElementFinder {
return this.getSearchResultsRowByName(itemName, location).$('.link');
return this.getSearchResultsRowByName(itemName, location).$('.aca-link');
}

async hasLinkOnSearchResultName(itemName: string, location: string = ''): Promise<boolean> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ import { BrowserActions } from '@alfresco/adf-testing';

export class Header extends Component {
userMenuButton = this.byCss(`.aca-user-menu-button`);
sidenavToggle = this.byCss(`.sidenav-header-title-logo`);
sidenavToggle = this.byCss(`.aca-sidenav-header-title-logo`);

menu = new Menu();
toolbar = new Toolbar();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class Sidenav extends Component {
recentFiles = this.byCss(`[data-automation-id='app.navbar.recentFiles']`);
favorites = this.byCss(`[data-automation-id='app.navbar.favorites']`);
trash = this.byCss(`[data-automation-id='app.navbar.trashcan']`);
sidenavToggle = this.byCss(`.sidenav-header-title-logo`);
sidenavToggle = this.byCss(`.aca-sidenav-header-title-logo`);

menu: Menu = new Menu();

Expand Down

0 comments on commit 2b3129f

Please sign in to comment.