My-Weekly-ToDo-List/tests/port-9323-test.spec.ts
mARTin d92a8c7210 feat: add task actions (notes/delete) and refine animation logic
- Added 'onDelete' and 'onNotes' support to TaskItem.
- Implemented hover actions (Delete and Notes icons) for tasks.
- Added Notes Modal for editing task markdown content.
- Simplified navigation animation to remove blank flash (single-phase slide-in).
- Fixed syntax error in updateTask function.
- Updated styles for modal and task actions.
2026-02-01 12:25:53 +01:00

22 lines
815 B
TypeScript

import { test, expect } from '@playwright/test';
// Test to verify the currently running application at port 9323
test('My Weekly To Do List should be accessible at port 9323', async ({ page }) => {
// Navigate to the running application
await page.goto('http://localhost:9323');
// 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 from port 9323', async ({ page }) => {
await page.goto('http://localhost:9323');
// Try to navigate to tasks page
const tasksLink = page.getByText('Tasks');
await expect(tasksLink).toBeVisible();
});