Running 20 tests using 1 worker ✓ 1 [chromium] › tests/admin-testimonials-crud.spec.ts:141:5 › admin edits a Testimonial — date, comment, good/bad and store answer persist verbatim (issue #37) (2.5s) ✓ 2 [chromium] › tests/currency-rate-refresh-boe.spec.ts:402:5 › verifies admin-refreshed BOE currency rates match the Bank of England rates page appropriate to the feed's current freshness (1.9s) ✓ 3 [chromium] › tests/guest-order-linking.spec.ts:206:7 › Guest-order linking with email confirmation (issue #4) › S1: registering with a guest email sends one confirmation; the link adds exactly those orders (3.2s) ✓ 4 [chromium] › tests/guest-order-linking.spec.ts:293:7 › Guest-order linking with email confirmation (issue #4) › S2: an existing account sees the notice, requests a link and confirms it after logging in (5.2s) ✓ 5 [chromium] › tests/guest-order-linking.spec.ts:361:7 › Guest-order linking with email confirmation (issue #4) › S3: requests are rate-limited (10 minutes, then 5 per 24 hours) (3.3s) ✓ 6 [chromium] › tests/guest-order-linking.spec.ts:402:7 › Guest-order linking with email confirmation (issue #4) › S4: random, expired, used and malformed tokens link nothing (4.0s) ✓ 7 [chromium] › tests/guest-order-linking.spec.ts:432:7 › Guest-order linking with email confirmation (issue #4) › S5: a link opened while logged in as another customer is refused and stays usable (3.1s) ✓ 8 [chromium] › tests/guest-order-linking.spec.ts:460:7 › Guest-order linking with email confirmation (issue #4) › S6: a POST without CSRF sends nothing; a changed account email voids the link (2.5s) ✓ 9 [chromium] › tests/guest-order-linking.spec.ts:488:7 › Guest-order linking with email confirmation (issue #4) › S9: login CSRF — signed in as the attacker's account, the victim cannot link without its password (3.5s) ✓ 10 [chromium] › tests/guest-order-linking.spec.ts:569:7 › Guest-order linking with email confirmation (issue #4) › S10: registering an email without any orders sends no confirmation and stores no link (7.0s) ✓ 11 [chromium] › tests/guest-order-linking.spec.ts:573:7 › Guest-order linking with email confirmation (issue #4) › S11: registering an email whose only orders belong to an account sends no confirmation (7.1s) ✓ 12 [chromium] › tests/guest-order-linking.spec.ts:589:7 › Guest-order linking with email confirmation (issue #4) › S12: registering an email that only resembles a guest order's email sends no confirmation (7.2s) ✓ 13 [chromium] › tests/guest-order-linking.spec.ts:606:7 › Guest-order linking with email confirmation (issue #4) › S13: registering an email whose only guest order is a missing order (status 0) sends no confirmation (7.0s) ✘ 14 [chromium] › tests/paypal-v2-checkout.spec.ts:273:5 › completes a guest checkout via PayPal Orders v2 (REST API) sandbox (0ms) ✓ 15 [chromium] › tests/refresh-modification-cache.spec.ts:67:5 › refreshes the OpenCart modification cache from the admin panel (2.2s) ✓ 16 [chromium] › tests/testimonials-email-validation.spec.ts:58:7 › Testimonials submission form — e-mail validation (issue #37) › accepts a valid e-mail and shows the success message (1.7s) ✓ 17 [chromium] › tests/testimonials-email-validation.spec.ts:74:7 › Testimonials submission form — e-mail validation (issue #37) › rejects an SQL-injection-style malformed e-mail (1.7s) ✓ 18 [chromium] › tests/testimonials-email-validation.spec.ts:92:7 › Testimonials submission form — e-mail validation (issue #37) › rejects an over-length (96+ char) e-mail local part (2.3s) - 19 [chromium] › tests/simple-register-local.spec.ts:105:7 › Simple register flow, licensed locally (issue #55, opt-in) › S1: an email with an unlinked guest order gets the confirmation mail; the link adds the order - 20 [chromium] › tests/simple-register-local.spec.ts:149:7 › Simple register flow, licensed locally (issue #55, opt-in) › S2: an email without guest orders gets the welcome mail but no confirmation and no link row 1) [chromium] › tests/paypal-v2-checkout.spec.ts:273:5 › completes a guest checkout via PayPal Orders v2 (REST API) sandbox Error: Missing required env var PAYPAL_SANDBOX_BUYER_EMAIL. Populate e2e/.env (see e2e/.env.example) before running this spec. 264 | })) { 265 | if (!value) { > 266 | throw new Error( | ^ 267 | `Missing required env var ${name}. Populate e2e/.env (see e2e/.env.example) before running this spec.`, 268 | ); 269 | } at /home/hpopov/repos/owl-crafts-shop-worktrees/issue-4-guest-orders/e2e/tests/paypal-v2-checkout.spec.ts:266:13 Error Context: test-results/paypal-v2-checkout-complet-c37d0--Orders-v2-REST-API-sandbox-chromium/error-context.md attachment #2: trace (application/zip) ───────────────────────────────────────────────────────── test-results/paypal-v2-checkout-complet-c37d0--Orders-v2-REST-API-sandbox-chromium/trace.zip Usage: npx playwright show-trace test-results/paypal-v2-checkout-complet-c37d0--Orders-v2-REST-API-sandbox-chromium/trace.zip ──────────────────────────────────────────────────────────────────────────────────────────────── 1 failed [chromium] › tests/paypal-v2-checkout.spec.ts:273:5 › completes a guest checkout via PayPal Orders v2 (REST API) sandbox 2 skipped 17 passed (1.1m)