@@ -65,14 +65,6 @@ yarn install
6565yarn start
6666```
6767
68- Alternatively, to get started with a local network:
69-
70- ``` shell
71- docker-compose up --build -d
72- yarn install
73- REACT_APP_LOCALNET=1 yarn start
74- ```
75-
7668Then go to < http://localhost:3000 > to access the wallet.
7769
7870### Test accounts
@@ -93,9 +85,6 @@ oasis1qq5t7f2gecsjsdxmp5zxtwgck6pzpjmkvc657z6l
9385
9486## Architecture
9587
96- This code needs multiple components to run, all provided in the
97- [ docker-compose.yml] for local development.
98-
9988![ Architecture diagram] ( docs/images/architecture.svg )
10089
10190- [ envoy-proxy] , used as a gRPC gateway for live access to the oasis-node, to
@@ -117,9 +106,9 @@ API that web wallet is using is determined during a build time.
117106
118107The repository has two different test strategies:
119108
120- - E2E (End-to-end) tests, run with [ Cypress ] , located in [ cypress/ ] ( /cypress ) .
121- These tests require the react app to be accessible on port ` 3000 ` and the
122- docker-compose stack to be up .
109+ - E2E (End-to-end) tests, run with [ Playwright ] , located in
110+ [ playwright/ ] ( /playwright ) .
111+ These tests require the react app to be accessible on port ` 3000 ` .
123112- Unit & functional tests, run with [ Jest] , located throughout the codebase
124113
125114To run all tests:
@@ -138,12 +127,6 @@ yarn start
138127# Or `yarn start:prod` and `yarn test:prod` to test production builds.
139128# Or `xvfb-run yarn test` to prevent browser windows opening.
140129
141- # Run cypress tests
142- docker-compose up -d
143- # Run this in another terminal to keep it open
144- REACT_APP_LOCALNET=1 REACT_APP_BACKEND=oasismonitor yarn start
145- yarn cypress:run
146-
147130# Manually check that content-security-policy in getSecurityHeaders.js doesn't
148131# break any functionality
149132yarn start:prod
@@ -218,13 +201,11 @@ Adding a new language:
218201
219202[ demo-video ] : https://github.com/oasisprotocol/wallet/assets/3758846/ef11fbea-dd55-42b1-87a4-1b74509a2809
220203[ chromewebstore.google.com ] : https://chromewebstore.google.com/detail/rose-wallet/ppdadbejkmjnefldpcdjhnkpbjkikoip
221- [ docker-compose.yml ] : docker-compose.yml
222204[ envoy-proxy ] : https://www.envoyproxy.io
223205[ oasis-nexus ] : https://github.com/oasisprotocol/nexus
224206[ oasis-nexus-api-spec ] : https://nexus.oasis.io/v1/spec/v1.html
225207[ oasis-scan ] : https://www.oasisscan.com
226208[ scan-api-repo ] : https://github.com/bitcat365/oasisscan-backend#oasisscan-api
227- [ Cypress ] : https://www.cypress.io/
228209[ Jest ] : https://github.com/facebook/jest
229210[ prettier ] : https://prettier.io/
230211[ eslint ] : https://github.com/eslint/eslint
0 commit comments