Update tasks toggle copy
This commit is contained in:
@@ -656,12 +656,12 @@ export default function MobileEventTasksPage() {
|
||||
<MobileCard space="$3">
|
||||
<YStack space="$1">
|
||||
<Text fontSize="$sm" fontWeight="800" color={text}>
|
||||
{t('events.tasks.toggle.title', '1. Activate tasks')}
|
||||
{t('events.tasks.toggle.title', 'Tasks for this event')}
|
||||
</Text>
|
||||
<Text fontSize="$xs" color={muted}>
|
||||
{t(
|
||||
'events.tasks.toggle.description',
|
||||
'Enable tasks so guests see challenges and prompts in the app.'
|
||||
'Give guests optional prompts and photo ideas.'
|
||||
)}
|
||||
</Text>
|
||||
</YStack>
|
||||
|
||||
@@ -228,7 +228,7 @@ describe('MobileEventTasksPage', () => {
|
||||
it('renders the task overview summary and quick jump chips', async () => {
|
||||
render(<MobileEventTasksPage />);
|
||||
|
||||
expect(await screen.findByText('1. Activate tasks')).toBeInTheDocument();
|
||||
expect(await screen.findByText('Tasks for this event')).toBeInTheDocument();
|
||||
expect(await screen.findByText('Task overview')).toBeInTheDocument();
|
||||
expect(screen.getByText('Tasks total')).toBeInTheDocument();
|
||||
expect(screen.getByText('Quick jump')).toBeInTheDocument();
|
||||
|
||||
Reference in New Issue
Block a user