Skip to content
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

e2e tests added #210

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

e2e tests added #210

wants to merge 8 commits into from

Conversation

xbabalov
Copy link
Contributor

@xbabalov xbabalov commented Oct 8, 2024

Added e2e tests that cover extension installation and handling.
Issues: #199 and #201

@xbabalov xbabalov requested a review from a team as a code owner October 8, 2024 00:47
@xbabalov xbabalov force-pushed the e2e-tests branch 2 times, most recently from a9c5baf to 4f8e004 Compare October 8, 2024 00:49
Copy link
Member

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also needs rebase

package.json Outdated
},
"dependencies": {
"@kubernetes/client-node": "^0.22.0",
"@podman-desktop/api": "^1.12.0",
"fs-extra": "^11.2.0",
"got": "^14.4.2",
"js-yaml": "^4.1.0"
"js-yaml": "^4.1.0",
"node-fetch": "^2.6.1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be in devDependencies ?

@xbabalov xbabalov force-pushed the e2e-tests branch 3 times, most recently from d32965c to 533f014 Compare October 15, 2024 08:16
Copy link

@odockal odockal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quite ok, except the review comments. but e2e tests are overal ok!

vitest.config.js Outdated Show resolved Hide resolved
vitest.config.js Outdated Show resolved Hide resolved
package.json Outdated Show resolved Hide resolved
tests/src/developer-sandbox.spec.ts Outdated Show resolved Hide resolved
@xbabalov xbabalov force-pushed the e2e-tests branch 4 times, most recently from bcdace9 to 65efca9 Compare October 16, 2024 08:52
Copy link
Member

@jeffmaury jeffmaury left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Such a PR should be split in 2 parts: switch to module then add E2E tests

@odockal
Copy link

odockal commented Oct 18, 2024

@jeffmaury @xbabalov First we need to switch to ES modules and then we could merge this PR. I will open an issue.

@odockal
Copy link

odockal commented Oct 18, 2024

@xbabalov please open a PR to fix #219 which changes related to switch to ES modules.

@xbabalov xbabalov force-pushed the e2e-tests branch 3 times, most recently from 427ef4d to 5b09e70 Compare October 22, 2024 23:36
Signed-off-by: xbabalov <[email protected]>
@xbabalov
Copy link
Contributor Author

#221 was merged, I rebased and updated the files, so this should be ready for merge as well.

Copy link

@odockal odockal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

"xvfb-maybe": "^0.2.1",
"zip-local": "^0.3.5",
"js-yaml": "^4.1.0",
"node-fetch": "^2.6.1"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

node-fetch is to be removed as fetch is now native since fetch is now part of nodejs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants