Skip to content

← All questions

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

Asked 61 views0 answers

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?

asked by Zeynep Arslan64 ·

No answers yet

Know the answer?

Reviewed before it appears. Wrap commands and output in triple backticks and they will render as a code block.

Have a different question? Ask it.

Related