E2E Tests on Atomic - All #150
Annotations
7 errors and 2 notices
Run the tests:
tests/e2e-pw/specs/auth.setup.ts#L50
1) [setup] › auth.setup.ts:59:6 › authenticate as admin ──────────────────────────────────────────
Error: browserContext.addCookies: Cookie should have a url or a domain/path pair
48 | const domain = new URL( project.use.baseURL ).hostname;
49 |
> 50 | await page.context().addCookies( [
| ^
51 | {
52 | value: 'true',
53 | name: '_wpcomsh_support_session_detected',
at addSupportSessionDetectedCookie (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:50:23)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:102:8
|
Run the tests:
tests/e2e-pw/specs/auth.setup.ts#L50
1) [setup] › auth.setup.ts:59:6 › authenticate as admin ──────────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserContext.addCookies: Cookie should have a url or a domain/path pair
48 | const domain = new URL( project.use.baseURL ).hostname;
49 |
> 50 | await page.context().addCookies( [
| ^
51 | {
52 | value: 'true',
53 | name: '_wpcomsh_support_session_detected',
at addSupportSessionDetectedCookie (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:50:23)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:102:8
|
Run the tests:
tests/e2e-pw/specs/auth.setup.ts#L50
1) [setup] › auth.setup.ts:59:6 › authenticate as admin ──────────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserContext.addCookies: Cookie should have a url or a domain/path pair
48 | const domain = new URL( project.use.baseURL ).hostname;
49 |
> 50 | await page.context().addCookies( [
| ^
51 | {
52 | value: 'true',
53 | name: '_wpcomsh_support_session_detected',
at addSupportSessionDetectedCookie (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:50:23)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:102:8
|
Run the tests:
tests/e2e-pw/specs/auth.setup.ts#L50
2) [setup] › auth.setup.ts:106:6 › authenticate as customer ──────────────────────────────────────
Error: browserContext.addCookies: Cookie should have a url or a domain/path pair
48 | const domain = new URL( project.use.baseURL ).hostname;
49 |
> 50 | await page.context().addCookies( [
| ^
51 | {
52 | value: 'true',
53 | name: '_wpcomsh_support_session_detected',
at addSupportSessionDetectedCookie (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:50:23)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:151:8
|
Run the tests:
tests/e2e-pw/specs/auth.setup.ts#L50
2) [setup] › auth.setup.ts:106:6 › authenticate as customer ──────────────────────────────────────
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserContext.addCookies: Cookie should have a url or a domain/path pair
48 | const domain = new URL( project.use.baseURL ).hostname;
49 |
> 50 | await page.context().addCookies( [
| ^
51 | {
52 | value: 'true',
53 | name: '_wpcomsh_support_session_detected',
at addSupportSessionDetectedCookie (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:50:23)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:151:8
|
Run the tests:
tests/e2e-pw/specs/auth.setup.ts#L50
2) [setup] › auth.setup.ts:106:6 › authenticate as customer ──────────────────────────────────────
Retry #2 ───────────────────────────────────────────────────────────────────────────────────────
Error: browserContext.addCookies: Cookie should have a url or a domain/path pair
48 | const domain = new URL( project.use.baseURL ).hostname;
49 |
> 50 | await page.context().addCookies( [
| ^
51 | {
52 | value: 'true',
53 | name: '_wpcomsh_support_session_detected',
at addSupportSessionDetectedCookie (/home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:50:23)
at /home/runner/work/woocommerce-payments/woocommerce-payments/tests/e2e-pw/specs/auth.setup.ts:151:8
|
Run the tests
Process completed with exit code 1.
|
Run the tests
2 failed
[setup] › auth.setup.ts:59:6 › authenticate as admin ───────────────────────────────────────────
[setup] › auth.setup.ts:106:6 › authenticate as customer ───────────────────────────────────────
88 did not run
|
Run the tests
tests/e2e/results.json doesn't exist so results are unclear and we will not try again.
|
Loading