Skip to content

Evenfire is an intelligence layer platform for running LLM agents that take real actions, on your infrastructure

TypeScript

test(profile-ui): fix recovery fixture route (R13-M3)

Josuédcb80e5c2e9b
diff --git a/tests/e2e/playwright/package-lock.json b/tests/e2e/playwright/package-lock.json
index 6cbdb34a0..e3ee8e478 100644
--- a/tests/e2e/playwright/package-lock.json
+++ b/tests/e2e/playwright/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "clerum-playwright-tests",
- "version": "0.1.75",
+ "version": "0.1.76",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "clerum-playwright-tests",
- "version": "0.1.75",
+ "version": "0.1.76",
"devDependencies": {
"@playwright/test": "^1.50.0",
"@types/node": "^22.0.0",
diff --git a/tests/e2e/playwright/package.json b/tests/e2e/playwright/package.json
index a4b6ab388..e092920e2 100644
--- a/tests/e2e/playwright/package.json
+++ b/tests/e2e/playwright/package.json
@@ -1,6 +1,6 @@
{
"name": "clerum-playwright-tests",
- "version": "0.1.75",
+ "version": "0.1.76",
"private": true,
"description": "Playwright E2E tests for Control UI and Desktop App",
"scripts": {
diff --git a/tests/e2e/playwright/profile-ui-recovery-fixture.mjs b/tests/e2e/playwright/profile-ui-recovery-fixture.mjs
index a34fc9a24..5c4b48b52 100644
--- a/tests/e2e/playwright/profile-ui-recovery-fixture.mjs
+++ b/tests/e2e/playwright/profile-ui-recovery-fixture.mjs
@@ -58,7 +58,7 @@ const apiServer = createServer(async (request, response) => {
return
}
- if (request.method === 'POST' && url.pathname === '/api/v1/invitations/password') {
+ if (request.method === 'POST' && url.pathname === '/api/v1/invitations/password-reset') {
resetPosts += 1
let body
try {
diff --git a/tests/e2e/playwright/profile-ui-recovery/reset-session-hydration.spec.ts b/tests/e2e/playwright/profile-ui-recovery/reset-session-hydration.spec.ts
index 64979c916..39b3c7b3f 100644
--- a/tests/e2e/playwright/profile-ui-recovery/reset-session-hydration.spec.ts
+++ b/tests/e2e/playwright/profile-ui-recovery/reset-session-hydration.spec.ts
@@ -11,7 +11,7 @@ test('retries session hydration after committed reset without resubmitting the r
await page.getByLabel('Confirm password').fill('Synthetic-Recovery-Password-123')
const resetResponsePromise = page.waitForResponse(
response =>
- response.url().endsWith('/api/v1/invitations/password') &&
+ response.url().endsWith('/api/v1/invitations/password-reset') &&
response.request().method() === 'POST'
)
const firstSessionResponsePromise = page.waitForResponse(