-
-
Notifications
You must be signed in to change notification settings - Fork 45
Update to Node 14 #638
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 Node 14 #638
Conversation
Closes eXist-db#629
@adamretter this is already part of #626 |
Interestingly you also chose npm version 6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good changes but would be conflicting with #626
Okay I didn't realise that! Regardless, it should likely be a separate PR otherwise there are mixed concerns... which could explain why I didn't realise it was part of that other PR ;-)
No idea. I didn't even look at npm 7, because... |
OK, so it is the bundled version. |
@line-o It's simple enough to have both. Merge this and you/I can rebase the other in minutes ;-) |
Weird, now the cypress tests are failing in this branch as well. (the sole reason why #626 is not merged yet) |
My inclusion of Node 14 in #626 was just a test to see if CI would pass with it. If we get it working here I'll force push a clean branch. |
Test failures here are different though I think
…On Thu, 10 Jun 2021, 18:35 Juri Leino, ***@***.***> wrote:
Weird, now the cypress tests are failing in this branch as well. (the sole
reason why #626 <#626> is
not merged yet)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#638 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJUTOKU7AOIUXKEBCQ7LXLTSDSUZANCNFSM46OZADYQ>
.
|
https://github.com/eXist-db/documentation/pull/638/checks?check_run_id=2795137601#step:6:553 |
This is likely the update to cypress 7.4 by the looks of things |
From https://docs.cypress.io/api/commands/visit#Syntax: Cypress will prefix the URL with the baseUrl configured in your network options if you've set one. From cypress.json: "baseUrl": "http://localhost:8080/exist/apps/doc/" So cy.visit(‘.’) was causing cypress to request: http://localhost:8080/exist/apps/doc/. I’m not able to simulate this request, so I can’t reproduce it to see eXist returning an application/xml content-type header, but it’s clear that removing the period ensures the request goes to the intended URL: http://localhost:8080/exist/apps/doc/
And we're green! From https://docs.cypress.io/api/commands/visit#Syntax:
Our cypress.json defines
I wasn't able to force a request to
Once I made this change, |
My hunch is that cypress-io/cypress#8629, which was released in Cypress 5.3.0, somehow affected our changes to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I remember now this being part of the release notes, I would suggest to move to cy.visit(‘/‘)
in a separate future update obviously adjusting the baseUrl
in the config.
Closes #629