Skip to content

Add KYC submission tests and mock identity documents - #583

Open
deedee-code wants to merge 1 commit into
arflexx:mainfrom
deedee-code:test/kyc-submission-e2e
Open

deedee-code wants to merge 1 commit into
arflexx:mainfrom
deedee-code:test/kyc-submission-e2e

Conversation

@deedee-code

Copy link
Copy Markdown

Summary

Adds deterministic Playwright coverage for KYC document submission, including pending review, provider rejection with resubmission guidance, and the listing-creation gate while KYC is pending.

Closes #532


Type of Change

  • feat — new feature
  • fix — bug fix
  • refactor — code change with no behaviour change
  • docs — documentation only
  • chore — build, deps, config
  • contract — Soroban smart contract change

What Changed.

File Change
kyc-submission.spec.ts Added happy-path and rejection-path KYC E2E tests, including assertions that pending KYC disables listing creation.
fixtures/ Added PNG files used for Playwright setInputFiles uploads.
playwright.config.ts Made app and mock API ports configurable; CI defaults remain unchanged.
mocks.ts Updated the API URL fallback to support the configurable mock API port.

How to Test

cd frontend

# Passed: confirms both KYC tests are discovered.
pnpm exec playwright test e2e/kyc-submission.spec.ts --list
pnpm test:e2e e2e/kyc-submission.spec.ts

@drips-wave

drips-wave Bot commented Oct 22, 2026

Copy link
Copy Markdown

@deedee-code Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Testing] - Add Playwright E2E Test for KYC Submission Flow

1 participant