edgeview
edgeview copied to clipboard
[Deprecated] Move to https://github.com/open-v2x/omega, OpenV2X Edge Portal
[Deprecated] Move to https://github.com/open-v2x/omega
edgeview
Environment Prepare
Install node_modules
:
npm install
or
yarn
Provided Scripts
Start project
npm start
Build project
npm run build
Check code style
npm run lint
You can also use script to auto fix some lint error:
npm run lint:fix
Test code
npm test
Run e2e at local device
1. Running all the Tests
yarn playwright:test
1.1 Running a single test file
npx playwright test ${test file name}
1.2 Running tests on a specific project
View document on playwright.dev/docs/running-tests.
npx playwright test ${test file name} --project=chromium
1.3 Debugging all the Tests
yarn playwright:test-debug
2. View HTML Test Reports
yarn playwright:show-report
More
You can view full document on our official website. And welcome any feedback in our github.