You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: browser_tests/README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,16 @@ A template with helpful information can be found in `.env_example`.
29
29
### Multiple Tests
30
30
If you are running Playwright tests in parallel or running the same test multiple times, the flag `--multi-user` must be added to the main ComfyUI process.
31
31
32
+
### Release API Mocking
33
+
By default, all tests mock the release API (`api.comfy.org/releases`) to prevent release notification popups from interfering with test execution. This is necessary because the release notifications can appear over UI elements and block test interactions.
34
+
35
+
To test with real release data, you can disable mocking:
36
+
```typescript
37
+
awaitcomfyPage.setup({ mockReleases: false });
38
+
```
39
+
40
+
For tests that specifically need to test release functionality, see the example in `tests/releaseNotifications.spec.ts`.
0 commit comments