-
Notifications
You must be signed in to change notification settings - Fork 10
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
Rebrand staking page #474
Rebrand staking page #474
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks promising, but couple of things should be addressed
src/pages/dashboard/pending-unstake-panel/pending-unstake-panel.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nothing to address from my side 👍
2d179ab
to
dd9d98e
Compare
cypress/e2e/delegation.cy.ts
Outdated
@@ -5,7 +5,7 @@ describe('delegation', () => { | |||
cy.resetBlockchain().login(); | |||
|
|||
// Approve, deposit and stake | |||
cy.findByText('+ Deposit').click(); | |||
cy.dataCy('staking-cards').findByRole('button', { name: 'Deposit' }).click(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lets rather use the built in data-testid="..."
and cy.findByTestId(...)
for all of these cy.dataCy()
usages that you've added.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Replaced both dataCy
and findByRole
with findByTestId
.
If you meant to replace only dataCy
with findByTestId
, I'll quickly adjust.
Closes #456
Designs
What does this do?
What is this not doing?
Screenshots
Pending unstaking
Main view