Repository navigation
test: add osCommerce CSV import fixtures - #1195
Conversation
|
All contributors have signed the CLA. Thank you. |
|
I have read the CLA document and I hereby sign the CLA |
sridharkalaibala
left a comment
There was a problem hiding this comment.
Reviewed the synthetic fixtures, documentation, and existing idempotency contract. All 17 focused fixture/idempotency tests, attribution check, and whitespace check passed locally. The change stays within the fixture-only scope of issue #94. Small documentation follow-up: clarify that an absent optional SKU is a future mapping case, since the table currently calls SKU optional while the invalid-fixture section calls it a validation error.
sridharkalaibala
left a comment
There was a problem hiding this comment.
The fixture tests still pass, but the newly completed No secrets in history check failed. Please do not merge until the maintainer has privately triaged the findings and the check passes. Do not paste findings or credentials into this public discussion; use GitHub private vulnerability reporting if enabled, or a private maintainer channel. This supersedes my earlier approval pending that security check.
|
Merged to 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:3000When you have tested it, say what you did and what happened, and set Reporting that something is broken is as useful as fixing it. It is |
What does this PR do?
Adds synthetic osCommerce CSV order fixtures and focused tests for issue #94.
The fixtures cover:
Closes #94
Acceptance criteria covered
Validation
node --test tests/oscommerce-csv-import-fixture.test.jsnode --test tests/external-sale-idempotency.test.js tests/oscommerce-csv-import-fixture.test.jsnpm run check:attributiongit diff --checkAll checks pass.
Scope
This PR only adds test fixtures, fixture documentation, and focused tests. It uses synthetic data and the existing external-sale idempotency contract. No live osCommerce integration or production database/API behavior is introduced.