Merge branch 'master' into test-playwright

This commit is contained in:
Jose Olarte III
2024-08-12 16:40:05 +08:00
10 changed files with 77 additions and 51 deletions

View File

@@ -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();

View File

@@ -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();
});