Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 [QA] Update release environment #869

Merged
merged 14 commits into from
Dec 8, 2023
Merged

Conversation

thesis-valkyrie
Copy link
Collaborator

This is a pull request that upon merging will update production environment with recent stage-live changes.
The environment that will be updated:

Read more: Deployment to Production Flow

xpaczka and others added 14 commits December 7, 2023 10:38
Resolves: #696 

How to test:
1. Open Dapp 
2. Close window

On events list in PostHog service  you should find `pageleave` event:


<img width="1424" alt="Screenshot 2023-12-08 at 09 44 28"
src="https://github.com/tahowallet/dapp/assets/28560653/c2a9f175-4da3-40a3-8124-9ccf60a09525">
Resolves #845 

Changed base current time to CET timezone
Resolves #859 

## What has been done
User can now close the realm panel by clicking on the map / outside of
panel

## Testing
- [x] Open and close panel by clicking on "Close button"
- [x] Open and close panel by clicking on map
- [x] Open and close panel by clicking above it
- [x] Open and close panel by clicking below it
- [x] Clicking on panel itself does not trigger realm panel close
To get better UX for now let's change season duration to 7 weeks
so it indicates this is the last week of beta.
### What
To get better UX for now let's change season duration to 7 weeks so it
indicates this is the last week of beta.


![image](https://github.com/tahowallet/dapp/assets/20949277/7c84911b-b929-4e89-bde8-4649a4fc61f6)
This is a pull request that upon merging will update stage environments
with recent `main` changes.
The environments that will be updated:
* Stage live: https://stage-live--taho-development.netlify.app/
* Stage fork: https://stage-fork--taho-development.netlify.app/

Read more: [Deployment to Production
Flow](https://github.com/tahowallet/dapp/blob/main/docs/testing-env.md)
Copy link

netlify bot commented Dec 8, 2023

Deploy Preview for taho-development ready!

Name Link
🔨 Latest commit 1b6e64f
🔍 Latest deploy log https://app.netlify.com/sites/taho-development/deploys/657328077c98e30008366396
😎 Deploy Preview https://deploy-preview-869--taho-development.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Dec 8, 2023

Release checklist

This release checklist should be performed before release is published.

  • if something is not working please create an issue and link it here. Checkbox
    should be checked only if everything was fine
  • in case of serious issues or doubts you should ask the team first

Approve the PR when the checklist is finished ✅

Merge the PR when it is approved and we want to update the production
environment 🚀

Manual tests

*many of these tests can be combined with each other as you're testing. I suggest looking through the whole checklist first then executing tests in a way that allows you to check off multiple items at once. Some suggestions are provided.

  1. Connect to wallet that previously staked

    • you see the Portal is Open message
    • you can see the map after entering
    • you see your address connected
    • you see the name of your realm
    • you can navigate to other realms but not stake in them
    • you can stake more TAHO in that realm if you're not fully staked
    • you can unstake
  2. Connect to wallet that hasn't staked but has $TAHO

    • you see the Portal is Open message
    • you can see the map after entering
    • you see your address connected
    • you don't see a realm name beside that
    • you can explore realms and stake into one (if you staked above, you don't have to do it again. Just make sure to test stake and unstake at least once)
  3. Connect to wallet that has NO $TAHO (& no $VETAHO)

    • you see the Portal is Open message and the Join Beta button
    • Join Beta redirect works as expected
    • you can't see the map
  4. Switch connected wallet in the extension (it's easy to check these off along with the above while you're switching accounts)

    • dapp reloads and shows the portal screen
    • reloads with Connect Wallet button if you go to a wallet that's not
      connected
    • reloads with that address connected if that's a connected website for
      the address: if it's an eligible address, you see Access Granted &
      Enter the portal
    • reloads with that address connected if that's a connected website for
      the address: if it's an inelligible address, you see the Portal is Open
      message and Join Beta button
  5. Helper Tool

    • doesn't pop up automatically for users who have visited before and
      closed it
    • doesn't pop up automatically for staked users
    • does come up with the correct message when you click it (standard
      "hang in there, Nomad...")
    • does come up properly for a user connecting for the first time and
      running through onboarding
  6. Population (this is easily tested with the above when you're staking/unstaking - verify the population changes and then you've combined these tests with that)

    • shows on each realm
    • shows on the bottom bar
    • is updated appropriately if a new account stakes
  7. Challenges/

    • shows on each realm as expected
  8. Disconnect from dapp

    • click disconnect on address drop down and it disconnects and shows the
      portal screen
  9. Connect Wallet

    • with Taho and MM installed and Taho set as a default wallet - only Taho
      connection should be possible
    • with Taho and MM installed and Taho not set as a default - only Taho
      connection should be possible
    • with Taho not installed and MM installed - should show both options -
      Taho directs to the Chrome store, MM opens method connection screen and
      allows connecting
    • with Taho not installed and no other - should show both options -
      Taho directs to the Chrome store, MM opens connection window, where Desktop ->
      Install directs to the Chrome store
  10. XP

  • an account with XP to claim sees that under Claimable Rewards on the Realm modal (in pre-prod we can see this on stage-live but might be easiest to only test this when we're testing XP drops)
  • account can claim XP and sees the wallet balance of VETAHO change accordingly (requires that the account earned XP and hasn't claimed it yet so this could be hard to test on each release but when we're testing XP drops, we should do this)
  • leaderboard shows the top 10 earners in the realm - the connected account is shown at the top with their place on the board shown

Copy link
Contributor

@michalinacienciala michalinacienciala left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claiming XP not tested all the way through, just on a read-only account. But we can release without doing that tetst.
Approving.

@michalinacienciala michalinacienciala merged commit 6f27a79 into release Dec 8, 2023
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants