Skip to content

Give async render waits in the webview tests a 5s window - #43

Merged
LiamClarkeNZ merged 1 commit into
mainfrom
fix/webview-test-async-timeout
Oct 5, 2026
Merged

LiamClarkeNZ merged 1 commit into
mainfrom
fix/webview-test-async-timeout

Conversation

@LiamClarkeNZ

Copy link
Copy Markdown
Owner

The App tests wait for nodes that only appear after the async ELK layout resolves, using waitFor's 1s default. The first layout in a run pays ELK's start-up cost: 656-717ms on recent CI runs, and over 1s on the slower runner that failed "renders tables passed via window.render" on #41 (every suite on that runner ran ~1.7x slower).

This raises the Testing Library async timeout to 5s in the shared test setup, so runner variance can't fail these tests. Waits still finish as soon as the element appears.

The App tests wait for nodes that only appear after the async ELK layout
resolves, using waitFor's 1s default. The first layout in a run pays ELK's
start-up cost: 656-717ms on recent CI runs, and over 1s on the slower
runner that failed "renders tables passed via window.render" on #41 (every
suite on that runner ran ~1.7x slower). Raise the Testing Library async
timeout to 5s in the shared setup so runner variance cannot fail them.
@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Qodana Community for JVM

It seems all right 👌

No new problems were found according to the checks applied

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/qodana-action@v2025.1.1
        with:
          upload-result: true
Contact Qodana team

Contact us at qodana-support@jetbrains.com

@LiamClarkeNZ
LiamClarkeNZ merged commit 5616241 into main Oct 5, 2026
6 checks passed
@LiamClarkeNZ
LiamClarkeNZ deleted the fix/webview-test-async-timeout branch October 5, 2026 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant