Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Improve waiting logic in playground.spec.ts #4672

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

anovazzi1
Copy link
Contributor

This pull request improves the waiting logic in the playground.spec.ts file. It replaces the use of page.waitForTimeout with page.waitForSelector to wait for specific elements to appear on the page. This change ensures more reliable and efficient waiting in the test cases.

@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Nov 18, 2024
@github-actions github-actions bot added the bug Something isn't working label Nov 18, 2024
Comment on lines +284 to +285
await page.waitForSelector('text="New chat"', {
timeout: 5000,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you remove the rest of this test?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size:M This PR changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants