forked from jsnbuchanan/crowd-funder-for-time-pwa
adjust tests for new onboarding messages
This commit is contained in:
@@ -49,6 +49,7 @@ test('Add contact, record gift, confirm gift', async ({ page }) => {
|
||||
|
||||
// Confirm that home shows contact in "Record Something…"
|
||||
await page.goto('./');
|
||||
await page.getByTestId('closeOnboardingAndFinish').click();
|
||||
await expect(page.locator('#sectionRecordSomethingGiven ul li').filter({ hasText: contactName }).nth(0)).toBeVisible();
|
||||
|
||||
// Record something given by new contact
|
||||
@@ -78,6 +79,7 @@ test('Add contact, record gift, confirm gift', async ({ page }) => {
|
||||
|
||||
// Go to home view and look for gift
|
||||
await page.goto('./');
|
||||
await page.getByTestId('closeOnboardingAndFinish').click();
|
||||
await page.locator('li').filter({ hasText: finalTitle }).locator('a').click();
|
||||
|
||||
// Confirm gift as user 00
|
||||
|
||||
Reference in New Issue
Block a user