Grouping pages
Opened this issue · 1 comments
mathi18 commented
Hi. I would like to group my pages files and put them into separate subdirectories of the main directory. Then in my tests I would like to call require('nightwatch-pages')(client, path) only once with the path to the main directory as an argument. Is it possible to load pages this way? When I try this approach I get errors, because pages that are in subdirectories don't have client object attached. Client object is attached only to files in main directory, not to files in subdirectories. Is there a simple workaround of this problem? Thanks in advance.