-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add some UI tests #19
Conversation
please update snapshots |
please update snapshots |
1 similar comment
please update snapshots |
Looks like the snapshot update workflows is failing: https://github.com/TileDB-Inc/jupyter-iframe-commands/actions/runs/12122527111/job/33795905340 We will probably need to first fix the workflow and have the changes available on the Otherwise in the meantime we could grab the snapshots from the playwright report for this PR, and commit them directly. |
Yea I'm fighting with this on my fork right now, I didn't want to keep spamming this repo 🫠 |
please update snapshots |
Kicking CI after the snapshot update. |
Looking at the UI tests report, it seems the snapshot is taken a bit too soon before JupyterLab has time to load properly: jupyter-iframe-commands-ui-tests.webmMaybe we can introduce an artificial delay, or look for a specific element in the JupyterLab Iframe before taking the snapshot (which would be more robust than relying on an arbitrary timeout). |
I'm attempting to wait for the splash screen to be gone before taking the snapshot jupyter-iframe-commands/ui-tests/tests/hostpage-tests.spec.ts Lines 3 to 28 in ab94082
|
Indeed, and this also looks similar to what Galata does by default: https://github.com/jupyterlab/jupyterlab/blob/a0733bf0ccc29fe8830b89cf557edfa14ffc9fd8/galata/src/fixtures.ts#L352-L355 |
please update snapshots |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
#7 Add some UI tests.