108 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
fede erbes
4d199305dc fix: unhandled possibility of rune token being undefined when loading listed runes (#876)
* fix: unhandled possibility of rune token being undefined when loading listed runes

* test: remove unused : from total balance selector
2025-01-20 14:34:01 +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
Terence Ng
419b14da32 Improve token tile and btc balance breakdown tile handle large amount / many decimals (#779)
* change structure by row

* fixes

* touchup

* change structure

* fix forgot hide fiat balance
2024-11-18 14:46:15 +08: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
Den
9629d96a0f [ENG-5625] [ENG-5207] feat: Update UI for the restore wallet screen (#754)
* [ENG-5207] feat: Update UI for the restore account screen

* Update the seedphrase error copy and look

* Start uniting the password creation & confirmation

* Update the Dots component look and behavior

* Update Dots component styles

* Update the CreatePassword component

* Update the seed phrase verification error text style

* Update the wallet recovery flow UI

* Update onboarding e2e tests locators

* Make address type selector the last step, update UI

* Update some old colors

* Fix 13th word rendering on the seed verify flow
2024-11-12 10:51:15 +01:00
Den
7010949d6f [ENG-5004] [ENG-4667] [ENG-3736] [ENG-4654] [ENG-4655] Update the dashboard loader/styles (#612)
* [ENG-5004] Fix clunky loading of dashboard when logging in

* Add animation between /login and /home routes

* Update the dashboard title styles and indents

* Move styles from the CoinDashboard screen to a separate file

* Replace and remove the SmallActionButton component

* Fix dashboard indents

* Update some text style, remove some borders

* Improve the dashboard loading UI

* Stop hiding the bottombar when loading the explore screen

* Remove the old prop use

* Fix routing

* Fix routing

* Fix routing

* Add comments for some routes

* Improve the dashboard loader

* Improve the dashboard loader

* Improve the dashboard loader animation

* Update the dashboard loader animation

* Remove unused import

* Add destructurization

* Change the token tile skeleton height

* Fix e2e tests

* Add the auth guard conditions back

* Add a try-catch for runes balance fetching, shorten the timeout for the balance e2e test

* Update the error handling for hooks used on the Dashboard screen
2024-10-29 12:31:43 +01:00
Victor Kirov
dfd7262a4d Add Bitcoin Payment to the recover address type copy 2024-10-24 16:17:30 +03:00
Victor Kirov
bce056babb Fix some e2e tests 2024-10-24 15:33:41 +03:00
Terence Ng
f275b4050e Terence/fix pw screen (#676)
* remove duplicate

* remove error message

* remove unnecessary props

* fix boolean logic

* remove e2e logic check

* restore message (opps)

* fixup button jumping

* Update src/app/components/passwordInput/index.styled.ts

Co-authored-by: Den <36603049+dhriaznov@users.noreply.github.com>

* remove

---------

Co-authored-by: Den <36603049+dhriaznov@users.noreply.github.com>
2024-10-16 14:43:52 +02: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
Den
aba9ec090b [ENG-4652] Add keyboard navigation throughout the app (#532)
* [ENG-4651] fix: Difficult to differentiate selected vs not selected accounts

* Fix the html props for styling

* Add a separate Props type

* [ENG-4652] Add keyboard navigation throughout the app

* Add elements focus for keyboard on full screen

* Move tabs component to ui-library, use it on the Collectibles screen

* Refactor the SquareButton component

* Update the ordinal detail screen action buttons

* Refactor the resetWallet component

* Refactor tabBar component to improve accessibility

* Improve the scrollbar indent on the Home screen

* Improve accessibility for the fee Edit button

* Make Home screen banner clickable via keyboard

* Improve accessibility on the Swap flow

* Update the Save button on the ChangeNetworkScreen

* Update the Modal component on the ReceiveNftModal screen

* Make Sheet component accessible via keyboard

* Make input clear button accessible via keyboard

* Add accessibility for the AlertMessage component

* Improve the Forgot password flow accessibility

* Fix caret icon color in the header

* Remove the unused styles

* Improve the ledger account import flow accessibility

* Fix value submit on Enter when other buttons are in focus

* Add Toggle component to ui-library, replace and remove react-switch package, update e2e

* Update the toggle and settings buttons

* Fix the converted value overflow in the amount inputs

* Update e2e tests
2024-09-04 11:19:28 +02: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
0588fee5cd Add timeouts in e2e before changing network to avoid rate limiting (#558) 2024-09-03 17:28:17 +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
Den
e3005eb88f [ENG-4848] fix: Navbar UI glitch on the Update Password screen (#516)
* [ENG-4848] fix: Navbar UI glitch on the Update Password screen

* Update the UI of the Update password screen

* Change the password error message element role

* Change the error element role in e2e

---------

Co-authored-by: Terence Ng <ngtere@live.com.sg>
2024-08-29 12:23:00 +02:00
Eduard Bardají Puig
ec0036e91f Merge pull request #523 from secretkeylabs/release/v0.40.1
release: v0.40.1 to develop
2024-08-28 10:06:41 +02:00
Eduard Bardají Puig
407a9f031d Use synchronous listener registration 2024-08-27 15:49:23 +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
fede erbes
85a0b1723b fix: locator name for inputs and outputs button (#487) 2024-08-13 13:06:45 +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
5f30c79239 Add TODO for BTC sum check 2024-08-07 17:58:11 +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