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

Make the browser check default_url configurable #14944

Merged

Conversation

jtpio
Copy link
Member

@jtpio jtpio commented Aug 10, 2023

References

This will allow using python -m jupyterlab.browser_check for other JupyterLab apps like Notebook 7.

Code changes

Make BrowserApp.default_url configurable.

User-facing changes

Usage: python -m jupyterlab.browser_check --BrowserApp.default_url='/tree'

Backwards-incompatible changes

None

@jupyterlab-probot
Copy link

Thanks for making a pull request to jupyterlab!
To try out this branch on binder, follow this link: Binder

@jtpio jtpio added this to the 4.0.x milestone Aug 10, 2023
@jtpio jtpio mentioned this pull request Aug 10, 2023
@jtpio
Copy link
Member Author

jtpio commented Aug 10, 2023

Opened #14947 to track flaky UI tests.

Restarting the failing check.

Copy link
Member

@fcollonval fcollonval left a comment

Choose a reason for hiding this comment

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

Thanks

@fcollonval fcollonval merged commit c461f4c into jupyterlab:main Aug 11, 2023
79 of 81 checks passed
@fcollonval
Copy link
Member

@meeseeksdev please backport to 4.0.x

meeseeksmachine pushed a commit to meeseeksmachine/jupyterlab that referenced this pull request Aug 11, 2023
@jtpio jtpio deleted the browser-check-configurable-default-url branch August 11, 2023 05:38
fcollonval pushed a commit that referenced this pull request Aug 11, 2023
…#14949)

Co-authored-by: Jeremy Tuloup <jeremy.tuloup@gmail.com>
@jtpio
Copy link
Member Author

jtpio commented Aug 17, 2023

Looks like this is not enough to work out of the box, as the browser check tries to find a #browserTest element on the page (noticed on https://github.com/jupyter/notebook/actions/runs/5887724417/job/15967777821?pr=7005):

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants