|
|
@ -13,8 +13,8 @@ test('Check no-ID messaging in account', async ({ page }) => { |
|
|
|
await page.goto('./account'); |
|
|
|
|
|
|
|
// Check 'someone must register you' notice
|
|
|
|
await expect(page.getByText('Note: Before you can share with others or take any action, you need an identifier.')).toBeVisible(); |
|
|
|
await expect(page.locator('#noticeBeforeShare')).toBeVisible(); |
|
|
|
|
|
|
|
// Check 'a friend needs to register you' notice
|
|
|
|
await expect(page.getByText('Note: Before you can publicly announce a new project or time commitment, a friend needs to register you.')).toBeVisible(); |
|
|
|
await expect(page.locator('#noticeBeforeAnnounce')).toBeVisible(); |
|
|
|
}); |