mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-16 20:22:15 +01:00
Fix flaky e2e tests for calendar and projects
This commit is contained in:
@@ -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 }) => {
|
||||
|
||||
Reference in New Issue
Block a user