Skip to content

hotfix#171

Merged
kilip merged 5 commits intomainfrom
wip
Apr 7, 2026
Merged

hotfix#171
kilip merged 5 commits intomainfrom
wip

Conversation

@kilip
Copy link
Copy Markdown
Contributor

@kilip kilip commented Apr 7, 2026

No description provided.

kilip added 5 commits April 7, 2026 10:55
Updates the organization type select to use the `items` prop at the root level as documented by Shadcn/Base-UI. This ensures the selected label is correctly mapped and displayed in the trigger. Also memoizes the `orgTypes` collection for stability.
- Creates `LoginPage` POM at `e2e/pages/LoginPage.ts`.
- Migrates login tests to `e2e/features/auth/login.spec.ts`.
- Adds automated scenarios for success and common failure paths.
- Removes legacy test file.
- Move redirects.spec.ts to features/auth directory
- Create PendingPage and RejectedPage Page Object Models
- Update LoginPage POM with Google sign-in button locator
- Add deep-link redirection tests for restricted account statuses
- Refactor existing tests to use the new POMs for better robustness
- Created Organization-specific Page Object Models (POMs)
- Refactored e2e feature tests to use the new POMs
- Reorganized e2e/pages directory by domain (org/ and auth/)
- Updated import paths in all feature tests across both domains
- All 22 tests (13 org, 9 auth) passing after restructuring
- **Auth Redirects**: Split restricted users test into independent `pending` and `rejected` test blocks to prevent playwright context isolation race conditions.
- **Org Join**: Substituted hardcoded `TEST_JOIN_ID` with dynamically generated `v7()` UUIDs to avoid unique constaint violations in the database when workers run concurrently.
- **Unit ordering**: Modified `UnitRepository.findByOrganizationId` to incorporate secondary ordering by `createdAt` to guarantee absolute deterministic ordering for UI list verification in tests. Added DOM visibility checks to unit additions in `OrgDetailPage.ts` to solve hydration wait races.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
domus Canceled Canceled Apr 7, 2026 5:24am

@cloudflare-workers-and-pages
Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
domus-cron 454c416 Commit Preview URL

Branch Preview URL
Apr 07 2026, 04:49 AM

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 7, 2026

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.98%. Comparing base (d5faf62) to head (454c416).
⚠️ Report is 8 commits behind head on main.

Files with missing lines Patch % Lines
apps/dash/src/pages/org/actions/unit-create.ts 0.00% 1 Missing ⚠️
apps/dash/src/pages/org/actions/unit-reorder.ts 0.00% 1 Missing ⚠️
apps/dash/src/pages/org/actions/unit-update.ts 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #171      +/-   ##
==========================================
- Coverage   46.05%   45.98%   -0.07%     
==========================================
  Files          74       74              
  Lines        2191     2194       +3     
  Branches      458      457       -1     
==========================================
  Hits         1009     1009              
- Misses       1182     1185       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@kilip kilip merged commit eeca363 into main Apr 7, 2026
5 of 8 checks passed
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.

1 participant