BackstopJS icon indicating copy to clipboard operation
BackstopJS copied to clipboard

Multiple page on a single app/url website

Open rhadronq opened this issue 2 years ago • 2 comments

Hello - I am trying to build our visual regression tests but I am currently stuck at the moment. Our web app contains 3 screens but technically is just a single app so the URL of it stays at /example. So for page 1 - it needs to click Continue page 2 - still needs to click Continue page 3 - user can submit the form.

So I am thinking how can I test these three screens if they have the same URL. I can use the clickSelector but only until the second page.

Hope someone can help. Thanks

rhadronq avatar Mar 13 '22 21:03 rhadronq

Create an onReady script to click & wait through to your various steps.

garris avatar Mar 13 '22 22:03 garris

Create an onReady script to click & wait through to your various steps.

Thanks garris! aside from CasperJs, will there be any other that I can use to navigate through various steps?

rhadronq avatar Mar 14 '22 02:03 rhadronq