Closed fcollonval closed 1 month ago
The nice consequence is to get the macOS webkit tests green again
Thanks for the review @gabalafou
The fact that you need to change the tests locally is surprising as they work for me locally and on the CI. Does it happens with all browsers?
What is your environment? NodeJS, OS?
Note for yarn, the real version used should be independent of your installed version as we include it with the repo: https://github.com/jupyterlab/lumino/tree/main/.yarn/releases
Config is there: https://github.com/jupyterlab/lumino/blob/f26c85a9d5600ece3e2ad14b5e4505568bc025a9/.yarnrc.yml#L3
I was also wondering, would you mind leaving a note about how you created this pull request? Was it a lot of search/replace or were there some magic lerna commands that helped update the sub-package configs?
Yeah lots of smart search/replace...
Okay, this runs "out of the box" now, thank you! (By which I mean, I can do a fresh install of the repo and run the tests without getting stuck along the way.)
:tada:
I'm still getting the test failures I mentioned before. I checked that this doesn't happen before this PR so I think the failures are somehow related. I'm running Node 20.2.0 and macOS 14.4.1. Do you want to open an issue and punt on this for now, since the CI is fine?
If someone else could test it to see if you have an unlucky combination of software's or not. It would be nice.
Gentle ping to @JasonWeill, if you are on MacOS, would you have time to run the tests of this PR locally?
For reference, I'm on Debian 12 with Node.js 20.9.0.
Thanks a lot @gabalafou for all the tests.
Running Lumino tests on tip-of-main
pass, but on @fcollonval 's branch for this PR, they fail. I'm using a fresh Conda env on macOS Ventura 13.6.7.
@JasonWeill did you run yarn playwright install
as instructed by the updated CONTRIBUTING.md
?
Sorry, I was looking at the old CONTRIBUTING.md
file. After installing Playwright, then running the tests, I still see errors, but different errors.
Thanks for testing the PR @JasonWeill
As the errors are reproducible, I applied the fix proposed by @gabalafou in e96e2e3. Tests are passing for me locally - so :crossed_fingers: for the CI.
Ok as the CI is green and the fix is working locally for @gabalafou
I'll merge this one.
Fixes #610
Switch from karma to web-test-runner
I did not switch to jest to be able to test in browser directly and to not have to change the test (keep using mocha and chai).