Move playwright tests to use project references

This commit is contained in:
Daniel Imms
2024-07-07 09:06:26 -07:00
parent 215315b377
commit faed3e7c80
28 changed files with 97 additions and 62 deletions
+3 -3
View File
@@ -18,7 +18,7 @@ while (argv.some(e => e.startsWith('--suite='))) {
}
let configs = [
{ name: 'core', path: 'out-test/playwright/playwright.config.js' }
{ name: 'core', path: 'out-esbuild-test/playwright/playwright.config.js' }
];
const addons = [
'attach',
@@ -34,7 +34,7 @@ const addons = [
'webgl',
];
for (const addon of addons) {
configs.push({ name: `addon-${addon}`, path: `addons/addon-${addon}/out-test/playwright.config.js` });
configs.push({ name: `addon-${addon}`, path: `addons/addon-${addon}/out-esbuild-test/playwright.config.js` });
}
if (suiteFilter) {
@@ -61,8 +61,8 @@ async function run() {
if (run.error) {
console.error(run.error);
process.exit(run.status ?? -1);
}
process.exit(run.status ?? -1);
}
}
run();