Skip to content

Fix flaky UI tests - #397

Merged
MFA-X-AI merged 1 commit into
XpressAI:fahreza/jupyterlab-4.4from
rabea-al:jupyterlab-4.4
Apr 28, 2025
Merged

MFA-X-AI merged 1 commit into
XpressAI:fahreza/jupyterlab-4.4from
rabea-al:jupyterlab-4.4

Conversation

@rabea-al

Copy link
Copy Markdown
Contributor

Description

This PR fixes a flaky behavior in the UI tests where Playwright would occasionally fail while attempting to double-click the 'xai_tests' folder before it was fully loaded.

Changes:

  • Added explicit wait for 'xai_tests' folder before double-clicking in both clean_xircuits_directory and copy_xircuits_file functions.

Testing:

  • Verified locally on both Chromium and Firefox.
  • Also verified by running GitHub Actions multiple times on my forked repository , and all runs were successful.

@github-actions

Copy link
Copy Markdown

Binder 👈 Launch a binder notebook on branch rabea-al/xircuits/jupyterlab-4.4

@MFA-X-AI
MFA-X-AI merged commit 3bcb634 into XpressAI:fahreza/jupyterlab-4.4 Apr 28, 2025
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.

2 participants