Skip to content

Commit

Permalink
fix: like button disabled timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
bholmesdev committed May 20, 2024
1 parent f8fab7d commit eaeec9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/astro/e2e/actions-react-19.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test.describe('Astro Actions - React 19', () => {
await expect(likeButton).toBeVisible();
await likeButton.click();
await expect(likeButton, 'like button should be disabled when pending').toBeDisabled();
await expect(likeButton).not.toBeDisabled();
await expect(likeButton).not.toBeDisabled({ timeout: 5000 });
});

test('Like action - server progressive enhancement', async ({ page, astro }) => {
Expand Down

0 comments on commit eaeec9a

Please sign in to comment.