Open tplevko opened 1 year ago
The command to run the e2e tests against the sandbox application are:
In the kaoto-ui folder, from a separate terminal execute:
yarn workspace @kaoto/sandbox run star --port 1337 --host 0.0.0.0
In the same folder, from another terminal
IFRAME_ENABLED=true yarn workspace @kaoto/kaoto-ui run e2e:headless
Feel free to rename the custom isomorphicGet()
command or to rename the environment variable
@lordrip https://github.com/KaotoIO/kaoto-ui/issues/2200 is introducing some challenges when stabilizing the e2e tests with the sandbox. It can probably be worked around, but I wanted to raise this, in case it's not an expected behaviour for the sandboxed app, potentially causing discrepancies with the VSCode plugin.
@tplevko you're right, it's the same behavior as vscode-kaoto
.
Definitely It's not ideal neither a desired behavior.
It's happening because we have 2 listeners, one from the code editor and another one from the multiplying architecture.
Another inconsistency with the standalone - https://github.com/KaotoIO/kaoto-ui/issues/2227
Please describe the task that needs to be done
The current state of e2e is that it works with the standalone deployment. The tests should be updated to be able to run with the recently added sandbox - currently several test failures due to instability are occurring.