I have a problem with the Page Object Model in CodeceptJS. Well, the problem looks like this: I have already created a folder that already contains files from Page Object Model and everything is fine. But I have to add another Page Object document to this folder .Does anyone know how a Page Object can be called after creation? I’ve already tried the method npx codeceptjs gpo but it creates me in a different Object Model folder.?
Not sure I fully understood the problem, but here are my 2 cents:
"PageObject and PageFragment names are declared inside include
section of codecept.conf.js
. See
Page Objects | CodeceptJS "
Thanks, This. is it.