Browse Source

fix a test, add potential-failing comment

Trent Larson 4 months ago
parent
commit
70a1ea362f
  1. 2
      test-playwright/00-noid-tests.spec.ts
  2. 1
      test-playwright/40-add-contact.spec.ts

2
test-playwright/00-noid-tests.spec.ts

@ -1,6 +1,6 @@
import { test, expect } from '@playwright/test'; import { test, expect } from '@playwright/test';
test('Confirm usage of test API', async ({ page }, testInfo) => { test('Confirm usage of test API (may fail if you are running your own Time Safari)', async ({ page }, testInfo) => {
// Load account view // Load account view
await page.goto('./account'); await page.goto('./account');
await page.getByRole('heading', { name: 'Advanced' }).click(); await page.getByRole('heading', { name: 'Advanced' }).click();

1
test-playwright/40-add-contact.spec.ts

@ -81,6 +81,5 @@ test('Add contact, record gift, confirm gift', async ({ page }) => {
// Refresh claim page, Confirm button should be hidden // Refresh claim page, Confirm button should be hidden
await page.reload(); await page.reload();
await expect(page.getByRole('button', { name: 'Confirm' })).toBeVisible();
await expect(page.getByRole('button', { name: 'Confirm' })).toBeHidden(); await expect(page.getByRole('button', { name: 'Confirm' })).toBeHidden();
}); });
Loading…
Cancel
Save