1 Commits

Author SHA1 Message Date
david 719b7928e6 test: enable password reset page test and add navigation step
Pull Request / unit-tests (pull_request) Successful in 1m9s
Pull Request / e2e-tests (pull_request) Failing after 3m2s
Pull Request / analyze-bump-type (pull_request) Has been skipped
Related to #10

- Added Given step for password reset page navigation
- Password reset page access test is now active (passes)
- Email validation and submission tests remain @wip (stub implementation)
- Added step definition for navigating to /auth/password-reset

The password reset page exists at /auth/password-reset but is a stub
(always shows success). Full implementation needed to un-wip remaining tests.
2026-04-26 20:16:46 -07:00
10 changed files with 10096 additions and 280 deletions
-6
View File
@@ -16,9 +16,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Clear Bun cache
run: bun pm cache rm || true
- name: Install dependencies
run: bun install
@@ -41,9 +38,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Clear Bun cache
run: bun pm cache rm || true
- name: Install dependencies
run: bun install
-24
View File
@@ -1,27 +1,3 @@
## [0.1.12] - 2026-04-27
### Patch Changes
- ci: clear Bun cache before install to fix integrity check failures
## [0.1.11] - 2026-04-27
### Patch Changes
## [0.1.10] - 2026-04-27
### Patch Changes
- fix: prevent content overflow on right side of screen
## [0.1.9] - 2026-04-27
### Patch Changes
- test: remove migrated Playwright tests (epic3-rankings, home-page)
## [0.1.8] - 2026-04-27
### Patch Changes
+222 -222
View File
File diff suppressed because it is too large Load Diff
@@ -29,6 +29,12 @@ Given('I am on the login page', async function () {
await world.page.waitForLoadState('domcontentloaded');
});
Given('I am on the password reset page', async function () {
console.log('🌍 Navigating to password reset page');
await world.page.goto(`${world.baseURL}/auth/password-reset`);
await world.page.waitForLoadState('domcontentloaded');
});
Given('I am on the {string} page', async function (pageName: string) {
const pageUrls: Record<string, string> = {
'home': '/',
+9840
View File
File diff suppressed because it is too large Load Diff
+19 -19
View File
@@ -1,6 +1,6 @@
{
"name": "euchre_camp",
"version": "0.1.12",
"version": "0.1.8",
"private": true,
"scripts": {
"dev": "NEXT_PUBLIC_GIT_COMMIT=$(git rev-parse --short HEAD) next dev",
@@ -44,35 +44,35 @@
},
"dependencies": {
"@hookform/resolvers": "^5.2.2",
"@prisma/adapter-pg": "^7.8.0",
"@prisma/client": "^7.8.0",
"@prisma/adapter-pg": "^7.6.0",
"@prisma/client": "^7.6.0",
"@types/bcryptjs": "^2.4.6",
"bcrypt": "^6.0.0",
"bcryptjs": "^3.0.3",
"better-auth": "^1.6.9",
"better-auth": "^1.5.6",
"glicko2": "^1.2.1",
"jose": "^6.2.2",
"next": "^16.2.4",
"next": "^16.2.1",
"openskill": "^4.1.1",
"papaparse": "^5.5.3",
"pg": "^8.20.0",
"prisma": "^7.8.0",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-hook-form": "^7.74.0",
"prisma": "^7.6.0",
"react": "^19.2.4",
"react-dom": "^19.2.4",
"react-hook-form": "^7.72.0",
"zod": "^4.3.6"
},
"devDependencies": {
"@cucumber/cucumber": "^12.8.2",
"@playwright/test": "^1.59.1",
"@tailwindcss/postcss": "^4.2.4",
"@playwright/test": "^1.58.2",
"@tailwindcss/postcss": "^4",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/bcrypt": "^6.0.0",
"@types/bun": "^1.3.13",
"@types/bun": "^1.3.11",
"@types/jsdom": "^28.0.1",
"@types/node": "^20.19.39",
"@types/node": "^20",
"@types/papaparse": "^5.5.2",
"@types/pg": "^8.20.0",
"@types/react": "^19.2.14",
@@ -80,12 +80,12 @@
"@vitejs/plugin-react": "^6.0.1",
"argon2": "^0.44.0",
"cucumber-pretty": "^6.0.1",
"eslint": "^8.57.1",
"eslint-config-next": "^16.2.4",
"jsdom": "^29.1.0",
"tailwindcss": "^4.2.4",
"eslint": "^8.57.0",
"eslint-config-next": "^16.2.1",
"jsdom": "^29.0.1",
"tailwindcss": "^4",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"vitest": "^4.1.5"
"typescript": "^5",
"vitest": "^4.1.2"
}
}
+1 -1
View File
@@ -258,7 +258,7 @@ export default function AdminPlayersPage() {
</div>
{/* Player Table */}
<div className="bg-white shadow rounded-lg overflow-x-auto">
<div className="bg-white shadow rounded-lg overflow-hidden">
<table className="min-w-full divide-y divide-gray-200">
<thead className="bg-gray-50">
<tr>
+1 -1
View File
@@ -22,7 +22,7 @@ export default function RootLayout({
lang="en"
className={`${inter.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col overflow-x-hidden">
<body className="min-h-full flex flex-col">
<SessionProvider>
{children}
<Footer />
+3 -3
View File
@@ -59,7 +59,7 @@ export default function RankingsClient({ players }: { players: PlayerWithRatings
{/* Elo Rating Tab */}
{activeTab === "elo" && (
<div className="bg-white shadow overflow-x-auto sm:rounded-lg">
<div className="bg-white shadow overflow-hidden sm:rounded-lg">
<h2 className="text-xl font-semibold text-gray-900 px-6 py-4 border-b">
Elo Rating Rankings
</h2>
@@ -117,7 +117,7 @@ export default function RankingsClient({ players }: { players: PlayerWithRatings
{/* OpenSkill Rating Tab */}
{activeTab === "openskill" && (
<div className="bg-white shadow overflow-x-auto sm:rounded-lg">
<div className="bg-white shadow overflow-hidden sm:rounded-lg">
<h2 className="text-xl font-semibold text-gray-900 px-6 py-4 border-b">
OpenSkill Rating Rankings
</h2>
@@ -178,7 +178,7 @@ export default function RankingsClient({ players }: { players: PlayerWithRatings
{/* Glicko2 Rating Tab */}
{activeTab === "glicko2" && (
<div className="bg-white shadow overflow-x-auto sm:rounded-lg">
<div className="bg-white shadow overflow-hidden sm:rounded-lg">
<h2 className="text-xl font-semibold text-gray-900 px-6 py-4 border-b">
Glicko2 Rating Rankings
</h2>
+4 -4
View File
@@ -50,14 +50,14 @@ export default function Navigation() {
<nav className="bg-white shadow-sm">
<div className="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
<div className="flex justify-between h-16">
<div className="flex items-center min-w-0 overflow-hidden">
<div className="flex items-center">
<Link
href="/wordmark-redirect"
className="text-xl font-bold text-gray-900 no-underline flex-shrink-0"
className="text-xl font-bold text-gray-900 no-underline"
>
EuchreCamp
</Link>
<div className="hidden md:ml-6 md:flex md:space-x-8 min-w-0 overflow-hidden">
<div className="hidden md:ml-6 md:flex md:space-x-8">
<Link
href="/rankings"
className="border-transparent text-gray-500 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium"
@@ -110,7 +110,7 @@ export default function Navigation() {
)}
</div>
</div>
<div className="flex items-center min-w-0 overflow-hidden">
<div className="flex items-center">
{loading ? (
<div className="text-gray-500">Loading...</div>
) : session ? (