smoke.spec.ts 374 B

1234567
  1. import { test, expect } from './fixtures/auth';
  2. test('fixture smoke: authedPage reaches dashboard without re-login', async ({ authedPage }) => {
  3. await authedPage.goto('/#/dashboard/home', { waitUntil: 'domcontentloaded' });
  4. await authedPage.waitForLoadState('networkidle', { timeout: 30_000 }).catch(() => {});
  5. expect(authedPage.url()).not.toMatch(/\/#\/login/);
  6. });