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
Feat: Add 2.10.0 #134
Feat: Add 2.10.0 #134
Conversation
The tests are failing for 2.10.0: https://github.com/disney/meteor-base/actions/runs/3954174678/jobs/6771345570 |
mmm it's weird, it says: FAIL: (no message displayed) Do you know how can I show the error detail? |
You need to run the tests locally. Look inside |
The problem is on line 9 of test.js, here: await page.goto('http://localhost/'); I added a catch statement, and this is the error: ➜ meteor-base git:(add-2100) ✗ ./test.sh 2.10.0
Testing Docker image geoffreybooth/meteor-base:2.10.0...
Creating test app...
Building test app Docker image...
Launching test app...
Running test...
Before node test.js
error: Error: net::ERR_CONNECTION_REFUSED at http://localhost/
at navigate (file:///Users/diavrank/Documents/meteor-base/test/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.js:210:23)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async Frame.goto (file:///Users/diavrank/Documents/meteor-base/test/node_modules/puppeteer-core/lib/esm/puppeteer/common/Frame.js:180:21)
at async CDPPage.goto (file:///Users/diavrank/Documents/meteor-base/test/node_modules/puppeteer-core/lib/esm/puppeteer/common/Page.js:436:16)
at async file:///Users/diavrank/Documents/meteor-base/test/test.js:9:3
FAIL: (no message displayed) I already tried by updating puppeteer to the latest version but it didn't work. Also, I changed the port URL page to http://localhost:3000 but it didn't work either. any suggestion @GeoffreyBooth ? |
What this code is doing is launching the test app (like via the Presumably the app isn’t launching correctly, so one or both of these direct ways of launching the test app should give you an error that you can investigate. |
@GeoffreyBooth I already found the cause, it was because we had a conditional with regex for 2.1* version, so, it was never entering to 2.10 conditional. To fix it, I had to change it to 2.1.* I guess I have to update the other one about 2.0* however, as you can see, it's throwing another error. I guess is something related to a recent change you did in this part 9dc41e3 |
Well, thinking twice, if 2.9.1 also had that error then I can guess that it's a normal behavior ➜ meteor-base git:(add-2100) ✗ ./test.sh 2.9.1
Testing Docker image geoffreybooth/meteor-base:2.9.1...
Creating test app...
Building test app Docker image...
Launching test app...
Running test...
Before node test.js
Before elapsed variable
enter to else
PASS for geoffreybooth/meteor-base:2.9.1 with node:14.21.2-alpine after 5 min 14 sec
Error: No such image: example-app:latest
|
mmm it seems 2.1.0 is not allowed: ➜ Documents meteor create myapp --release 2.1.0
Meteor 2.1.0: unknown release. |
@GeoffreyBooth Fixed :) |
Thank you for digging into this! |
Changelog