docs: update docs example dependencies to version 8 (#30385)
PR Close #30385
This commit is contained in:

committed by
Jason Aden

parent
660a091f41
commit
661a57d9e2
@ -2,10 +2,10 @@ import { browser, by, element } from 'protractor';
|
||||
|
||||
export class AppPage {
|
||||
navigateTo() {
|
||||
return browser.get('/');
|
||||
return browser.get(browser.baseUrl) as Promise<any>;
|
||||
}
|
||||
|
||||
getParagraphText() {
|
||||
return element(by.css('app-root h1')).getText();
|
||||
getTitleText() {
|
||||
return element(by.css('app-root h1')).getText() as Promise<string>;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user