gradio-app / gradio

Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!
http://www.gradio.app
Apache License 2.0
32.47k stars 2.43k forks source link

Fix flaky render test #8411

Closed aliabid94 closed 4 months ago

aliabid94 commented 4 months ago

Render test was flaky because sometimes it would start editing a component while it was being re-rendered. Edited the test to start editing the last component in a render first, which ensures the render is complete before starting to edit.

gradio-pr-bot commented 4 months ago

🪼 branch checks and previews

• Name Status URL
Spaces ready! Spaces preview
Website building...
Storybook ready! Storybook preview
:unicorn: Changes detected! Details

Install Gradio from this PR

pip install https://gradio-builds.s3.amazonaws.com/2095639b8b03fa5b089b4cddfe7eb8a23912289a/gradio-4.31.5-py3-none-any.whl

Install Gradio Python Client from this PR

pip install "gradio-client @ git+https://github.com/gradio-app/gradio@2095639b8b03fa5b089b4cddfe7eb8a23912289a#subdirectory=client/python"

Install Gradio JS Client from this PR

npm install https://gradio-builds.s3.amazonaws.com/2095639b8b03fa5b089b4cddfe7eb8a23912289a/gradio-client-0.19.4.tgz
gradio-pr-bot commented 4 months ago

🦄 no changes detected

This Pull Request does not include changes to any packages.

No changes detected.

#### Something isn't right? - Maintainers can change the version label to modify the version bump. - If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can [create the changelog file directly](https://github.com/gradio-app/gradio/new/fix-flaky-render-test/.changeset/quick-kids-tease.md).