Polishing e2e test API. Added option to parse links and extract parameters from them. Added option to construct parameterizedlinks in "navigate".
This commit is contained in:
parent
328034bae0
commit
ccd37ac792
12 changed files with 308 additions and 147 deletions
|
@ -1,13 +1,11 @@
|
|||
'use strict';
|
||||
|
||||
require('./helpers/exit-unless-test');
|
||||
const mocha = require('./helpers/mocha-e2e').mocha;
|
||||
const { mocha, driver } = require('./helpers/mocha-e2e');
|
||||
const path = require('path');
|
||||
|
||||
global.USE_SHARED_DRIVER = true;
|
||||
|
||||
const driver = require('./helpers/driver');
|
||||
|
||||
const only = 'only';
|
||||
const skip = 'skip';
|
||||
|
||||
|
@ -29,6 +27,5 @@ for (const testSpec of tests) {
|
|||
}
|
||||
|
||||
mocha.run(failures => {
|
||||
driver.originalQuit();
|
||||
process.exit(failures); // exit with non-zero status if there were failures
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue