feat: Add test:e2e:dev:v2 cypress package command (no-changelog) (#12108)

This commit is contained in:
Alex Grozav
2024-12-09 16:55:00 +02:00
committed by GitHub
parent fa572bbca4
commit 5fc3bf631d
2 changed files with 12 additions and 0 deletions

View File

@@ -57,6 +57,17 @@ switch (scenario) {
},
});
break;
case 'dev:v2':
runTests({
startCommand: 'develop',
url: 'http://localhost:8080/favicon.ico',
testCommand: 'cypress open',
customEnv: {
CYPRESS_NODE_VIEW_VERSION: 2,
CYPRESS_BASE_URL: 'http://localhost:8080',
},
});
break;
case 'all':
const specSuiteFilter = process.argv[3];
const specParam = specSuiteFilter ? ` --spec **/*${specSuiteFilter}*` : '';