Update task mode UI details
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-21 10:19:34 +01:00
parent 1c5412e82c
commit 246e54f970
4 changed files with 62 additions and 41 deletions

View File

@@ -275,7 +275,7 @@ describe('MobileEventTasksPage', () => {
it('renders the quick jump chips and photo task header', async () => {
render(<MobileEventTasksPage />);
expect(await screen.findByText('Photo tasks for this event')).toBeInTheDocument();
expect(await screen.findByText('Photo task mode')).toBeInTheDocument();
expect(screen.getByText('Quick jump')).toBeInTheDocument();
expect(screen.getByText('assigned')).toBeInTheDocument();
expect(screen.getByPlaceholderText('Search photo tasks')).toBeInTheDocument();
@@ -289,8 +289,8 @@ describe('MobileEventTasksPage', () => {
it('toggles task details in the hero section', async () => {
render(<MobileEventTasksPage />);
const detailsLabel = 'Give guests optional photo tasks and prompts.';
expect(await screen.findByText('Photo tasks for this event')).toBeInTheDocument();
const detailsLabel = 'Control whether guests see mission cards and prompts.';
expect(await screen.findByText('Photo task mode')).toBeInTheDocument();
expect(screen.queryByText(detailsLabel)).not.toBeInTheDocument();
fireEvent.click(screen.getByLabelText(detailsLabel));