add tests for gives to & from projects
This commit is contained in:
@@ -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('./');
|
||||
|
||||
Reference in New Issue
Block a user