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

David/1219 new delegation #1355

Merged
merged 4 commits into from
Sep 25, 2018
Merged

David/1219 new delegation #1355

merged 4 commits into from
Sep 25, 2018

Conversation

NodeGuy
Copy link
Contributor

@NodeGuy NodeGuy commented Sep 25, 2018

Closes #1219

Description:

Adds snapshot and E2E tests to complete the feature.

David Braun added 3 commits September 24, 2018 13:59
@codecov
Copy link

codecov bot commented Sep 25, 2018

Codecov Report

Merging #1355 into develop will not change coverage.
The diff coverage is n/a.

@@           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
Impacted Files Coverage Δ
app/src/renderer/components/staking/ModalStake.vue 100% <ø> (ø) ⬆️
...pp/src/renderer/components/staking/PageStaking.vue 100% <ø> (ø) ⬆️

@@ -16,6 +17,10 @@ const Wrapper = () => {
})
}

test(`renders correctly`, () => {
expect(htmlBeautify(Wrapper().html())).toMatchSnapshot()
Copy link
Collaborator

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

Copy link
Contributor Author

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?

Copy link
Collaborator

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']`)
Copy link
Collaborator

@faboweb faboweb Sep 25, 2018

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?

Copy link
Contributor Author

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.

Copy link
Collaborator

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.

Copy link
Contributor Author

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.

@faboweb faboweb merged commit 5b1e945 into develop Sep 25, 2018
@faboweb faboweb deleted the david/1219-new-delegation branch September 25, 2018 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants