-
Notifications
You must be signed in to change notification settings - Fork 98
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
David/1219 new delegation #1355
Conversation
Remove old E2E tests for PageBond rather than fixing them.
Codecov Report
@@ Coverage Diff @@
## develop #1355 +/- ##
========================================
Coverage 89.27% 89.27%
========================================
Files 84 84
Lines 1735 1735
Branches 96 96
========================================
Hits 1549 1549
Misses 179 179
Partials 7 7
|
@@ -16,6 +17,10 @@ const Wrapper = () => { | |||
}) | |||
} | |||
|
|||
test(`renders correctly`, () => { | |||
expect(htmlBeautify(Wrapper().html())).toMatchSnapshot() |
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.
note: wrapper.vm.$el also prints a formated dom representation
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.
Thank you, how is that helpful? Is it already beautified?
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.
Yes in a similar way.
// "Delegate steak in validator updated correctly" | ||
// ) | ||
|
||
.click(`//button/*[. = 'Stake']`) |
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.
I have the feeling an id would be better here. What do you think?
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.
Sure, that's fine. After I see your response to the comment above I can create another PR with it.
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.
Not a blocking concern for me.
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.
OK then I won't bother.
Closes #1219
Description:
Adds snapshot and E2E tests to complete the feature.