mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[affected:*][ci:force] Fixed e2e with new notation
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user