From 34248a2ee51f6fa1454d893596ed3ff78d65fdf5 Mon Sep 17 00:00:00 2001 From: Trent Larson Date: Tue, 4 Feb 2025 20:12:08 -0700 Subject: [PATCH] fix test --- test-playwright/00-noid-tests.spec.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-playwright/00-noid-tests.spec.ts b/test-playwright/00-noid-tests.spec.ts index df87db2..3631e87 100644 --- a/test-playwright/00-noid-tests.spec.ts +++ b/test-playwright/00-noid-tests.spec.ts @@ -84,8 +84,8 @@ test('Check setting name & sharing info', async ({ page }) => { await expect(page.getByText('Set Your Name')).toBeVisible(); await page.getByRole('textbox').fill('Me Test User'); await page.locator('button:has-text("Save")').click(); - await expect(page.getByText('share another way')).toBeVisible(); - await page.getByRole('button', { name: /share another way/ }).click(); + await expect(page.getByText('share some other way')).toBeVisible(); + await page.getByRole('button', { name: /share some other way/ }).click(); await expect(page.getByRole('button', { name: 'copy to clipboard' })).toBeVisible(); await page.getByRole('button', { name: 'copy to clipboard' }).click(); await expect(page.getByText('contact info was copied')).toBeVisible();