NEAR-DevHub / neardevhub-treasury-dashboard

Frontend for Treasury Dashboard Product (includes DevHub, Infinex) + Testing front end. Note – we leverage Sputnik DAO contract.
MIT License
3 stars 0 forks source link

test infrastructure and payment request tests #40

Closed petersalomonsen closed 3 months ago

petersalomonsen commented 3 months ago

Test infrastructure setup

test: create payment request

https://github.com/user-attachments/assets/a5300a97-1369-430a-840e-d85c9ce45d4a

test: create manual payment request

https://github.com/user-attachments/assets/7d770aa9-e6f5-4927-b1b6-fb4896fdf900

test: approve payment request ( "don't ask again" enabled )

https://github.com/user-attachments/assets/a9ec8cd9-0503-4eb0-92f3-715a0a4e31b8

petersalomonsen commented 3 months ago

@Megha-Dev-19 See the "approve payment request" test video, where "Don't ask again" is enabled, but the loading spinner on the approve button does not stop. Is this missing for real, or does it only occur in the test?

petersalomonsen commented 3 months ago

@race-of-sloths include

race-of-sloths commented 3 months ago

⏸️ This repository is on pause

@petersalomonsen please reach out to the maintainer to unpause this repo with @race-of-sloths unpause command

Megha-Dev-19 commented 3 months ago

@Megha-Dev-19 See the "approve payment request" test video, where "Don't ask again" is enabled, but the loading spinner on the approve button does not stop. Is this missing for real, or does it only occur in the test?

Yeah it's specific to local gateway, I have shared the exact details on chat with you

petersalomonsen commented 3 months ago

@Megha-Dev-19 See the updated test video for approving payment requests with "don't ask again" enabled. This shows that the table is empty after the transaction is completed, and also that the approved payment request can be found under the history tab. Can you confirm if this is the correct and expected behaviour, and that we can keep the test like this?

Megha-Dev-19 commented 3 months ago

@petersalomonsen yes that’s the expected behaviour 👍, but just fyi it will move under “History” if only one vote is required (which is true for our instance)