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

Refactor cypress tests to playwright #733

Closed
41 tasks done
mesudip opened this issue Apr 16, 2024 · 5 comments
Closed
41 tasks done

Refactor cypress tests to playwright #733

mesudip opened this issue Apr 16, 2024 · 5 comments
Assignees

Comments

@mesudip
Copy link
Contributor

mesudip commented Apr 16, 2024

Tests

1. Wallet Connect

  • 1A. Should connect wallet and choose stake-key to use
  • 1B. Should connect wallet with single stake key
  • 1C. Should disconnect Wallet When connected
  • 1D. Should check correct network (Testnet/Mainnet) on connection

2. Delegation Tests

  • 2A. Should show delegated DRepId on dashboard after delegating
  • 2B. Should access delegation to dRep page
  • 2C. Verify AdaHolder Behavior in Disconnected State
  • 2D. Verify AdaHolder Behavior in Connected State
  • 2E. Should delegate to myself
  • 2F. Should change delegated DRep
  • 2G. Should verify retire as a DRep (Moved to 3I)
  • 2H. Verify DRep behavior in Retired State (Moved to 3J)
  • 2I. Should check validity of DRep Id

3. DRep Registration

  • 3A. Should show dRepId on dashboard after connecting registered dRep Wallet
  • 3B. Should access dRep registration page
  • 3C. Should open wallet connection popup, when Register as DRep from wallet unconnected state
  • 3D. Should access DRep registration page in Wallet Connected State
  • 3E. Should reject invalid data and accept valid data
  • 3F. Should create proper DRep registration request, when registered with data
  • 3G. Should show confirmation message with link to view transaction, when DRep registration txn is submitted
  • 3H. Should be able to update metadata
  • 3I. Should verify retired as DRep
  • 3J. Verify DRep behavior in retired state

4. Proposals Visibility

  • 4A. Should access Governance Actions page with/without connecting wallet
  • 4B. Should restrict voting for users who are not registered as DReps
  • 4C. Should filter Governance Action Type on governance actions page
  • 4D. Should sort Governance Action Type on governance actions page
  • 4E. Should filter and sort Governance Action Type on governance actions page

5. Proposals Functionality

  • 5A. Should show relevant details about governance action as dRep
  • 5B. Should view "Vote" button on governance action item on registered as DRep
  • 5C. Should show required field in proposal voting on registered as DRep
  • 5D. Should validate proposal voting
  • 5E. Should re-vote with new data on a already voted governance action
  • 5F. Should show notification of casted vote after vote
  • 5G. Should show warning to the users to visit the site at their own risk, when external url is opened
  • 5H. Should open a new tab, when external URL is opened
  • 5I. Should view the vote details,when viewing governance action already voted by the DRep

6. Miscellaneous

  • 6A. Should be accessible from mobile
  • 6B. Provides error for invalid format
  • 6C. Navigation within the dApp
  • 6D. Proper label and recognition of the testnet network
@Ryun1
Copy link
Member

Ryun1 commented Apr 16, 2024

Partially blocked due to DBSync version, via this PR IntersectMBO/cardano-db-sync#1673

@Ryun1 Ryun1 moved this from To do to In progress in Govtool all Apr 30, 2024
@NabinKawan
Copy link
Contributor

It is completed. PR

@NabinKawan NabinKawan moved this from In progress to Blocked in Govtool all May 6, 2024
@NabinKawan
Copy link
Contributor

Blocked by: #937 #938 #897

@NabinKawan NabinKawan mentioned this issue May 9, 2024
10 tasks
@spannercode
Copy link
Contributor

spannercode commented May 13, 2024

The test refactoring and extension of the most test cases are complete.
However, this ticket is marked blocked because of this delegation issue:

The delegation related tests are marked pending for now.

@spannercode spannercode moved this from Blocked to In progress in Govtool all May 14, 2024
@spannercode spannercode moved this from In progress to In review in Govtool all May 20, 2024
@spannercode spannercode moved this from In review to Done in Govtool all May 28, 2024
@Ryun1
Copy link
Member

Ryun1 commented Jun 4, 2024

This ready to be closed now @spannercode ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

4 participants