Fix flaky e2e tests for calendar and projects

This commit is contained in:
Gregor Vostrak
2026-03-23 02:38:34 +01:00
parent b94872b07b
commit a2b0828c54
2 changed files with 11 additions and 10 deletions

View File

@@ -850,7 +850,8 @@ test('test that project context menu archive archives the project', async ({ pag
),
page.getByRole('menuitem', { name: 'Archive' }).click(),
]);
await expect(page.getByTestId('project_table')).not.toContainText(projectName);
// After archiving, the project stays visible (default filter is 'all') but status changes to 'Archived'
await expect(row).toContainText('Archived');
});
test('test that project context menu delete deletes the project', async ({ page, ctx }) => {