add cypress scaffolding

This commit is contained in:
dwelle 2020-01-03 17:01:58 +01:00 committed by Giovanni Giordano
parent 3fb6f0413e
commit 9bffa6e52c
9 changed files with 100 additions and 1 deletions

7
cypress/plugins/index.js Normal file
View file

@ -0,0 +1,7 @@
module.exports = (on, config) => {
on(`before:browser:launch`, (browser = {}, args) => {
if (browser.name === `chrome`) {
return args.concat(`--auto-open-devtools-for-tabs`);
}
});
};