Update photo task labels and filters
This commit is contained in:
@@ -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' }),
|
||||
|
||||
Reference in New Issue
Block a user