Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Initial E2E test of chrome extensions #156

Merged
merged 13 commits into from
Jan 10, 2025
Merged

Conversation

gbarkhatov
Copy link
Contributor

@gbarkhatov gbarkhatov commented Dec 23, 2024

In this PR the initial Chrome Extensions E2E setup is established

  1. OKX, Keplr, BitGet, OneKey latest versions will be downloaded. Previous versions are gitignored and kept on dev machine so they can be tested out later on
  2. After the download, the crx extensions are extracted into the appropriate directories
  3. The setup process is established with mnemonic and password being read from the .env.local file
  4. Wallets are loaded, set up.
  5. Storybook story of getting addresses and pk hexes are run

Video: https://youtu.be/nySA7lSc1Jo

I created few more issues to cover the future steps so this PR is not bloated even more:

  1. CRX inner ID: E2E: CRX hash pub key #157
  2. Bitget: E2E: Bitget wallet #158
  3. OneKey: E2E: OneKey wallet #159
  4. BTC actually signing PSBT and Message: E2E: BTC sign the PSBT and message #160
  5. BBN simulate and signTx E2E: BBN StargateClient simulate and signTx #161
  6. Better selectors using data-testid E2E: data-testid for better selectors #162
  7. More to come after the review of this PR @jrwbabylonlab @totraev

Closes: #138

@gbarkhatov gbarkhatov marked this pull request as draft December 23, 2024 15:47
@gbarkhatov gbarkhatov marked this pull request as ready for review December 23, 2024 16:41
@gbarkhatov
Copy link
Contributor Author

@jrwbabylonlab @totraev please review this PR, it should work with these versions:

OKX: 3.36.5
KEPLR: 0.12.169

so I can implement further PRs for things like #157

@gbarkhatov gbarkhatov merged commit 358ee1e into main Jan 10, 2025
1 check passed
@gbarkhatov gbarkhatov deleted the feat/e2e-initial branch January 10, 2025 08:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Tests: E2E - initial
2 participants