fix(db): 重编号合并后撞号 migration,并修 admin e2e base
将 015–023 双文件冲突线性化为 015–050;提供已有库 schema_migrations 修复脚本;admin Playwright 对齐 /psy/admin/ 预览路径。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -161,7 +161,8 @@ test('admin login users grant and audit with mocked API', async ({ page }) => {
|
||||
await ok({})
|
||||
})
|
||||
|
||||
await page.goto('/login')
|
||||
// Leading `/login` would resolve to host root and miss Vite base `/psy/admin/`.
|
||||
await page.goto('login')
|
||||
await expect(page.getByRole('heading', { name: '愈心谷' })).toBeVisible()
|
||||
await page.locator('input[type="password"]').fill('change-me')
|
||||
await page.getByRole('button', { name: '登录' }).click()
|
||||
|
||||
Reference in New Issue
Block a user