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

fix: wip web tests

parent 3b5565b0
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,6 @@ if (!config.browser) {
timeout: 0
});
const page = await browser.newPage();
const fileUrl = 'file://' + config.path;
......@@ -50,7 +49,7 @@ if (!config.browser) {
console.log('Running tests...');
await page.waitForFunction('document.getElementById("mocha-done").textContent.length > 0');
await page.waitForFunction('document.getElementById("mocha-done").textContent.length > 0', { timeout: 1000 }) ;
const passes = await page.evaluate(() => document.getElementById('mocha-stats').querySelector('li.passes').textContent);
const failures = await page.evaluate(() => document.getElementById('mocha-stats').querySelector('li.failures').textContent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment