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

Random failing e2etests due to reseting transaction filter - Closes #875 #876

Merged
merged 4 commits into from Jun 5, 2018

Conversation

faival
Copy link
Contributor

@faival faival commented Jun 4, 2018

What was the problem?

  • there is logic to reset a filter after component will unmount,

  • when reseting the filter a request is made,

  • this request happens when e.g. changing the address searched, therefore in this scenario what happens is:

  • search url changes A-> B

  • componentWillUnmount triggers request to load transacions of A

  • component constructor triggers load transactions request with B

  • load transactions B resolves and updates store

  • load transactions A resolves and updates store clearing results for B

How did I fix it?

  • remove reseting filter,
  • separate issue must address reseting the filter

How to test it?

Review checklist

@faival faival self-assigned this Jun 4, 2018
@faival faival added this to Issues in Version 0.8.0 via automation Jun 4, 2018
@faival faival changed the title 🐛 don't set set filter on componentWillUnmount, regriggers reques… Random failing e2etests due to reseting transaction filter - Closes #875 Jun 4, 2018
@slaweet slaweet moved this from Issues to Pull Requests in Version 0.8.0 Jun 5, 2018
Copy link
Contributor

@slaweet slaweet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job Pablo

@faival faival merged commit b9b8c44 into 0.8.0 Jun 5, 2018
Version 0.8.0 automation moved this from Pull Requests to Merged Pull Requests Jun 5, 2018
@faival faival deleted the 875-explorer-e2e-tests-are-failing branch June 5, 2018 09:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Version 0.8.0
  
Merged Pull Requests
Development

Successfully merging this pull request may close these issues.

None yet

2 participants