E2E Tests on Atomic - All #150
Annotations
7 errors and 2 notices
[setup] › auth.setup.ts:59:6 › authenticate as admin:
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
|
[setup] › auth.setup.ts:59:6 › authenticate as admin:
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
|
[setup] › auth.setup.ts:59:6 › authenticate as admin:
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
|
[setup] › auth.setup.ts:106:6 › authenticate as customer:
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
|
[setup] › auth.setup.ts:106:6 › authenticate as customer:
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
|
[setup] › auth.setup.ts:106:6 › authenticate as customer:
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
|
WP - nightly | WC - latest | wcpay - shopper
Process completed with exit code 1.
|
🎭 Playwright Run Summary
2 failed
[setup] › auth.setup.ts:59:6 › authenticate as admin ───────────────────────────────────────────
[setup] › auth.setup.ts:106:6 › authenticate as customer ───────────────────────────────────────
88 did not run
|
WP - nightly | WC - latest | wcpay - shopper
tests/e2e/results.json doesn't exist so results are unclear and we will not try again.
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
wp(nightly)-wc(latest)-wcpay-shopper
Expired
|
8.97 MB |
|