Fix "What is Klarna" checkbox double negation #78
Annotations
13 errors and 8 notices
Run E2E Tests WP Version wordpress:5-php7.4
Process completed with exit code 1.
|
[chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.:
tests/e2e/pages/KlarnaPopup.ts#L54
1) [chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.
Error: Timed out 20000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 20000ms
- waiting for frameLocator('#klarna-apf-iframe').locator('#dialog')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at ../pages/KlarnaPopup.ts:54
52 |
53 | // Wait untill there is no dialog window on the page.
> 54 | await expect(this.dialogDiv).toHaveCount(0)
| ^
55 | }
56 |
57 | async confirmAndPay() {
at KlarnaPopup.continueWithBankId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:54:38)
at KlarnaPopup.placeOrder (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:76:9)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:408:3
|
[chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.:
tests/e2e/pages/KlarnaPopup.ts#L54
1) [chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 20000ms
- waiting for frameLocator('#klarna-apf-iframe').locator('#dialog')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at ../pages/KlarnaPopup.ts:54
52 |
53 | // Wait untill there is no dialog window on the page.
> 54 | await expect(this.dialogDiv).toHaveCount(0)
| ^
55 | }
56 |
57 | async confirmAndPay() {
at KlarnaPopup.continueWithBankId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:54:38)
at KlarnaPopup.placeOrder (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:76:9)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:408:3
|
Run E2E Tests WP Version wordpress:6.1-php8.0
Process completed with exit code 1.
|
[chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L1
1) [chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address
Test timeout of 120000ms exceeded.
|
[chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L219
1) [chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address
Error: locator.innerText: Target closed
=========================== logs ===========================
waiting for locator('li.woocommerce-order-overview__order.order > strong')
============================================================
217 | await expect(page).toHaveURL(/order-received/);
218 |
> 219 | orderId = await orderRecievedPage.getOrderId();
| ^
220 |
221 | // Verify the order details.
222 | await VerifyOrderRecieved(orderRecievedPage);
at OrderRecieved.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.js:25:55)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.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/order-recieved.js:4:12)
at OrderRecieved.getOrderId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.js:24:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:219:37
|
[chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L1
1) [chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address
Pending operations:
- locator.innerText at node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.js:25:55
|
[chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L1
1) [chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Test timeout of 120000ms exceeded.
|
[chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L219
1) [chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: locator.innerText: Target closed
=========================== logs ===========================
waiting for locator('li.woocommerce-order-overview__order.order > strong')
============================================================
217 | await expect(page).toHaveURL(/order-received/);
218 |
> 219 | orderId = await orderRecievedPage.getOrderId();
| ^
220 |
221 | // Verify the order details.
222 | await VerifyOrderRecieved(orderRecievedPage);
at OrderRecieved.<anonymous> (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.js:25:55)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.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/order-recieved.js:4:12)
at OrderRecieved.getOrderId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.js:24:16)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:219:37
|
[chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address:
tests/e2e/tests/GuestCheckout.spec.ts#L1
1) [chromium] › GuestCheckout.spec.ts:191:6 › Guest Checkout @shortcode › Can place order with Company name in both billing and shipping address
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Pending operations:
- locator.innerText at node_modules/@krokedil/wc-test-helper/lib/cjs/pages/woocommerce/order-recieved.js:25:55
|
[chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.:
tests/e2e/pages/KlarnaPopup.ts#L54
2) [chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.
Error: Timed out 20000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 20000ms
- waiting for frameLocator('#klarna-apf-iframe').locator('#dialog')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at ../pages/KlarnaPopup.ts:54
52 |
53 | // Wait untill there is no dialog window on the page.
> 54 | await expect(this.dialogDiv).toHaveCount(0)
| ^
55 | }
56 |
57 | async confirmAndPay() {
at KlarnaPopup.continueWithBankId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:54:38)
at KlarnaPopup.placeOrder (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:76:9)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:408:3
|
[chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.:
tests/e2e/pages/KlarnaPopup.ts#L54
2) [chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.
Retry #1 ───────────────────────────────────────────────────────────────────────────────────────
Error: Timed out 20000ms waiting for expect(received).toHaveCount(expected) // deep equality
Expected: 0
Received: 1
Call log:
- expect.toHaveCount with timeout 20000ms
- waiting for frameLocator('#klarna-apf-iframe').locator('#dialog')
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
- locator resolved to 1 element
- unexpected value "1"
at ../pages/KlarnaPopup.ts:54
52 |
53 | // Wait untill there is no dialog window on the page.
> 54 | await expect(this.dialogDiv).toHaveCount(0)
| ^
55 | }
56 |
57 | async confirmAndPay() {
at KlarnaPopup.continueWithBankId (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:54:38)
at KlarnaPopup.placeOrder (/home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/pages/KlarnaPopup.ts:76:9)
at /home/runner/work/klarna-payments-for-woocommerce/klarna-payments-for-woocommerce/tests/e2e/tests/GuestCheckout.spec.ts:408:3
|
Run E2E Tests WP Version wordpress:latest
Process completed with exit code 1.
|
🎭 Playwright Run Summary
1 failed
[chromium] › GuestCheckout.spec.ts:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.
9 skipped
10 passed (2.7m)
|
WordPress Version
6.1.1
|
WooCommerce Version
7.9.0
|
PHP Version
8.0.28
|
🎭 Playwright Run Summary
2 failed
[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:383:6 › Guest Checkout @checkoutBlock › Can buy 6x 99.99 products with 25% tax.
9 skipped
9 passed (5.1m)
|
WordPress Version
6.2.2
|
WooCommerce Version
7.9.0
|
PHP Version
8.0.29
|