SuffolkLITLab / ALKiln

Integrated automated end-to-end testing with docassemble, puppeteer, and cucumber.
https://assemblyline.suffolklitlab.org/docs/alkiln/intro
MIT License
14 stars 4 forks source link

Allow authors to go to completely arbitrary urls #854

Closed plocket closed 6 months ago

plocket commented 6 months ago

Our current recommendation to go to a completely arbitrary url is to use the "I start the interview at" Step. Unfortunately, it checks that the page is a da interview page. Some authors have change their pages to customize them and they don't contain things like .daquestion (#daquestion?) that we use to check that it's a da page. For example, the log in page at https://dev.pleadingpower.com/user/sign-in.

We could look for other docassemble elements, but it feels like it's just pushing off the inevitable. Tests won't be able to do very much on those pages if they don't use some da conventions, like the kinds of input field DOM structures we're expecting, but they can do some things, like check for phrases.

plocket commented 6 months ago

PR merged