Skip to content

← All questions

One page object for a five-step wizard, or five? The URL never changes

Example threads. These questions and answers were written by the SDODS team to document real problems and how to fix them. The people named are illustrative, not real users. Questions asked on this site are marked new.

Onboarding wizard, five panels, and the URL stays /onboarding the whole way through — the panel is swapped client-side and there is no route to address for steps two to five.

Two shapes I can see. One class with methods per panel, which gets long and where half the locators are invalid at any given moment. Or five classes, four of which have no route and cannot implement a meaningful open(), so a scenario that starts at panel four has to walk through the first three anyway.

Is there a third option I am not seeing, and does goto have anything to say about a surface that is not addressable?

No answers yet

Know the answer?

Wrap commands and output in triple backticks and they will render as a code block.

Checking whether you’re signed in…

Have a different question? Ask it.

Related