defichain-wallet icon indicating copy to clipboard operation
defichain-wallet copied to clipboard

`utility` - optimize cypress command

Open kyleleow opened this issue 2 years ago • 2 comments

What would you like to be added:

  • Refactor large API response data during cy.intercept() like token, LP, vaults or auctions into fixtures, helps in maintaining, reusability and keeping e2e test files lean
  • Modify cypress send token command to assert token to reflect in the UI after API is returned, right now we are always adding arbitrary waiting time (1s - 10s) for the token to update in the UI

Why is this needed:

  • QoL improvement

kyleleow avatar Apr 20 '22 11:04 kyleleow

@kyleleow: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details

I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.

defichain-bot avatar Apr 20 '22 11:04 defichain-bot

@kyleleow: Thanks for opening an issue, an appropriate priority will be added soon.

The priority labels can be added by foundation members by writing /priority [type] in a comment.

Details

I am a bot created to help the DeFiCh developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the DeFiCh/oss-governance-bot repository.

defichain-bot avatar Apr 20 '22 11:04 defichain-bot