Skip to content

← All questions

Where is a page object supposed to live? Mine is never picked up

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.

I put my page object in projects/demo-shop/support/pages/LoginPage.ts because that is how our old framework was laid out. It compiles, the decorators are on the methods, and the class is exported. Every scenario that uses it still fails as an undefined step.

bash
sdods lint -p demo-shop

Is there a fixed folder for this, or a config key that tells the runner where to look?

2 answers

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