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

wp-graphql / wp-graphql-woocommerce / 23454792185
92%

Build:
DEFAULT BRANCH: develop
Ran 23 Mar 2026 09:39PM UTC
Jobs 1
Files 233
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

23 Mar 2026 06:55PM UTC coverage: 83.835% (+0.2%) from 83.661%
23454792185

push

github

web-flow
feat: `productAttributes` query implemented (#905)

* refactor: Product_Attribute_Connection_Resolver class refactor to be more consistent with contemporaries

* refactor: Product_Attribute_Connection_Resolver class refactoring continued

* feat: implement productAttributes root query, products connection on ProductAttribute, and category-scoped attributes

- Implement build_nodes_from_global_attributes() to return WC_Product_Attribute
  objects from wc_get_attribute_taxonomies()
- Fix build_connection() infinite recursion and undefined variable bugs
- Add products connection from ProductAttribute interface to Product via
  tax_query (global) or meta_query (local) in class-products.php
- Add productAttributes connection from ProductCategory to GlobalProductAttribute
  in class-product-attributes.php
- Move localAttributes/globalAttributes connections from class-product-attributes.php
  to ProductWithAttributes interface get_connections()
- Fix ProductAttribute id resolvers to use Relay::toGlobalId() instead of
  dynamically set _relay_id
- Remove deprecated get_items() method and GLOBAL_ID_DELIMITER constant
- Add ProductAttributeConnectionsTest with 4 tests covering root query,
  global/local attribute products connections, and category-scoped attributes
- Update ProductAttributeQueriesTest expectations for new id format and
  taxonomy-prefixed attribute names

146 of 160 new or added lines in 5 files covered. (91.25%)

14200 of 16938 relevant lines covered (83.84%)

100.01 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
86.96
31.69% includes/data/connection/class-product-attribute-connection-resolver.php
Jobs
ID Job ID Ran Files Coverage
1 23454792185.1 23 Mar 2026 09:39PM UTC 233
83.84
GitHub Action Run
Source Files on build 23454792185
  • Tree
  • List 233
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8f4d3c37 on github
  • Prev Build on develop (#23448232567)
  • Next Build on develop (#23461214818)
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