Skip to content

Commit 8b8f544

Browse files
committed
test: clear toasts before driving the local credits popover
The OSS boot surfaces startup toasts the mocked cloud boot does not, and a toast overlay can intercept the avatar click. Mirrors the guard currentUserPopoverCredits.spec.ts already uses for the same popover.
1 parent b6c661e commit 8b8f544

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

browser_tests/tests/localCreditsGating.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ test.describe(
6363
const userButton = page.getByTestId(TestIds.user.currentUserButton)
6464

6565
await expect(userButton).toBeVisible()
66+
await comfyPage.toast.closeToasts()
6667

6768
await userButton.click()
6869
await expect(

0 commit comments

Comments
 (0)