Skip to content
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

Update to the new Galata #3279

Merged
merged 10 commits into from
Nov 30, 2021
Merged

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Sep 14, 2021

Fixes #3274

Update to the latest @jupyterlab/galata now living in the JupyterLab repo: https://github.com/jupyterlab/jupyterlab/blob/master/galata

This makes full use of playwright and helps simplify the UI Tests setup.

TODO

  • Update to @jupyterlab/galata@~4.0.2
  • Update CI workflow
  • Update reference snapshots
  • Update docs

The test report can be downloaded from the summary page:

image

When the CI check fails, new reference snapshots are generated and uploaded:

image

@github-actions
Copy link

Binder 👈 Launch a binder notebook on branch jtpio/ipywidgets/update-galata

@jtpio jtpio added the dependencies Pull requests that update a dependency file label Sep 14, 2021
@jasongrout jasongrout added this to the 8.0 milestone Sep 17, 2021
@jtpio
Copy link
Member Author

jtpio commented Oct 12, 2021

This is only modifying the ui-tests self-contained folder.

Moving to 8.1 so it's not a blocker, but might get back to it before.

@jtpio jtpio modified the milestones: 8.0, 8.1 Oct 12, 2021
@jtpio jtpio marked this pull request as ready for review November 9, 2021 14:01
"metadata": {},
"outputs": [],
"source": [
"import ipywidgets as widgets\n",
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moving the import to the cell below, since Galata would otherwise block on trying to fetch the cell output with galata.notebook.getCellOutput() when there is no output.

@jtpio
Copy link
Member Author

jtpio commented Nov 9, 2021

Adding back to the 8.0 milestone for consideration since it should now be ready to go.

@jtpio jtpio modified the milestones: 8.1, 8.0 Nov 9, 2021
with:
node-version: 12.x
node-version: 14.x
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is Node 12 no longer supported?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It could be that node 12 was causing issues for this workflow. Although other workflows still use that version.

We could try to switch back to 12 and see if the check fails.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@martinRenou martinRenou self-requested a review November 23, 2021 18:17
Copy link
Member

@martinRenou martinRenou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM :)

@jasongrout jasongrout merged commit 045cb0e into jupyter-widgets:master Nov 30, 2021
@jtpio jtpio deleted the update-galata branch November 30, 2021 17:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to the latest Galata
4 participants