Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Enhancements in routing #499

Closed
reyraa opened this issue Jul 19, 2017 · 0 comments · Fixed by #509
Closed

Enhancements in routing #499

reyraa opened this issue Jul 19, 2017 · 0 comments · Fixed by #509

Comments

@reyraa
Copy link
Contributor

reyraa commented Jul 19, 2017

Expected behaviour

  • After logging in, clicking back button should not #navigate to login page.
  • Reloading should sign out the user and redirect to login page
  • Fix unit tests.

Actual behaviour

  • Currently clicking on back button navigates to login page, even if already logged in.
  • reloading breaks the app ( if using # in route structure helps fixing this, it's fine)
  • We've skipped existing route tests since navigating directly to those routes is not possible. we need to navigate to Login, and call onLoginSubmission with proper inputs, or find an approach to store active peer and account info on the store.

Steps to reproduce

Run e2e tests for the skipped test in src/components/app.js

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants