-
Notifications
You must be signed in to change notification settings - Fork 45
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
Only show Delegations and Debonding tabs in Stake view #1985
Conversation
Deployed to Cloudflare Pages
|
</a> | ||
<a | ||
class="c2" | ||
href="/account/undefined/active-delegations" |
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.
Can we add data-testid to elements that were root previously in all views that now use StakeSubnav?
In tests we could switch from (component.baseElement).toMatchSnapshot()
to expect(screen.getByTestId('WHATEVER')).toMatchSnapshot()
. I just don't see a value in extra 1k lines of duplicated snapshots here.
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.
+1
0fb642e
to
41b9b82
Compare
41b9b82
to
c714913
Compare
Supersedes #1946
Fixes part of #276