fix tests that were broken by contact-edit page changes

This commit is contained in:
2025-01-05 19:37:49 -07:00
parent 399e6299de
commit 18a3e1cc27
4 changed files with 18 additions and 10 deletions

View File

@@ -36,6 +36,8 @@ test('Record an offer', async ({ page }) => {
await expect(page.getByText('Offered to a bigger plan')).toBeVisible();
const serverPagePromise = page.waitForEvent('popup');
// expand the Details section to see the extended details
await page.getByRole('heading', { name: 'Details', exact: true }).click();
await page.getByRole('link', { name: 'View on the Public Server' }).click();
const serverPage = await serverPagePromise;
await expect(serverPage.getByText(description)).toBeVisible();