-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingdxDeveloper experienceDeveloper experiencefrontendFrontendFrontend
Description
Problem
Several E2E tests assert against copy that doesn't match the actual rendered UI, causing false failures or silent vacuous passes.
Specific mismatches
1. tests/e2e/saas/organization.spec.ts & videos.spec.ts — "Continue Watching" vs "Continue Viewing"
- Tests assert:
page.getByText('Continue Watching') - Actual page copy (
apps/saas/src/app/(org)/org/[organization]/page.tsx):title="Continue Viewing"
2. tests/e2e/saas/upload.spec.ts — "back to videos" link not found
- Tests assert:
page.getByText(/back to videos/i) - Actual upload page copy (
apps/saas/src/app/(org)/org/[organization]/upload/page.tsx):Back to Dashboard
3. tests/e2e/saas/videos.spec.ts empty state check — fragile text pattern
- Tests assert:
page.getByText(/upload your first video|get started by uploading/i) - Actual empty state button text:
"Upload your first content"(video-section.tsx) - "upload your first video" does NOT match "Upload your first content"
Fix
Update the E2E test assertions to match current UI copy:
'Continue Watching'→'Continue Viewing'/back to videos/i→/back to dashboard/i/upload your first video/→/upload your first content/
Files to change:
tests/e2e/saas/organization.spec.tstests/e2e/saas/videos.spec.tstests/e2e/saas/upload.spec.ts
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdxDeveloper experienceDeveloper experiencefrontendFrontendFrontend