mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-02 11:38:02 +00:00
[QT-304] Add enos ui scenario (#18518)
* Add enos ui scenario * Add github action for running the UI scenario
This commit is contained in:
@@ -45,9 +45,8 @@ const testHelper = require('./test-helper');
|
||||
try {
|
||||
const testArgs = ['test', '-c', 'testem.enos.js'];
|
||||
|
||||
if (process.env.TEST_FILTERS) {
|
||||
const filters = JSON.parse(process.env.TEST_FILTERS).map((filter) => '-f=' + filter);
|
||||
testArgs.push(...filters);
|
||||
if (process.env.TEST_FILTER && process.env.TEST_FILTER.length > 0) {
|
||||
testArgs.push('-f=' + process.env.TEST_FILTER);
|
||||
}
|
||||
|
||||
await testHelper.run('ember', [...testArgs, ...process.argv.slice(2)], false);
|
||||
|
||||
Reference in New Issue
Block a user