Skip to content
Snippets Groups Projects
Verified Commit f6d4128d authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: wip web tests

parent cd6f8a80
No related branches found
No related tags found
No related merge requests found
......@@ -91,7 +91,8 @@ if (!config.browser) {
await page.screenshot({ path: 'screenshot.png' });
await browser.close();
if (error.length > 0 || failures > 0) {
const failuresAsInt = parseInt(failures);
if (error.length > 0 || failuresAsInt > 0) {
console.error('Tests failed: ', error);
process.exit(1);
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment