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

Fix routing for 'Back' button on the 'user-b/no-share' page #393

Open
Svenstar74 opened this issue Dec 12, 2022 · 0 comments
Open

Fix routing for 'Back' button on the 'user-b/no-share' page #393

Svenstar74 opened this issue Dec 12, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@Svenstar74
Copy link
Collaborator

Describe the bug

The 'Back' button on the /user-b/no-share page won't bring you back to the right page.

To Reproduce

Steps to reproduce the issue:

  • You start the userB's journey (enter a name, copy the link, paste it into a new tab)
  • You press the button 'Next: How does ClimateMind work?'
  • You press the button 'No Thanks'
  • You press the button 'Back'
  • The page you see now is the wrong page

Expected behavior

Instead of the page you see in the current state, it should just bring you back to the previous 'How does Cm works' page.

Task

The page with the 'Back' button is being used twice. So if you change the functionality that it works and brings you back to the 'How does Cm work?' page, you should test the second use case as well. This second use case happens at the end of the userB journey, where there's another button 'Not now'.
Bonus points if you add cypress tests, so that we will know in the future when things stop working.

@Svenstar74 Svenstar74 added the bug Something isn't working label Dec 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant