forked from trent_larson/crowd-funder-for-time-pwa
Merge branch 'master' into test-playwright
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
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
|
||||
await page.goto('./account');
|
||||
await page.getByRole('heading', { name: 'Advanced' }).click();
|
||||
|
||||
@@ -81,6 +81,5 @@ test('Add contact, record gift, confirm gift', async ({ page }) => {
|
||||
|
||||
// Refresh claim page, Confirm button should be hidden
|
||||
await page.reload();
|
||||
await expect(page.getByRole('button', { name: 'Confirm' })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: 'Confirm' })).toBeHidden();
|
||||
});
|
||||
Reference in New Issue
Block a user