middleware fix wip

This commit is contained in:
2026-01-04 01:45:14 +01:00
parent 99092e2759
commit b8eb8fb005
7 changed files with 170 additions and 15 deletions

View File

@@ -88,6 +88,8 @@ test.describe('Website Pages - TypeORM Integration', () => {
{
const auth = await WebsiteAuthManager.createAuthContext(browser, request, 'auth');
await auth.page.goto(`${WEBSITE_BASE_URL}${path}`);
console.log(`[TEST] Final URL after goto: ${auth.page.url()}`);
console.log(`[TEST] Expected to include 'login', actual includes: ${auth.page.url().includes('login')}`);
expect(auth.page.url().includes('login')).toBeTruthy();
await auth.context.close();
}