Update photo task labels and filters
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled
tests / ui (push) Has been cancelled

This commit is contained in:
Codex Agent
2026-01-20 08:30:40 +01:00
parent 750acb0bec
commit 508c8201fa
4 changed files with 195 additions and 320 deletions

View File

@@ -264,14 +264,12 @@ vi.mock('../theme', () => ({
import MobileEventTasksPage from '../EventTasksPage';
describe('MobileEventTasksPage', () => {
it('renders the task overview summary and quick jump chips', async () => {
it('renders the quick jump chips and photo task header', async () => {
render(<MobileEventTasksPage />);
expect(await screen.findByText('Tasks for this event')).toBeInTheDocument();
expect(await screen.findByText('Task overview')).toBeInTheDocument();
expect(screen.getByText('Tasks total')).toBeInTheDocument();
expect(await screen.findByText('Photo tasks for this event')).toBeInTheDocument();
expect(screen.getByText('Quick jump')).toBeInTheDocument();
expect(screen.getByText('Assigned')).toBeInTheDocument();
expect(screen.getByText('assigned')).toBeInTheDocument();
expect(api.getTaskCollections).toHaveBeenCalledWith(
expect.objectContaining({ event_type: 'wedding' }),