I was thinking about a structure to avoid too large files. In case i have soo much scenarios…
I reach to something like this:
├─output
├─codeceptjs.config.js
├─features
├─login
├─login-feature.js
├─Scenarios
├─invalid-logins.js
├─valid-login.js
The idea is to login-feature just a file that calls the scenarios:
Feature('Login tests');
require('./scenarios/valid-login')
require('./scenarios/invalid-login')
Any toughts about it?