There was an error while loading. Please reload this page.
1 parent b69f95a commit 2de2804Copy full SHA for 2de2804
1 file changed
testing/e2e/tests/helpers.ts
@@ -173,12 +173,9 @@ export async function clickGenerate(page: Page) {
173
// Verify the click actually triggered React — status should leave 'idle'
174
// If still idle after a short wait, the click missed hydration; retry
175
try {
176
- await expect(page.getByTestId('generation-status')).not.toHaveText(
177
- 'idle',
178
- {
179
- timeout: 3_000,
180
- },
181
- )
+ await expect(page.getByTestId('generation-status')).not.toHaveText('idle', {
+ timeout: 3_000,
+ })
182
} catch {
183
// Retry click — hydration likely wasn't complete on first attempt
184
await btn.click()
0 commit comments