plotly / plotly/dash

Dash Integration tests use `time.sleep` instead of timeouts

Open
#3,174 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature P2 testing
Dominant language
Python
Stars
24.4k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
13

Description

Dash integration tests are taking longer than they need to because they use time.sleep instead of timeouts to wait for elements to appear on the page.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the Dash integration tests that call time.sleep and review how those tests wait for page elements. Replace the fixed sleeps with element-appearance timeouts, then run the affected integration tests; done means the waits are timeout-based and the tests still pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.