You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The vi.mock interception is not reliable across the CI worker matrix: when
another spec loads the module first, the mock does not apply, the real Plotly.newPlot runs, and it throws No DOM element with id '…' exists on the page..
They pass on macOS but fail intermittently on ubuntu/windows (already reddened main). The workflow-execution-history one also triggers a vitest
"vi.mock not at the top level … will become an error in a future version" warning.
What to do
Drop the module-level vi.mock of plotly.js-basic-dist-min in both specs.
Render into a real DOM element: ensure the target chart element is in the
document (create a <div id="…">, or attach the fixture to document.body
for view-init charts), call the method (real Plotly.newPlot renders fine in
jsdom once the element exists), and assert on the data / layout Plotly
attaches to the graph div. Deterministic across platforms.
It looks like the issue description doesn't quite follow our template yet:
This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
Activity
github-actions commentedon Jul 19, 2026
👋 Thanks for opening this issue, @mengw15!
It looks like the issue description doesn't quite follow our template yet:
Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.
You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.
[-]Fix flaky UserQuotaComponent Plotly chart tests[/-][+]Fix flaky Plotly chart tests (UserQuotaComponent, WorkflowExecutionHistoryComponent)[/+]test(frontend): stabilize flaky Plotly chart tests (UserQuota, Workfl…