Informatievlaanderen / VSDS-LDES-E2E-testing

End-to-end tests and tooling needed for testing LDES components build as part of VSDS
European Union Public License 1.2
5 stars 2 forks source link

Sprint 31: Cypress auto test fails with error: 'sh' is not recognized as an internal or external command, #331

Closed xdxxxdx closed 1 year ago

xdxxxdx commented 1 year ago

E2E repo tag: fe7119f9174c38fbc62ab0f0f0fe04d758b2480b ldes/ldes-server:1.3.0-SNAPSHOT ldes/ldi-workbench-nifi:1.3.0-SNAPSHOT ldes/ldi-orchestrator:1.3.0-SNAPSHOT

Scenario: Run npm run test under the directory

Current result: All tests related to LDES Server failed with error: 'sh' is not recognized as an internal or external command, on Powershell Gitbash or Ubuntu environment (WSL + Windows 11)

image Results: Results.zip

rorlic commented 1 year ago

can you run the following in the same location as where you ran npm run test:

which sh

and post the result here?

xdxxxdx commented 1 year ago

Hello @rorlic . With the tag: 8b116de5e53f392fc2342f9fc3f054400cabd3c4, There is no issue with the cypress run.

I Was thinking both of them are supposed to be used for the testing of Sprint 31. (As discussed there is no change during the sprint, only for the hotfix)

The modification of the configuration brought by d27d175dc3b793b1055b98acc8f1c48626e0adaf led to this issue.

Thanks Xueying