test(data): fix red integration round-trip (robust to pre-seeded data, PMS-648) #440

Merged
nrupard merged 1 commit from feat/PMS-648-data-import into main 2026-07-09 21:41:40 +02:00
Owner

Follow-up to #439: main integration test red (exact-count asserts vs pre-seeded tenant). Make it robust (unique names, no count asserts) so it runs the import load. #PMS-648

Follow-up to #439: main integration test red (exact-count asserts vs pre-seeded tenant). Make it robust (unique names, no count asserts) so it runs the import load. #PMS-648
test(data): make export/import round-trip robust to pre-seeded tenant data
Some checks failed
E2E / Playwright against staging (pull_request) Successful in 1m33s
Check / fmt + clippy + build + tests (pull_request) Successful in 4m43s
Create release / Gate (release-branch merges only) (pull_request) Successful in 2s
Create release / Create release from merged PR (pull_request) Has been skipped
Integration / integration tests (pull_request) Failing after 8m55s
07fdd05665
The default tenant is pre-populated with sample rows (seed-data migration), so the exact-count assertions failed before the import even ran. Use unique row names + drop the count asserts so the test proceeds through the import (the real wipe-and-replace load validation) and identifies its own company/contact unambiguously.

#PMS-648
nrupard deleted branch feat/PMS-648-data-import 2026-07-09 21:41:40 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
psa-systems/mokosh-server!440
No description provided.