-
Notifications
You must be signed in to change notification settings - Fork 8
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): refactoring playwright tests
- Loading branch information
Showing
22 changed files
with
1,015 additions
and
428 deletions.
There are no files selected for viewing
1 change: 1 addition & 0 deletions
1
catalyst_voices/packages/libs/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 |
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
44 changes: 44 additions & 0 deletions
44
...ces/packages/libs/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,44 @@ | ||
## 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 run tests with the following command: | ||
|
||
```sh | ||
npx playwright test | ||
``` |
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 |
---|---|---|
|
@@ -3,4 +3,4 @@ services: | |
test-app: | ||
image: test-app:latest | ||
ports: | ||
- 8000:80 | ||
- "8000:80" |
13 changes: 0 additions & 13 deletions
13
..._voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/global-setup.ts
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
catalyst_voices/packages/libs/catalyst_cardano/catalyst_cardano/wallet-automation/keys.txt
This file was deleted.
Oops, something went wrong.
72 changes: 42 additions & 30 deletions
72
...oices/packages/libs/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
Oops, something went wrong.