forked from trent_larson/crowd-funder-for-time-pwa
fix test
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user