Skip to content

test: add Wix product option fixture - #985

Merged
sridharkalaibala merged 3 commits into
Posnic:developfrom
RujulaSharma:docs/wix-product-option-fixture
Sep 27, 2026
Merged

sridharkalaibala merged 3 commits into
Posnic:developfrom
RujulaSharma:docs/wix-product-option-fixture

Conversation

@RujulaSharma

Copy link
Copy Markdown
Contributor

Summary

Adds a synthetic Wix Stores Catalog V3 product option fixture for issue #423.

Included

  • Synthetic Size and Color product options
  • Four synthetic variant combinations
  • Expected Wix -> Posnic variant mapping
  • SKU -> itemid mapping
  • Barcode -> barcode_id mapping
  • Missing SKU and barcode behavior
  • Official Wix Stores API documentation references
  • Tests covering the fixture and integration boundary

Scope

This is limited to fixture and documentation work.

  • No live Wix API calls
  • No Wix authentication or installation flow
  • No production connector implementation
  • No real merchant or customer data

Validation

  • node --test tests/wix-product-option-fixture.test.js
  • 7 tests passed
  • git diff --cached --check passed

Closes #423

@sridharkalaibala sridharkalaibala left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Wix product-option fixture is synthetic, clearly distinguishes expected future mapping from a live connector, and covers absent identifiers safely. Verified git diff --check; all published checks are green.

@sridharkalaibala
sridharkalaibala merged commit c6c1fa9 into Posnic:develop Sep 27, 2026
10 checks passed
@github-actions github-actions Bot added the ready for QA Merged to develop and live on develop.posnic.io - anyone can test it label Sep 27, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Merged to develop. Anyone can test this - you do not need write access.

Try it at https://develop.posnic.io, or run it yourself:

git fetch origin develop && git checkout develop
npm install && npm --prefix api install
npm run dev   # then http://localhost:3000

When you have tested it, say what you did and what happened, and set
QA passed or QA failed. If you cannot set labels, just comment -
a maintainer will.

Reporting that something is broken is as useful as fixing it. It is
better found here than by a shopkeeper.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for QA Merged to develop and live on develop.posnic.io - anyone can test it

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Wix Stores connector: add product option fixture

2 participants