My-Weekly-ToDo-List/tests/local-deployment-test.spec.ts
mARTin c82572935c feat: dark mode color adjustment, multi-source quotes, UI text wrapping, and versioning rules
- Add dark mode color adjustment helper for category colors
- Support multiple motivational quote source URLs
- Fix text wrapping for tasks/events to prevent horizontal overflow
- Improve someday list item layout for long text
- Add CLAUDE.md with semantic versioning and git workflow rules
- Update test/doc URLs and planning docs

v1.1.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-23 23:33:25 +01:00

22 lines
775 B
TypeScript

import { test, expect } from '@playwright/test';
// Simple test to verify the app is running and accessible
test('My Weekly To Do List should be accessible', async ({ page }) => {
// Navigate to the running application
await page.goto('http://localhost:3001');
// Check that the main elements are present
await expect(page).toHaveTitle(/My Weekly To Do List/);
// Check for main UI elements
await expect(page.getByText('My Weekly To Do List')).toBeVisible();
await expect(page.getByText('Weekly View')).toBeVisible();
});
test('Should be able to access tasks page', async ({ page }) => {
await page.goto('http://localhost:3001');
// Try to navigate to tasks page
const tasksLink = page.getByText('Tasks');
await expect(tasksLink).toBeVisible();
});