question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to setup jupyterlab-lsp for Browser-based Acceptance Tests

See original GitHub issue

What I am trying to do…

I am trying to run browser acceptance tests. When I run python scripts/atest.py it kinda works (after removing the testcase with flaky bash server which does not work), but I get a fail on tests (smoke is fine) due to “build recommended” dialogue. Screenshot:

image

How I would like to learn how to do it…

This might a common issue, worth adding to troubleshooting

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bollwyvlcommented, Dec 15, 2019

Indeed. We’ve been trying to get the ability to skip that check into core but it hasn’t shown up on the 1.x line.

The other option is to not have node available on PATH… which is not an option for us because of all the language servers.

So that leaves having a “clean” build. This should work given some hot changes:

jlpm build
jlpm lab:link  # might not be necessary
jupyter lab build
python scripts/atest.py

In CI, I go even further, and install only the built tarballs, but that seems a bit much.

0reactions
bollwyvlcommented, Dec 21, 2019

will PR a doc change!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Contributing
Browser -based Acceptance Tests#. The browser tests will launch JupyterLab on a random port and exercise the Language Server features with Robot Framework...
Read more >
LSP Integration for Python Not Working · Issue #203 - GitHub
Hi, I am newbie here. Wanting to learn Python with Jupyter Lab 1.26 and wanted to have the auto completion feature as in...
Read more >
RPA and Web Scraping using Jupyter | by alpha2phi - Medium
Since I am going to perform web scraping, I need to install SeleniumLibrary from Robot Framework. $ pip install --upgrade robotframework-seleniumlibrary ...
Read more >
Jupyter Documentation - Read the Docs
The Jupyter Notebook interface is a Web-based application for authoring ... fork (fast and more clever autocompletion for jupyterlab-lsp!)
Read more >
Automated tests? - JupyterLab - Jupyter Community Forum
I was wondering if jupyterlab has an automated test suite Also are there any be… ... There are many tools for doing full...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found