Skip to content

Commit e87ac15

Browse files
committed
test: Remove temporary debugging code from invitation workflows
- Removed localStorage cache clearing from beforeEach hook - Removed page reload that was added during debugging - Removed redundant navigateToInvitations() call - Kept forceCloseDialogs() for proper test cleanup This debugging code was added during the investigation of shared token tests but is no longer needed now that the root cause has been fixed.
1 parent 1ebbda5 commit e87ac15

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

cmd/prism-gui/frontend/tests/e2e/invitation-workflows.spec.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,6 @@ test.describe('Invitation Management Workflows', () => {
2020
projectsPage = new ProjectsPage(page);
2121
await projectsPage.goto();
2222

23-
// Clear invitation cache by directly manipulating localStorage and reloading
24-
// This ensures React state gets reset with empty invitations
25-
await page.evaluate(() => {
26-
localStorage.removeItem('cws_invitations');
27-
});
28-
await page.reload();
29-
30-
await projectsPage.navigateToInvitations();
31-
3223
// Force close any open dialogs from previous tests
3324
await projectsPage.forceCloseDialogs();
3425
});

0 commit comments

Comments
 (0)