Better typings

This commit is contained in:
Chocobozzz
2018-10-18 14:35:31 +02:00
parent cdf4cb9eaf
commit c199c427d4
65 changed files with 1606 additions and 150 deletions

View File

@@ -23,7 +23,7 @@ export class VideoWatchPage {
getVideosListName () {
return element.all(by.css('.videos .video-miniature .video-miniature-name'))
.getText()
.then((texts: any) => texts.map(t => t.trim()))
.then((texts: any) => texts.map((t: any) => t.trim()))
}
waitWatchVideoName (videoName: string, isMobileDevice: boolean, isSafari: boolean) {