91 Commits

Author SHA1 Message Date
Duska.T
729fcec0bf test: added timeout and mark flaky tests in ci as fixme (#910)
* test: addd timeout and mark flaky tests in ci as fixme

* Update package-lock.json
2025-02-06 11:17:56 +01:00
Victor Kirov
0bab5f807e 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>
2025-01-23 11:43:52 +01:00
Den
9e144160b3 fix: Fix the failing e2e test for the sip10 token (#880) 2025-01-21 17:16:28 +01:00
Denys Hriaznov
54815e95c6 Merge branch 'denys/fix/ENG-5882/ENG-6158/ENG-6098' of github.com:secretkeylabs/xverse-web-extension-private into denys/fix/ENG-5882/ENG-6158/ENG-6098 2025-01-14 11:42:22 +01:00
Denys Hriaznov
69b6c466e9 Fix the e2e tests 2025-01-14 11:41:14 +01:00
Duska.T
784b50d8ba Feature/eng 6171 e2e failed tests investigation for v0480 to develop (#858)
* release: v0.48.0

* test: add aria labels to token components and temporarily disable token subtitle locator

* test(e2e): fix token management tests and improve accessibility and temp commented out

* Fix: Update currency balance container accessibility labels

* clean-up comments in swapVisuals.spec.ts

* clean up the commented code managementToken.spec.ts

* fix: added proper locators due to missing data-test-ids

* revert the package.json and package-lock.json

---------

Co-authored-by: GitHub Actions Bot <>
2025-01-14 11:18:58 +01:00
Edu
be259d8c3d feat: Stacks sign multiple transactions [ENG-5426][ENG-6130] (#801)
* Add docs

* Update docs

* WIP

* wip - reverting to stacks v6

* Create functional skeleton

* Start fleshing out contract call transaction viewer

* Start post conditions components

* Remove unused description

* Add more post condition components

* Start STX post condition

* Use switch

* Clean up STX post conds

* Shorten message

* Remove debug code

* Tweak button padding & margin options

* Add Stacks value truncating helpers

* Add call details section

* Clean up

* Add transaction fee

* WIP

* Create edit button

* Complete fee

* WIP

* Add functional arrows

* Complete actions handlers

* Update no transfers component

* MVP

* Add content body container

* Display function interface

* Improve text truncation

* Start ledger

* WIP

* Advance ledger components

* Improve layout

* Use null instead of undefined

* Retrieve ledger transport

* Sign with ledger MVP

* Implement sign with ledger happy path

* Clean up

* Move signing logic inside compoent

* Prevent concurrent signing requests

* WIP

* Handle state changes within related components

* Rename variables

* Refactor

* Create final screen

* Update import path

* Update copy

* Remove debug code

* Remove unused files

* Update copy

* Add handler

* Clean up exports

* wip

* wip

* wip

* Refactor loader

* Update transaction details styles

* Refactor transaction details

* Remove network placeholder

* Remove debug code

* Use fee estimation hook

* Update fee styles and copy

* Fix formatting

* Remove unused file

* Use camelCase file names

* Update fee title style

* Remove unnecessary "todo"

* Organize components

* Rename component

* Remove unused import

* Remove export

* Remove default export constraint

* Add translation

* Use availableBalance

* Use modifyRecommendedStxFees

* Remove unused comment

* Add conversion helper

* Use existing fiat converting function

* Use ui-lib component

* Add post conditions README

* Refactor post-conditions logic

* Refactor display of sponsored transactions

* Refactor sponsored transaction ui

* Add docs

* Remove comment

* Use translations for image alts

* Use ErrorDisplay for errors

* Remove sponsored card

* Remove duplicate hook

* Set released sats-connect-core version

* Fetch fees while editor is closed
2025-01-07 15:15:13 +00:00
fede erbes
e80e888dad feat: enable sip10 and brc20 top tokens to display sBTC by default (#831)
* feat: enable sip10 and brc20 top tokens

* test: fix token management smoketest

* chore: remove unused export

* chore: use core release v34.0.0 and update test comment
2024-12-18 12:35:19 +01:00
Duska.T
0e7e4b80b3 Fix failing tests in ci that passes locally (#821)
* Fix failing test in ci that passes locally

* added a .skip() until the actual code fix is implemented

* Update tabSettings.spec.ts
2024-12-10 11:23:46 +01:00
Duska.T
8821afd607 Dusana/eng 5909 fix for workflow upload playwright report to develop (#811)
* release: v0.46.0

* Fix: Duplicate artifact name causing 409 Conflict in GH Actions and fix failing e2e tests (#808)

* Fix: Duplicate artifact name causing 409 Conflict in GitHub Actions

* fix for unstable locators

* removed a commented line in swapSip10Velar.spec.ts

* Fix for workflow Upload Playwright report in ci/cd

* Terence/add min balance decimals (#810)

* add formatBalance to final quote display

* add formatBalance to quoteSummaryTile.tsx

* remove invalid code (its comparing the rate to the minimum received)

* fix remove wrapping

* Fix for failing test

* Fix for failing tests

---------

Co-authored-by: DuskaT021 <aleksa2601@gmail.com>

* updated the build-rc.yml post-comment

---------

Co-authored-by: GitHub Actions Bot <>
Co-authored-by: Terence Ng <ngtere@live.com.sg>
2024-12-05 16:36:59 +01:00
fede erbes
b91174570c feat: use new core version to allow promoted runes and improve empty state in send runes flow (#787)
* feat: use new core version to allow promoted runes and improve empty state in send runes flow

* test: fix runes managetoken case to cater for promoted runes

* chore: use core release v27.4.0

* chore: use getTopTokens runes and merge it with existing rune balance (#796)

* chore: use getTopTokens runes and merge it with existing rune balance

* chore: clean up

* fix: remove unnecessary query key

* chore: update core to v28.0.0

---------

Co-authored-by: Den <36603049+dhriaznov@users.noreply.github.com>
2024-11-29 15:10:31 +01:00
Duska.T
fa68ddc13e ENG-5792/Fixed the restore wallet flow and list rune flow (#789)
* clean up for list runes test

* chore: remove npm test from playwright ci

* removed the commented lines

* chore: add overwrite true to Upload Playwright report step in playwright.yml

* fixed test from test suite 5

* fixed test Visual Check Runes Transaction history

* Update the comment in onboarding.ts

---------

Co-authored-by: fede erbes <fedeerbes@gmail.com>
2024-11-21 15:50:20 +01:00
Duska.T
9ff5a002b2 ENG-5701/Fix for failing tests in create wallet flows (#778)
* Fix for failing tests in create wallet flows

* small clean-up of the remained commented lines of code
2024-11-15 09:37:42 +01:00
Duska.T
a02806f6c5 fixing and updating existing tests for account managament (#774)
* fixing and updating existing tests for account managament

* updated the existing test - reset account and removed the duplicate code :)

* updated the remaining test and remove duplicate code
2024-11-13 08:06:41 +01:00
Victor Kirov
dfd7262a4d Add Bitcoin Payment to the recover address type copy 2024-10-24 16:17:30 +03:00
Tim Man
982ccbd776 [ENG-5185] change sip10 tokens to default on, if seen on swaps provider lists (#613) 2024-10-11 20:28:48 +08:00
Den
d8767ff0c9 Resolve git conflicts (#668) 2024-10-09 17:19:14 +02:00
Duska.T
7e9abfcd58 Removed the old test and added a new test for the send STX flow but b… (#665)
* Removed the old test and added a new test for the send STX flow but better

* clean up code and added comments

* Update tests/specs/transactionSTX.spec.ts

Co-authored-by: Terence Ng <ngtere@live.com.sg>

---------

Co-authored-by: Terence Ng <ngtere@live.com.sg>
2024-10-08 12:02:48 +02:00
Duska.T
c861ac0b74 e2e-fix: Fixed failing test and improved locators for the sendRune flow tests (#614)
* e2e-fix: fixed two failing tests for the runes flow
2024-09-26 11:10:08 +02:00
Duska.T
a0235f7902 test-fix: added the #localexecution tag to some flaky tests on testnet, that will be reverted later (#584)
* added the #localexecution tag to some flaky test on testnet, that will be reverted later

* added #localexecution to test Cancel send rare sats testnet
2024-09-11 13:21:12 +02:00
Tim Man
e4d7ee7cdd test: make test slightly more stable by not swapping with a low amount (#579)
was hitting slippage errors
2024-09-10 13:10:18 +02:00
Duska.T
688f877fa9 Fixed a failing test in the stx flow (#574)
* Fixed a failing test in the stx flow

* removed a commented line

* improved an existing locator :)
2024-09-09 10:34:21 +02:00
Duska.T
cfa2d52dc3 Added the e2e for swap flow from sip-10 to stx and improved some assertions in a previous test (#568)
* Added the e2e for swap flow from sip-10 to stx and improved some assertions in a previous test

* Renamed the file
2024-09-09 06:41:48 +02:00
Terence Ng
960980441b track rune bundles (#551)
* initial commit

* add satribute icon

* fix sizing

* commit ui redesign

* commit final logic work

* fix up navigations

* code review updates

* update e2e

* remove duplicate await

* fix up spacing and margins

* add role

* add default export

* add accessibility

* seperate into component

* fix up e2e

* fix e2e

---------

Co-authored-by: Den <36603049+dhriaznov@users.noreply.github.com>
2024-09-07 14:46:33 +08:00
Duska.T
e40e10d220 Added the e2e test for stacks swap test on mainnet - velar (#559)
* added the first stacks swap test on mainnet - velar

* improve after review

* improved locator
2024-09-04 10:07:53 +02:00
Den
4314523ddb [ENG-5094] Remove the Reset wallet option from the Home screen three dots menu (#557)
* [ENG-5094] Remove the Reset wallet option from the Home screen three dots menu

* Update e2e tests

* Update e2e tests
2024-09-03 16:47:49 +02:00
fede erbes
a42247c4c1 fix: e2e v0.41.0 (#543)
* fix: missing send-input

* fixed selectors for update password flow

---------

Co-authored-by: DuskaT021 <aleksa2601@gmail.com>
2024-08-29 18:26:48 +02:00
Terence Ng
34da1e12a0 quick wins (#524) 2024-08-27 13:48:14 +08:00
Mahmoud Aboelenein
8a91e067f5 Merge remote-tracking branch 'origin/release/v0.40.0' into mahmoud/eng-4788-new-settings-1-ext-settings-homepage 2024-08-15 11:59:55 +03:00
Christine Pinto
914993fb74 Adjusted E2E to new settings menu structure 2024-08-15 09:51:05 +02:00
Christine Pinto
05896bac72 [ENG-4855] Add BRC20 Transaction Flow (#497)
* Rename Unlisting a rune flow

* Add Sending BRC20 token flow and adopt confirmSendTransaction function

* Reorganize tests to make structure easer to read
2024-08-14 12:10:44 +02:00
Christine Pinto
61eef5d185 Enable Sum check for BTC (#476)
Add insufficient sum check for BTC transaction
2024-08-08 18:34:03 +02:00
Christine Pinto
390a3b45a7 Adjust feePriority for swap flow 2024-08-08 10:32:21 +02:00
Christine Pinto
36594b4a97 Optimize Visual Check for Transaction Review Page
Add FeeChange to transaction flows
Add stabilisation for FeeSelection and copyAddress function
2024-08-07 17:38:20 +02:00
Christine Pinto
5321c80bdc Adjust after merge 2024-08-07 15:00:18 +02:00
Christine Pinto
b6edbdb804 adjust helper 2024-08-07 10:50:27 +02:00
Christine Pinto
3d3439bc54 Update Unisat Cancel flow 2024-08-06 15:22:28 +02:00
Christine Pinto
6aca5ba8a2 Add helper function 2024-08-06 14:50:47 +02:00
Christine Pinto
6347566b14 Merge branch 'develop' into e2etest/swaps 2024-08-06 11:21:28 +02:00
Den
5f00aab4b2 [ENG-4347] SEND BRC-20 Transaction Review Screen - New Design (#439) 2024-08-05 18:27:04 +02:00
Christine Pinto
308d116ef0 adjust localexecution 2024-08-02 10:49:20 +02:00
Christine Pinto
a7794b462c Spelling 2024-08-01 18:07:28 +02:00
Christine Pinto
014bdbb668 Adjust to new getAddress function 2024-08-01 17:54:40 +02:00
Christine Pinto
05792851ca Merge branch 'develop' into e2etest/swaps 2024-08-01 17:52:39 +02:00
Christine Pinto
ec9dfe4030 Change copyAddress to be more stable (#442)
Switch from retrieving addresses via the copy button and the clipboard to retrieving addresses via the QR code page
2024-08-01 17:48:52 +02:00
Christine Pinto
e3a3108afc Add Swapping flow and rename files 2024-08-01 17:46:31 +02:00
Christine Pinto
6cb18fee03 Add confirm exchange swap 2024-07-31 17:39:42 +02:00
Christine Pinto
b6bbf52956 spelling 2024-07-29 14:12:19 +02:00
Christine Pinto
995f7c97d5 Add ME flow 2024-07-26 15:21:21 +02:00
Christine Pinto
a5f717a0a2 code optimization 2024-07-25 19:56:28 +02:00