This repository holds the front-end widgets for PotLock. This project is configured as a bos-workspace.
- Install packages
npm install
- Start dev environment
npm run dev
This will start a gateway at http://127.0.0.1:8080 which will render your local widgets. The entry point for this app is potlock.near/widget/Index.
This project uses playwright for end-to-end testing. To run the tests:
npm run test
You may automatically record video with your tests by setting
use: {
video: "on"
}
in the playwright.config.js. After running tests, you will find the output as a .webm
in ./test-results
. Then, convert to MP4 and share.