aswi2021codebakers-gitlab/e2e/src/app.po.ts @ 5231600c
1 |
import { browser, by, element } from 'protractor'; |
---|---|
2 |
|
3 |
export class AppPage { |
4 |
async navigateTo(): Promise<unknown> { |
5 |
return browser.get(browser.baseUrl); |
6 |
}
|
7 |
|
8 |
async getTitleText(): Promise<string> { |
9 |
return element(by.css('app-root .content span')).getText(); |
10 |
}
|
11 |
}
|
- « Předchozí
- 1
- 2
- Další »