-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test(cat-voices): playwright tests refactoring
- Loading branch information
Showing
9 changed files
with
104 additions
and
42 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/.env
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,2 @@ | ||
APP_URL=http://app:80 | ||
WALLET1_SEED_WORD=stomach,horn,rail,afraid,flip,also,abandon,speed,chaos,daring,soon,soft,okay,online,benefit |
1 change: 1 addition & 0 deletions
1
catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/.nvmrc
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 @@ | ||
v20.12.2 |
39 changes: 39 additions & 0 deletions
39
...t_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/README.md
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,39 @@ | ||
## Introduction | ||
|
||
Wallet automation is a testing package in Playwright that automates the wallet creation process for the Catalyst project. It is a part of the Catalyst Voices ecosystem. | ||
|
||
## Getting Started | ||
|
||
1. Clone this repository: | ||
|
||
```sh | ||
git clone | ||
cd catalyst-voices | ||
``` | ||
|
||
2. Install Flutter and Dart: | ||
|
||
```sh | ||
brew install flutter | ||
``` | ||
|
||
3. Bootstrap the project: | ||
|
||
```sh | ||
melos bootstrap | ||
``` | ||
|
||
4. Execute earthly command from this directory: | ||
|
||
```sh | ||
earthly +package-app | ||
``` | ||
|
||
5. Use docker compose to run the app: | ||
|
||
```sh | ||
docker-compose up | ||
``` | ||
The app should be running on `localhost:8000`. | ||
|
||
6. You can now |
56 changes: 28 additions & 28 deletions
56
...yst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Empty file.
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
Empty file.
13 changes: 13 additions & 0 deletions
13
catalyst_voices_packages/catalyst_cardano/catalyst_cardano/wallet-automation/tsconfig.json
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,13 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es6", | ||
"module": "commonjs", | ||
"strict": true, | ||
"esModuleInterop": true, | ||
"skipLibCheck": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"types": ["node"], // Add this line | ||
"typeRoots": ["./node_modules/@types"] | ||
}, | ||
"exclude": ["node_modules", "dist"] | ||
} |