[QT-304] Add enos ui scenario (#18518)

* Add enos ui scenario
* Add github action for running the UI scenario
This commit is contained in:
Mike Baum
2023-02-03 09:55:06 -05:00
committed by GitHub
parent 7f1e0216f2
commit 6b7787c86a
11 changed files with 507 additions and 4 deletions

View File

@@ -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);