Skip to content

Commit 2de2804

Browse files
ci: apply automated fixes
1 parent b69f95a commit 2de2804

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

testing/e2e/tests/helpers.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -173,12 +173,9 @@ export async function clickGenerate(page: Page) {
173173
// Verify the click actually triggered React — status should leave 'idle'
174174
// If still idle after a short wait, the click missed hydration; retry
175175
try {
176-
await expect(page.getByTestId('generation-status')).not.toHaveText(
177-
'idle',
178-
{
179-
timeout: 3_000,
180-
},
181-
)
176+
await expect(page.getByTestId('generation-status')).not.toHaveText('idle', {
177+
timeout: 3_000,
178+
})
182179
} catch {
183180
// Retry click — hydration likely wasn't complete on first attempt
184181
await btn.click()

0 commit comments

Comments
 (0)