mirror of
https://github.com/zhigang1992/xverse-web-extension.git
synced 2026-04-30 21:52:45 +08:00
feat: Support Keystone hardware wallet [ENG-6127] (#849)
* Hide rare sats warning (#827) * Hide warning * Remove unused translation and blog link * feat: add keystone account import * feat: adaptor keystone transaction transport * feat: support keystone sign message * feat: support keystone btc send * update: package.json fix: en.json * uplift: clean unused code * fix: package name * add: sendOrdinal, signPsbt, psbt confirm keystone transport * fix: import tip, sign psbt error msg * fix: e2e test account connect wallet button * fix: sign mfp check, remove keystone auto confirm, sign tip * fix: selectAccount options * fix: keystone batchPsbtSigning and isKeystone * Fixes and improvements * Revert lock file * Fix lock file * Update core and fix types * Move keystone utils to correct location * Add keystone functionality to create inscription screen * Add speed up txn keystone functionality * Fix error rename * Fix keystone speed up txn * Fix some hw wallet logci * Remove link to shop * Bump core * Fix lock file merge * Bump core and fix outdated dependency * Bump core * Fix the Keystone flow header and copy * Update the props type * Remove the double spinning button state * Remove unneeded if * Move Ledger and Keystone assets to hw folder * Update sats-connect core and remove keystone todos * Bump core * Fix core bump issue * Fix keystone ordinals send * Remove keystone page that wasn't in figma * Fix strange behavior when deleting accounts * Fix merge issue * Add the intemediate Connect Hardware Wallet screen * Fix the e2e tests * Update copy for the Connect hardware wallet button --------- Co-authored-by: Tim Man <tim@secretkeylabs.com> Co-authored-by: Den <36603049+dhriaznov@users.noreply.github.com> Co-authored-by: Jordan K <65149726+jordankzf@users.noreply.github.com> Co-authored-by: Ken Liao <ken@secretkeylabs.com> Co-authored-by: keystoneGithub <eng@keyst.one> Co-authored-by: Denys Hriaznov <hriaznov.dev@gmail.com>
This commit is contained in:
@@ -405,7 +405,7 @@ export default class Wallet {
|
||||
.filter({ hasText: 'name can only include alphabetical and numerical' });
|
||||
this.buttonGenerateAccount = page.getByRole('button', { name: 'Generate account' });
|
||||
this.buttonConnectHardwareWallet = page.getByRole('button', {
|
||||
name: 'Connect hardware wallet',
|
||||
name: 'Add hardware wallet account',
|
||||
});
|
||||
this.inputName = page.locator('input[type="text"]');
|
||||
this.errorMessageRenameAccount = page
|
||||
|
||||
@@ -50,7 +50,7 @@ test.describe('Account Management', () => {
|
||||
await page.getByRole('button', { name: /reset name/i }).click();
|
||||
await expect(page.getByText('Account 1')).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: /generate account/i })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: /connect hardware wallet/i })).toBeVisible();
|
||||
await expect(page.getByRole('button', { name: /add hardware wallet account/i })).toBeVisible();
|
||||
});
|
||||
|
||||
test('Generate new account', async ({ page, extensionId }) => {
|
||||
|
||||
Reference in New Issue
Block a user