Commit Graph
11 Commits
Author SHA1 Message Date
bermudalambandClaude Opus 5 a240d86762 test: disambiguate the Email locator in auth.spec
SonarQube Analysis / sonarqube (pull_request) Successful in 5m18s
Tests / backend-unit (pull_request) Successful in 51s
Tests / backend-integration (pull_request) Successful in 3m25s
Tests / frontend-e2e (pull_request) Successful in 12m21s
getByLabel('Email') matched two elements on /register -- the email input and
the marketing consent checkbox, whose label "Send me occasional emails"
contains the substring. Playwright's strict mode failed both tests that
filled it.

getByRole('textbox', ...) narrows by role, so the checkbox no longer collides.
Applied to the /login usage too, so the same concept reads the same way
throughout the file.

These failures were latent: the frontend-e2e job died at the build step
before it ever reached the tests, so CI never reported them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 18:35:43 -05:00
bermudalambandClaude Opus 5 b7c8c37447 fix: add the missing /verify-email page
SonarQube Analysis / sonarqube (pull_request) Successful in 3m42s
Tests / backend-unit (pull_request) Successful in 59s
Tests / backend-integration (pull_request) Successful in 1m30s
Tests / frontend-e2e (pull_request) Failing after 5m21s
Verification emails linked to /verify-email?token=..., but no such route
existed in main.tsx and nothing in the frontend ever called
POST /api/customers/verify-email. The SPA catch-all served index.html, no
route matched, and the page rendered blank -- so the token was never
redeemed and accounts stayed unverified forever.

The gap was invisible until SMTP was configured, because no verification
email had ever actually been delivered.

Adds VerifyEmail.tsx (verifying / verified / failed states), a verifyEmail
call in customerApi, and the route. The request is pinned to a single
firing via a ref: the endpoint deletes the token on success, so StrictMode's
double effect invocation in dev would otherwise overwrite the success state
with "invalid or expired token".

Verified end to end against a local stack: a real token flips
customers.email_verified to true and is consumed from customer_tokens.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-08-15 18:16:32 -05:00
bermudalamb 1421694a0c fix: add back-to-shop navigation on cart page
SonarQube Analysis / sonarqube (pull_request) Successful in 3m55s
Tests / backend-unit (pull_request) Successful in 39s
Tests / backend-integration (pull_request) Failing after 1m6s
Tests / frontend-e2e (pull_request) Failing after 1m5s
2026-08-14 15:36:30 -05:00
bermudalamb 86f48ed3f8 fix: add back-to-shop navigation on cart page 2026-08-14 15:20:11 -05:00
bermudalamb b85cdb9c44 fix: cart badge not updating after account creation due to stale closure
SonarQube Analysis / sonarqube (pull_request) Successful in 7m25s
Tests / backend-unit (pull_request) Successful in 1m46s
Tests / backend-integration (pull_request) Failing after 3m6s
Tests / frontend-e2e (pull_request) Failing after 1m16s
2026-08-14 15:13:55 -05:00
bermudalamb 9ab689e624 feat: add customer cart with expiry, shipping addresses with USPS validation, and multi-item PayPal checkout
SonarQube Analysis / sonarqube (pull_request) Failing after 59s
Tests / backend-unit (pull_request) Successful in 34s
Tests / backend-integration (pull_request) Failing after 1m33s
Tests / frontend-e2e (pull_request) Failing after 1m5s
2026-08-14 14:02:25 -05:00
bermudalamb 9325610517 fix: markdown editor not accepting input due to Form.Item prop injection conflict
SonarQube Analysis / sonarqube (pull_request) Successful in 3m17s
Tests / backend-unit (pull_request) Successful in 50s
Tests / backend-integration (pull_request) Successful in 1m26s
Tests / frontend-e2e (pull_request) Failing after 40s
2026-08-14 09:43:59 -05:00
bermudalamb 336ad3d5ab fix: add frontend package-lock.json
Introduces the `package-lock.json` file to the frontend directory to ensure consistent dependency versions across development environments and deployments. This prevents dependency drift and improves build reliability.
2026-08-14 09:27:22 -05:00
bermudalamb f5218782e9 Fix header overflow on mobile viewports
SonarQube Analysis / sonarqube (push) Successful in 6m55s
2026-08-13 17:51:15 -05:00
bermudalamb 921022c658 Add backend unit/integration tests, Playwright e2e tests, README, cookie Secure fix
SonarQube Analysis / sonarqube (push) Successful in 4m20s
2026-08-13 22:35:38 +00:00
bermudalamb 9be4986dd3 Initial commit: redefined-designs storefront 2026-08-13 21:07:54 +00:00