forked from trent_larson/crowd-funder-for-time-pwa
ID-specific locators
This commit is contained in:
@@ -32,6 +32,6 @@ test('Add contact', async ({ page }) => {
|
||||
|
||||
// Confirm that home feed shows contact
|
||||
await page.goto('./');
|
||||
await expect(page.locator('li').filter({ hasText: 'Contact 00 gave to' }).nth(0)).toBeVisible();
|
||||
await expect(page.locator('li').filter({ hasText: 'Contact 00 received' }).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();
|
||||
});
|
||||
Reference in New Issue
Block a user