fix: update styling and e2e test

This commit is contained in:
Lucas Smith
2024-03-12 02:57:22 +00:00
parent efb90ca5fb
commit d3f4e20f1c
2 changed files with 20 additions and 26 deletions

View File

@ -16,6 +16,8 @@ test('delete user', async ({ page }) => {
});
await page.getByRole('button', { name: 'Delete Account' }).click();
await page.getByLabel('Confirm Email').fill(user.email);
await expect(page.getByRole('button', { name: 'Confirm Deletion' })).not.toBeDisabled();
await page.getByRole('button', { name: 'Confirm Deletion' }).click();
await page.waitForURL(`${WEBAPP_BASE_URL}/signin`);