Skip to content

← All questions

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

Asked 9,640 views2 answers

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?

asked by Marijn Kuiper18,840 ·

2 answers

Have the same question?

Ask it with the command you ran and the output you got, and it will be answered here.

Ask a question

Related