import { test, expect } from '@playwright/test';

test.describe('Tasks', () => {
    test('tasks page loads', async ({ page }) => {
        await page.goto('/tasks');
        await page.waitForTimeout(1000);
        await expect(page.locator('body')).toBeVisible();
    });

    test('calendar page loads', async ({ page }) => {
        await page.goto('/calendar');
        await expect(page.locator('body')).toBeVisible();
    });

    test('chat page loads', async ({ page }) => {
        await page.goto('/chat');
        await expect(page.locator('body')).toBeVisible();
    });

    test('goals page loads', async ({ page }) => {
        await page.goto('/goals');
        await expect(page.locator('body')).toBeVisible();
    });

    test('settings page loads', async ({ page }) => {
        await page.goto('/settings');
        await expect(page.locator('body')).toBeVisible();
    });

    test('projects page loads', async ({ page }) => {
        await page.goto('/projects');
        await expect(page.locator('body')).toBeVisible();
    });
});
