-
Notifications
You must be signed in to change notification settings - Fork 9
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
Add playwright tests to sample vite app #1549
base: main
Are you sure you want to change the base?
Conversation
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
- possible fix before revering to 1.47.2
- excluded also from test
- one more try
- bumped vite version to 2.1.5 - downgraded playwright to 1.47.2
- restored webserver
- bump vitest 2.1.6
- trying to fix process issue now
- change process in vitest configs
- fixed the local test issues with vitest (not actually playwright)
- added vite workspace so we can run both jsdom and node tests - added playwright run to test-apps for vite
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.
LGTM, added a couple of suggestions
done | ||
|
||
- name: E2E Test for apps |
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.
Currently we are duplicating the execution for the apps
because they are included in workspaces
in package.json
. I created this ticket because of that #1500.
I would place this snippet either in a separate yml
or (maybe) just get rid of the rest and use this file just for this test so you can also complete the other ticket. Otherwise this new part will be moved eventually.
Keccak256, | ||
Sha256, | ||
Txt | ||
} from '@vechain/sdk-core/dist/index.mjs'; |
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.
Suggestion: I would try to use the normal import. Probably you are doing this because of the issue you described during these days, but I would double-check if you can somehow specify something in the playwright
config to load this properly since it should not be required (basically you are saying something like "playwright
, load ESM files").
Description
Adding playwright e2e tests to sample vite app
Fixes # 1515
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: