mat over md prefix (#10)

This commit is contained in:
Cilibiu Bogdan 2017-10-24 11:22:28 +03:00 committed by Denys Vuika
parent 0f14e2fde3
commit 709a13e483
3 changed files with 4 additions and 4 deletions

View File

@ -21,7 +21,7 @@ import { UserInfo } from './user-info';
export class Header extends Component { export class Header extends Component {
private locators = { private locators = {
logoLink: by.css('.mdl-layout-title'), logoLink: by.css('.app-menu__title'),
userInfo: by.css('app-current-user') userInfo: by.css('app-current-user')
}; };

View File

@ -23,7 +23,7 @@ export class UserInfo extends Component {
private locators = { private locators = {
avatar: by.css('.current-user__avatar'), avatar: by.css('.current-user__avatar'),
fullName: by.css('.current-user__full-name'), fullName: by.css('.current-user__full-name'),
menuItems: by.css('[md-menu-item]') menuItems: by.css('[mat-menu-item]')
}; };
fullName: ElementFinder = this.component.element(this.locators.fullName); fullName: ElementFinder = this.component.element(this.locators.fullName);

View File

@ -30,8 +30,8 @@ export class Pagination extends Component {
previousButton: '.adf-pagination__previous-button', previousButton: '.adf-pagination__previous-button',
nextButton: '.adf-pagination__next-button', nextButton: '.adf-pagination__next-button',
maxItemsButton: '.adf-pagination__max-items + button[md-icon-button]', maxItemsButton: '.adf-pagination__max-items + button[mat-icon-button]',
pagesButton: '.adf-pagination__current-page + button[md-icon-button]' pagesButton: '.adf-pagination__current-page + button[mat-icon-button]'
}; };
range: ElementFinder = this.component.element(by.css(Pagination.selectors.range)); range: ElementFinder = this.component.element(by.css(Pagination.selectors.range));