middleware fix wip
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user