• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

wp-graphql / wp-graphql-woocommerce / 23776405683
92%

Build:
DEFAULT BRANCH: develop
Ran 31 Mar 2026 01:55AM UTC
Jobs 1
Files 237
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

31 Mar 2026 01:42AM UTC coverage: 89.968% (+0.5%) from 89.424%
23776405683

push

github

web-flow
fix: HPOS order mutation data loss, COT cursor pagination, email tests, checkout auth (#1003)

* devops: WC email template tests, COT cursor HPOS fix, checkout account auth

WC Email Template Tests:
- Add WooCommerceEmailTemplatesTest verifying WC email templates are used
  for registerCustomer, checkout with account creation, and password reset
- Use MockPHPMailer to capture emails and verify HTML content type
- Disable deferred transactional emails during tests via GRAPHQL_TESTING flag

COT Cursor HPOS Fix:
- Fix COT_Cursor::compare_with to resolve orderby aliases and legacy meta
  keys (_order_total, _date_completed, etc.) to COT column names
- Add resolve_orderby_alias() mapping short aliases and meta keys to columns
- Add DB_Hooks::clean_query_vars to translate post_* and meta_key orderby
  to COT-compatible equivalents via woocommerce_order_query_args filter

Checkout Account Authentication:
- Add authenticate field to CreateAccountInput type
- Gate wc_set_customer_auth_cookie() behind authenticate flag in checkout
  mutation so account creation doesn't auto-authenticate by default

Closes #882

* devops: codeception.dist.yml updated

* fix: Functional test cleanup and CI coverage condition

Test fixes:
- Enable authorizing URL fields in ProtectedRouterCest and
  DownloadableItemAuthCest via setWooGraphQLSetting
- Add stale data cleanup (sessions, users, products, orders) to
  GraphQLE2E _setupStore/getCatalog/setupStoreAndUsers
- Fix CartTransactionQueueCest and CartQueriesTest for test isolation

CI:
- Only run coverage job when at least one upstream job succeeds

* chore: Linter compliances met

* fix: HPOS order mutation data loss and CI coverage condition

Refactor order create/update mutations to set all props on a single
WC_Order instance before saving, mirroring the WC REST API pattern.
Previously, separate add_order_meta() and add_items() calls each loaded
their own order instance and saved independently, causing HPOS data loss
for paym... (continued)

113 of 119 new or added lines in 9 files covered. (94.96%)

2 existing lines in 2 files now uncovered.

15937 of 17714 relevant lines covered (89.97%)

143.68 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
87.23
87.23% includes/data/cursor/class-cot-cursor.php
1
98.04
92.78% includes/data/class-db-hooks.php

Coverage Regressions

Lines Coverage ∆ File
1
67.61
-1.41% includes/data/loader/class-wc-cpt-loader.php
1
78.86
0.06% includes/data/mutation/class-checkout-mutation.php
Jobs
ID Job ID Ran Files Coverage
1 23776405683.1 31 Mar 2026 01:55AM UTC 237
89.97
GitHub Action Run
Source Files on build 23776405683
  • Tree
  • List 237
  • Changed 11
  • Source Changed 0
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 460b101b on github
  • Prev Build on develop (#23666268821)
  • Next Build on develop (#23778302055)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc