allow to deselect the giver & refactor dialog to group giver vs recipient

This commit is contained in:
2024-11-30 17:27:16 -07:00
parent 5effb76cf5
commit 9861a1388e
3 changed files with 186 additions and 102 deletions

View File

@@ -27,6 +27,10 @@ test('Record item given from image-share', async ({ page }) => {
await page.getByPlaceholder('What was received').fill(finalTitle);
await page.getByRole('spinbutton').fill('2');
await page.getByRole('button', { name: 'Sign & Send' }).click();
// we end up on a page with the onboarding info
await page.getByTestId('closeOnboardingAndFinish').click();
await expect(page.getByText('That gift was recorded.')).toBeVisible();
await page.locator('div[role="alert"] button > svg.fa-xmark').click(); // dismiss info alert