Skip to content

FI-1237 feat: run tests via Playwright #720

FI-1237 feat: run tests via Playwright

FI-1237 feat: run tests via Playwright #720

Triggered via push July 7, 2024 10:07
Status Failure
Total duration 1m 5s
Artifacts 1

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 3 warnings
test-local: autotests/tests/e2edReportExample/setPageCookies.ts#L20
Type '{ readonly expires: number; readonly httpOnly: false; readonly name: "e2edFooCookie"; readonly path: "/"; readonly sameSite: "strict"; readonly secure: true; readonly value: "bar"; }' is not assignable to type 'Readonly<{ domain?: string; expires: number; httpOnly: boolean; name: string; path: string; sameSite: SameSite; secure: boolean; value: string; }>'.
test-local: autotests/tests/main/exists.ts#L53
Expected 1-2 arguments, but got 3.
test-local: src/actions/deleteCookies.ts#L2
Module '"../utils/cookie"' has no exported member 'getCookieOptionsFromPartialCookie'.
test-local: src/actions/waitFor/waitForRequestToRoute.ts#L59
Expected 2 arguments, but got 3.
test-local: src/actions/waitFor/waitForRequestToRoute.ts#L67
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
test-local: src/actions/waitFor/waitForRequestToRoute.ts#L75
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
test-local: src/actions/waitFor/waitForResponseToRoute.ts#L60
Expected 2 arguments, but got 3.
test-local: src/actions/waitFor/waitForResponseToRoute.ts#L68
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
test-local: src/actions/waitFor/waitForResponseToRoute.ts#L76
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
test-local: src/utils/cookie/assertStringIsSameSite.ts#L12
Type '"lax"' is not comparable to type 'SameSite'.
lint: autotests/tests/e2edReportExample/setPageCookies.ts#L20
Type '{ readonly expires: number; readonly httpOnly: false; readonly name: "e2edFooCookie"; readonly path: "/"; readonly sameSite: "strict"; readonly secure: true; readonly value: "bar"; }' is not assignable to type 'Readonly<{ domain?: string; expires: number; httpOnly: boolean; name: string; path: string; sameSite: SameSite; secure: boolean; value: string; }>'.
lint: autotests/tests/main/exists.ts#L53
Expected 1-2 arguments, but got 3.
lint: src/actions/deleteCookies.ts#L2
Module '"../utils/cookie"' has no exported member 'getCookieOptionsFromPartialCookie'.
lint: src/actions/waitFor/waitForRequestToRoute.ts#L59
Expected 2 arguments, but got 3.
lint: src/actions/waitFor/waitForRequestToRoute.ts#L67
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
lint: src/actions/waitFor/waitForRequestToRoute.ts#L75
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
lint: src/actions/waitFor/waitForResponseToRoute.ts#L60
Expected 2 arguments, but got 3.
lint: src/actions/waitFor/waitForResponseToRoute.ts#L68
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
lint: src/actions/waitFor/waitForResponseToRoute.ts#L76
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
lint: src/utils/cookie/assertStringIsSameSite.ts#L12
Type '"lax"' is not comparable to type 'SameSite'.
lint: autotests/tests/e2edReportExample/setPageCookies.ts#L20
Type '{ readonly expires: number; readonly httpOnly: false; readonly name: "e2edFooCookie"; readonly path: "/"; readonly sameSite: "strict"; readonly secure: true; readonly value: "bar"; }' is not assignable to type 'Readonly<{ domain?: string; expires: number; httpOnly: boolean; name: string; path: string; sameSite: SameSite; secure: boolean; value: string; }>'.
lint: autotests/tests/main/exists.ts#L53
Expected 1-2 arguments, but got 3.
lint: src/actions/deleteCookies.ts#L2
Module '"../utils/cookie"' has no exported member 'getCookieOptionsFromPartialCookie'.
lint: src/actions/waitFor/waitForRequestToRoute.ts#L59
Expected 2 arguments, but got 3.
lint: src/actions/waitFor/waitForRequestToRoute.ts#L67
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
lint: src/actions/waitFor/waitForRequestToRoute.ts#L75
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
lint: src/actions/waitFor/waitForResponseToRoute.ts#L60
Expected 2 arguments, but got 3.
lint: src/actions/waitFor/waitForResponseToRoute.ts#L68
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
lint: src/actions/waitFor/waitForResponseToRoute.ts#L76
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
lint: src/utils/cookie/assertStringIsSameSite.ts#L12
Type '"lax"' is not comparable to type 'SameSite'.
build-docker: autotests/tests/e2edReportExample/setPageCookies.ts#L20
Type '{ readonly expires: number; readonly httpOnly: false; readonly name: "e2edFooCookie"; readonly path: "/"; readonly sameSite: "strict"; readonly secure: true; readonly value: "bar"; }' is not assignable to type 'Readonly<{ domain?: string; expires: number; httpOnly: boolean; name: string; path: string; sameSite: SameSite; secure: boolean; value: string; }>'.
build-docker: autotests/tests/main/exists.ts#L53
Expected 1-2 arguments, but got 3.
build-docker: src/actions/deleteCookies.ts#L2
Module '"../utils/cookie"' has no exported member 'getCookieOptionsFromPartialCookie'.
build-docker: src/actions/waitFor/waitForRequestToRoute.ts#L59
Expected 2 arguments, but got 3.
build-docker: src/actions/waitFor/waitForRequestToRoute.ts#L67
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
build-docker: src/actions/waitFor/waitForRequestToRoute.ts#L75
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
build-docker: src/actions/waitFor/waitForResponseToRoute.ts#L60
Expected 2 arguments, but got 3.
build-docker: src/actions/waitFor/waitForResponseToRoute.ts#L68
Argument of type 'unknown' is not assignable to parameter of type 'RouteParams'.
build-docker: src/actions/waitFor/waitForResponseToRoute.ts#L76
Type 'unknown' is not assignable to type 'RouteParams | undefined'.
build-docker: src/utils/cookie/assertStringIsSameSite.ts#L12
Type '"lax"' is not comparable to type 'SameSite'.
lint: src/testcafe.ts#L17
Unexpected unnamed function
lint: src/testcafe.ts#L19
Unexpected unnamed function
lint: src/testcafe.ts#L21
Unexpected unnamed function

Artifacts

Produced during runtime
Name Size
reports Expired
21.5 KB