|
@ -33,6 +33,5 @@ test('Add contact', async ({ page }) => { |
|
|
// Confirm that home shows contact in "Record Something…" and "Latest Activity"
|
|
|
// Confirm that home shows contact in "Record Something…" and "Latest Activity"
|
|
|
await page.goto('./'); |
|
|
await page.goto('./'); |
|
|
await expect(page.locator('#sectionRecordSomethingGiven ul li').filter({ hasText: 'Contact 00' }).nth(0)).toBeVisible(); |
|
|
await expect(page.locator('#sectionRecordSomethingGiven ul li').filter({ hasText: 'Contact 00' }).nth(0)).toBeVisible(); |
|
|
await expect(page.locator('ul#listLatestActivity li').filter({ hasText: 'Contact 00 gave to' }).nth(0)).toBeVisible(); |
|
|
|
|
|
await expect(page.locator('ul#listLatestActivity li').filter({ hasText: 'Contact 00 received' }).nth(0)).toBeVisible(); |
|
|
await expect(page.locator('ul#listLatestActivity li').filter({ hasText: 'Contact 00 received' }).nth(0)).toBeVisible(); |
|
|
}); |
|
|
}); |