File size: 535 Bytes
7f88bdf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import { test, expect } from '@playwright/test';

test.describe('TenderHub Core Flows', () => {
  test('landing page loads and has expected elements', async ({ page }) => {
    await page.goto('/');

    // Check for standard landing page elements.
    // If the landing page changes, update these assertions.
    await expect(page).toHaveTitle(/TenderHub/i);
    
    // Check if the dashboard console is still reachable (for dev check)
    await page.goto('/console');
    await expect(page.locator('body')).toBeVisible();
  });
});