In my "conf.js" test suites are arranged as follows(using saucelab's webdriver):
suites: {
abc: './abc/spec.js',
xyz: './xyz/spec.js',
pqr: './pqr/spec.js'
},
The problem with above arrangement is if one of the alert box/window unexpectedly appears in one of the test suite,test suites after that particular suite suffer and start failing.
Is there an in-built way in protractor to close all windows/alert box etc. when a test suite is finished or it can only be handled manually?
Aucun commentaire:
Enregistrer un commentaire