From c199c427d4ae586339822320f20f512a7a19dc3f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 18 Oct 2018 14:35:31 +0200 Subject: Better typings --- client/e2e/src/po/video-watch.po.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/e2e/src/po/video-watch.po.ts') diff --git a/client/e2e/src/po/video-watch.po.ts b/client/e2e/src/po/video-watch.po.ts index e17aebc29..d1e2a73b8 100644 --- a/client/e2e/src/po/video-watch.po.ts +++ b/client/e2e/src/po/video-watch.po.ts @@ -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) { -- cgit v1.2.3