Polish approved 1.0 scope and verify portable previews
This commit is contained in:
1 parent
1819f35f91
commit
2b45df2816
181 files changed
+996
-139
No files matched your search
@@ -46,6 +46,7 @@ try {
|
||||
});
|
||||
});
|
||||
const env = { ...process.env, BASE_URL: base };
|
||||
const failures = [];
|
||||
for (const name of [
|
||||
"browser",
|
||||
"dock",
|
||||
@@ -60,12 +61,28 @@ try {
|
||||
"package",
|
||||
"system-pages",
|
||||
"panel-navigation",
|
||||
"mobile-dock",
|
||||
"content-workspaces",
|
||||
"export",
|
||||
"skill",
|
||||
]) {
|
||||
if (
|
||||
process.env.QA_CHECKS &&
|
||||
!process.env.QA_CHECKS.split(",").includes(name)
|
||||
)
|
||||
continue;
|
||||
console.log(`\nChecking ${name}`);
|
||||
await run(`tests/${name}.mjs`, env);
|
||||
try {
|
||||
await run(`tests/${name}.mjs`, env);
|
||||
} catch (error) {
|
||||
failures.push(error.message);
|
||||
console.error(error.message);
|
||||
}
|
||||
}
|
||||
if (failures.length)
|
||||
throw Error(`Final verification failures:\n${failures.join("\n")}`);
|
||||
console.log(
|
||||
"Release checks passed. Browser coverage follows PLAYWRIGHT_EXECUTABLE_PATH; this does not certify other engines.",
|
||||
"Final checks passed; no release was published. Browser coverage follows PLAYWRIGHT_EXECUTABLE_PATH; this does not certify other engines.",
|
||||
);
|
||||
} finally {
|
||||
server.kill();
|
||||
|
||||
Reference in new issue
Block a user