Skip to content
This repository has been archived by the owner on Feb 23, 2024. It is now read-only.

test: tx list when wallet changes #174

Merged
merged 3 commits into from
Oct 24, 2023

Conversation

matt-user
Copy link
Collaborator

closes FRO-672
closes #169

@matt-user matt-user self-assigned this Oct 23, 2023
@linear
Copy link

linear bot commented Oct 23, 2023

FRO-672 Create E2E test to tx list when fuel wallet changes

Objective:

make sure transaction list reacts well when account is changed inside fuel wallet

In order to reach this objective we want to think on scenarios that we could test to make sure UX is good and stable.

this is my suggestion, but other scenarios can be introduced:

  • When setup the test env, create 2 more accounts in the fuel wallet
  • When connect to fuel wallet, connect only account 1 and account 2
  • Keep executing all tests and transactions in account 1
  • On this way we have:
    • account 1 - connected and has transactions
    • account 2 - connected but has no transactions
    • account 3 - not connected
  • After finishing other tests (deposit, withdraw etc..), add this last test:
    • test.step("Check if transaction list reacts well to fuel wallet changes")
      • should change between accounts in the wallet and check transaction list response
        • change to account 1 should enable loading + show transactions made before
        • change to account 2 should enable loading + show empty feedback
        • change to account 3 should show "connect your wallet" (but without going to loading)

@matt-user matt-user merged commit 8491e6d into main Oct 24, 2023
5 checks passed
@matt-user matt-user deleted the matt-user/wallet-change-tx-list-test branch October 24, 2023 20:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create E2E test to tx list when fuel wallet changes
2 participants