-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add cypress commands to readme
- Loading branch information
1 parent
fc6dd01
commit 32e5db3
Showing
4 changed files
with
52 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,4 @@ jobs: | |
- run: yarn install | ||
- run: yarn build | ||
- run: yarn lint | ||
- run: yarn cypress:headless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,3 +34,4 @@ jobs: | |
- run: yarn install | ||
- run: yarn build | ||
- run: yarn lint | ||
- run: yarn cypress:headless |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Nation3 App UI | ||
|
||
https://app.nation3.org | ||
|
||
## Run the UI locally | ||
|
||
Navigate to the folder of the UI app: | ||
``` | ||
cd ui/ | ||
``` | ||
|
||
Install the dependencies: | ||
``` | ||
yarn install | ||
``` | ||
|
||
Add variables to your local development environment: | ||
``` | ||
cp .env.mainnet .env.local | ||
``` | ||
|
||
Build: | ||
``` | ||
yarn build | ||
``` | ||
|
||
Lint: | ||
``` | ||
yarn lint | ||
``` | ||
|
||
Start the development server: | ||
``` | ||
yarn dev | ||
``` | ||
|
||
Then open http://localhost:42069 in a browser. | ||
|
||
## Integration Testing | ||
|
||
Run the integration tests: | ||
``` | ||
yarn cypress | ||
``` | ||
|
||
Run the integration tests headlessly: | ||
``` | ||
yarn cypress:headless | ||
``` |