add tests for gives to & from projects

This commit is contained in:
2024-11-29 10:42:58 -07:00
parent 8db7ac3f6f
commit d621828d53
11 changed files with 75 additions and 11 deletions

View File

@@ -25,6 +25,7 @@ test('Record something given', async ({ page }) => {
await page.getByRole('spinbutton').fill(randomNonZeroNumber.toString());
await page.getByRole('button', { name: 'Sign & Send' }).click();
await expect(page.getByText('That gift was recorded.')).toBeVisible();
await page.locator('div[role="alert"] button > svg.fa-xmark').click(); // dismiss info alert
// Refresh home view and check gift
await page.goto('./');