QA sanity routine

Setup :

  • Run in console :

localStorage.setItem('FLAG_DUMMY', true);
window.location.reload();

  • Have some HNYT (Swap here)
  • Have another token for funding a quest
  • Have another wallet account
  • Note Rinkeby celeste address here in code
  • You will need access to this gnosis
  • Revoke all allowance of HNYT with revoke.cash

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  • Connection / disconnection
    • Expect buttons are hidden (when not connected)
    • Expect buttons are shown (when connected)
  • Create a quest (from home page and with initial funds)
    • Form validation
    • Transaction flow
    • New quest should be fetched after tx completion
    • Verify info previously put in the create form
  • Fund a quest
    • Form validation
    • Transaction flow
    • New bounty should be fetched after tx completion
  • Schedule a claim with claimAll checked
    • Form validation
    • Transaction flow
    • Claim should be fetched after tx completion with timer
  • Challenge same claim with other account
    • Form validation
    • Transaction flow
    • Expect state is refreshed once modal is closed
  • Resolve challenge
    • 1 Open modal and expect rulling in progress and btn disabled
    • 2 Note the id in help tooltip
    • 3 Go to rinkeby gnosis
    • 4 New transaction with celeste address
    • 5 Select decideDispute methode
    • 6 put id in first field and 4 (ruled in favor of player)
    • 7 Go back to Quests app and refresh
    • Expect UI now show ruled in favor of Player (in modal)
    • Transaction flow
    • Expect state is refreshed once modal is closed
    • Expect quests bounty is zero (without refreshing)
  • Reclaim funds and deposit
    • Go to expired view
    • Click on a quest having the state Expired (if no one, transfer some funds of the same bounty token to an Archived Quest)
    • Expect reclaim button is shown
    • Transaction flow
    • Expect state has changed when close modal
    • Expect bounty is zero and deposit recovered