- Install dependencies for Web client
-
Build WASM web client
../../clients/web/tools/build.sh
-
Launch example server which will watch files and rebuild automatically:
npm install && npm run start
Note:
npm
is used here instead ofyarn
because we depend onexocore
via its path and thatyarn
has the bad habit of copying all files in theexocore
directory, including its massive target directory, because it bypasses ignored files. See this issue. -
Open browser to http://127.0.0.1:8080
- Copy the displayed discovery PIN.
- On the main node, add node
exo cell node add
and enter paste discovery PIN.
-
Install Playwright dependencies
npx playwright install --with-deps chromium
-
Run test server in background
exo -d tests/node daemon &
-
Run tests
./tools/e2e.sh