Add Mailpit SMTP and refine Playwright tests

This commit is contained in:
Gregor Vostrak
2026-02-02 16:06:33 +01:00
parent 98634f4a19
commit 18989a9a8e
10 changed files with 226 additions and 40 deletions

View File

@@ -392,7 +392,8 @@ test('test that mass update billable status works', async ({ page }) => {
page.getByRole('button', { name: 'Update Time Entries' }).click(),
]);
const massUpdateBody = await massUpdateResponse.json();
expect(massUpdateBody.data.billable).toBe(true);
expect(massUpdateBody.success.length).toBeGreaterThan(0);
expect(massUpdateBody.error.length).toBe(0);
// Verify dialog closes
await expect(page.getByRole('dialog')).not.toBeVisible();