- 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.
22 lines
815 B
TypeScript
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();
|
|
}); |