Update task mode UI details
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user