Skip to content
Discussion options

You must be logged in to vote

Hi @ZeroWiggliness! I'm Dosu and I’m helping the superset team.

Yes, frontend test flakiness (especially timeouts) is a well-documented problem in Superset. The team has been actively fixing these across multiple PRs. Here's what's going on and what you can try:

Root cause for most timeouts: The most common culprit is unmocked API endpoints — when a component makes an API call on mount but the test doesn't mock that endpoint, Jest hangs waiting for a response until it hits the 20-second timeout [1]. The global timeout is set to 20000ms in jest.config.js [2].

Specifically for EmbeddedModal.test.tsx: There's a race condition in the test setup where resetMockApi() is called after render(), …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ZeroWiggliness
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants