[affected:*][ci:force] Fixed e2e with new notation

This commit is contained in:
Vito Albano
2024-03-20 09:21:46 +00:00
parent dc6ecf0f54
commit 3aff16f852
8 changed files with 24 additions and 11 deletions
@@ -20,6 +20,7 @@ export const materialLocators = {
root: 'mat-error'
},
Tooltip: {
root: 'mat-tooltip-component'
root: 'mat-tooltip-component',
message: '.mdc-tooltip__surface'
}
};
@@ -21,7 +21,7 @@ import { materialLocators } from './material-locators';
export class TooltipComponent extends BaseComponent {
private static rootElement = materialLocators.Tooltip.root;
public content = this.getChild('div');
public content = this.getChild(materialLocators.Tooltip.message);
constructor(page: Page) {
super(page, TooltipComponent.rootElement);