Skip to content
This repository has been archived by the owner on Nov 27, 2023. It is now read-only.

Stabilize e2e tests with sandbox #2198

Open
tplevko opened this issue Jul 26, 2023 · 4 comments
Open

Stabilize e2e tests with sandbox #2198

tplevko opened this issue Jul 26, 2023 · 4 comments
Labels
chore Tests, CI/CD, general maintenance

Comments

@tplevko
Copy link
Contributor

tplevko commented Jul 26, 2023

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.

@tplevko tplevko added the chore Tests, CI/CD, general maintenance label Jul 26, 2023
@tplevko tplevko self-assigned this Jul 26, 2023
@lordrip
Copy link
Collaborator

lordrip commented Jul 26, 2023

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

@tplevko
Copy link
Contributor Author

tplevko commented Jul 26, 2023

@lordrip #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.

@lordrip
Copy link
Collaborator

lordrip commented Jul 27, 2023

@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.

@tplevko
Copy link
Contributor Author

tplevko commented Aug 4, 2023

Another inconsistency with the standalone - #2227

@tplevko tplevko removed their assignment Aug 11, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
chore Tests, CI/CD, general maintenance
Projects
None yet
Development

No branches or pull requests

2 participants