before() in wdio.conf.js is not executing the spec file which I would like to execute before all other spec files.
code snippet:
wdio.conf.js
before (capabilities, {'./specs/login.spec.js' : login, './specs/socialstudies.spec.js': social}) {
require('babel-register');
},
Please let me know if this is not the right format.
Thanks,
Hemalatha Udattu