Prefer order key over order id on the client #103
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
14 errors and 9 notices
Run E2E Tests WP Version wordpress:6.1-php8.0
TypeError: Cannot read properties of undefined (reading 'version')
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/index.js:66:49
at fulfilled (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/index.js:28:58)
|
Run E2E Tests WP Version wordpress:6.1-php8.0
Process completed with exit code 1.
|
Run E2E Tests WP Version wordpress:5-php7.4
TypeError: Cannot read properties of undefined (reading 'version')
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/index.js:66:49
at fulfilled (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/index.js:28:58)
|
Run E2E Tests WP Version wordpress:5-php7.4
Process completed with exit code 1.
|
[chromium] › GuestCheckout.spec.ts:33:6 › Guest Checkout @shortcode › Can buy 6x 99.99 products with 25% tax.:
tests/e2e/tests/GuestCheckout.spec.ts#L44
1) [chromium] › GuestCheckout.spec.ts:33:6 › Guest Checkout @shortcode › Can buy 6x 99.99 products with 25% tax.
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
42 | await checkoutPage.goto();
43 |
> 44 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
45 |
46 | // Fill in the billing address.
47 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:44:22
|
[chromium] › GuestCheckout.spec.ts:33:6 › Guest Checkout @shortcode › Can buy 6x 99.99 products with 25% tax.:
tests/e2e/tests/GuestCheckout.spec.ts#L44
1) [chromium] › GuestCheckout.spec.ts:33:6 › Guest Checkout @shortcode › Can buy 6x 99.99 products with 25% tax.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
42 | await checkoutPage.goto();
43 |
> 44 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
45 |
46 | // Fill in the billing address.
47 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:44:22
|
[chromium] › GuestCheckout.spec.ts:64:6 › Guest Checkout @shortcode › Can buy products with different tax rates:
tests/e2e/tests/GuestCheckout.spec.ts#L75
2) [chromium] › GuestCheckout.spec.ts:64:6 › Guest Checkout @shortcode › Can buy products with different tax rates
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
73 | await checkoutPage.goto();
74 |
> 75 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
76 |
77 | // Fill in the billing address.
78 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:75:22
|
[chromium] › GuestCheckout.spec.ts:64:6 › Guest Checkout @shortcode › Can buy products with different tax rates:
tests/e2e/tests/GuestCheckout.spec.ts#L75
2) [chromium] › GuestCheckout.spec.ts:64:6 › Guest Checkout @shortcode › Can buy products with different tax rates
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
73 | await checkoutPage.goto();
74 |
> 75 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
76 |
77 | // Fill in the billing address.
78 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:75:22
|
[chromium] › GuestCheckout.spec.ts:95:6 › Guest Checkout @shortcode › Can buy products that don't require shipping:
tests/e2e/tests/GuestCheckout.spec.ts#L106
3) [chromium] › GuestCheckout.spec.ts:95:6 › Guest Checkout @shortcode › Can buy products that don't require shipping
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
104 | await checkoutPage.goto();
105 |
> 106 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
107 |
108 | // Fill in the billing address.
109 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:106:22
|
[chromium] › GuestCheckout.spec.ts:95:6 › Guest Checkout @shortcode › Can buy products that don't require shipping:
tests/e2e/tests/GuestCheckout.spec.ts#L106
3) [chromium] › GuestCheckout.spec.ts:95:6 › Guest Checkout @shortcode › Can buy products that don't require shipping
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
104 | await checkoutPage.goto();
105 |
> 106 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
107 |
108 | // Fill in the billing address.
109 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:106:22
|
[chromium] › GuestCheckout.spec.ts:126:6 › Guest Checkout @shortcode › Can buy variable products:
tests/e2e/tests/GuestCheckout.spec.ts#L137
4) [chromium] › GuestCheckout.spec.ts:126:6 › Guest Checkout @shortcode › Can buy variable products
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
135 | await checkoutPage.goto();
136 |
> 137 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
138 |
139 | // Fill in the billing address.
140 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:137:22
|
[chromium] › GuestCheckout.spec.ts:126:6 › Guest Checkout @shortcode › Can buy variable products:
tests/e2e/tests/GuestCheckout.spec.ts#L137
4) [chromium] › GuestCheckout.spec.ts:126:6 › Guest Checkout @shortcode › Can buy variable products
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
135 | await checkoutPage.goto();
136 |
> 137 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
138 |
139 | // Fill in the billing address.
140 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:137:22
|
[chromium] › GuestCheckout.spec.ts:157:6 › Guest Checkout @shortcode › Can place order with separate shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L168
5) [chromium] › GuestCheckout.spec.ts:157:6 › Guest Checkout @shortcode › Can place order with separate shipping address
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
166 | await checkoutPage.goto();
167 |
> 168 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
169 |
170 | // Fill in the billing address.
171 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:168:22
|
[chromium] › GuestCheckout.spec.ts:157:6 › Guest Checkout @shortcode › Can place order with separate shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L168
5) [chromium] › GuestCheckout.spec.ts:157:6 › Guest Checkout @shortcode › Can place order with separate shipping address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(received).toBeVisible()
Call log:
- expect.toBeVisible with timeout 20000ms
- waiting for locator('input[id*="klarna_payments"]').first()
166 | await checkoutPage.goto();
167 |
> 168 | await checkoutPage.hasPaymentMethodId(paymentMethodId);
| ^
169 |
170 | // Fill in the billing address.
171 | await checkoutPage.fillBillingAddress();
at Checkout.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:121:100)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:8:71
at __awaiter (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:4:12)
at Checkout.hasPaymentMethodId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/checkout.js:119:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:168:22
|
WordPress Version
Unknown
|
PHP Version
Unknown
|
WordPress Version
Unknown
|
WooCommerce Version
5.6.0
|
PHP Version
Unknown
|
🎭 Playwright Run Summary
11 failed
[chromium] › GuestCheckout.spec.ts:33:6 › Guest Checkout @shortcode › Can buy 6x 99.99 products with 25% tax.
[chromium] › GuestCheckout.spec.ts:64:6 › Guest Checkout @shortcode › Can buy products with different tax rates
[chromium] › GuestCheckout.spec.ts:95:6 › Guest Checkout @shortcode › Can buy products that don't require shipping
[chromium] › GuestCheckout.spec.ts:126:6 › Guest Checkout @shortcode › Can buy variable products
[chromium] › GuestCheckout.spec.ts:157:6 › Guest Checkout @shortcode › Can place order with separate shipping address
[chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address
[chromium] › GuestCheckout.spec.ts:225:6 › Guest Checkout @shortcode › Can change shipping method
[chromium] › GuestCheckout.spec.ts:259:6 › Guest Checkout @shortcode › Can place order with coupon 10%
[chromium] › GuestCheckout.spec.ts:293:6 › Guest Checkout @shortcode › Can place order with coupon fixed 10
[chromium] › GuestCheckout.spec.ts:327:6 › Guest Checkout @shortcode › Can place order with coupon 100%
[chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.
9 skipped
|
WordPress Version
6.4.1
|
WooCommerce Version
8.2.2
|
PHP Version
8.0.30
|