Skip to content

Conversation

@nohalon
Copy link
Contributor

@nohalon nohalon commented Sep 12, 2022

In the streamlit end to end test we have a timeout on the app view which waits for a button. However, the timeout causes a refresh on the page which causes playwright to miss the button on each refresh. We can remove the timeout altogether since we have a time limit on the test itself in the CI setup

What does this PR do?

Removes unnecessary timeout from streamlit e2e test which is causing issues.

Before submitting

  • Was this discussed/approved via a GitHub issue? (not for typos and docs)
  • Did you read the contributor guideline, Pull Request section?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review

Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?

Make sure you had fun coding 🙃

We have a timeout on the app view which waits for the button but it causes a refresh on the page which causes playwright to miss the button on each refresh.
we can remove the timeout altogether since we have a time limit on the test itself in the CI setup
@github-actions github-actions bot added the app (removed) Generic label for Lightning App package label Sep 12, 2022
Copy link
Contributor

@tchaton tchaton left a comment

Choose a reason for hiding this comment

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

LGTM !

@mergify mergify bot added the ready PRs ready to be merged label Sep 12, 2022
@Borda Borda enabled auto-merge (squash) September 12, 2022 17:59
@Borda Borda added this to the app:0.6.x milestone Sep 12, 2022
@Borda Borda merged commit 9769f57 into master Sep 12, 2022
@Borda Borda deleted the fix_streamlit_e2e branch September 12, 2022 18:00
krshrimali pushed a commit that referenced this pull request Sep 16, 2022
* Removes timeout from streamlit e2e test
We have a timeout on the app view which waits for the button but it causes a refresh on the page which causes playwright to miss the button on each refresh.
we can remove the timeout altogether since we have a time limit on the test itself in the CI setup

Co-authored-by: thomas chaton <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
lexierule pushed a commit that referenced this pull request Sep 19, 2022
* Removes timeout from streamlit e2e test
We have a timeout on the app view which waits for the button but it causes a refresh on the page which causes playwright to miss the button on each refresh.
we can remove the timeout altogether since we have a time limit on the test itself in the CI setup

Co-authored-by: thomas chaton <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app (removed) Generic label for Lightning App package ready PRs ready to be merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants