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

fix: wip web tests

parent bf086f0e
No related branches found
No related tags found
No related merge requests found
...@@ -49,7 +49,9 @@ if (!config.browser) { ...@@ -49,7 +49,9 @@ if (!config.browser) {
console.log('Running tests...'); console.log('Running tests...');
await page.waitForFunction('document.getElementById("mocha-done").textContent.length > 0', { timeout: 1000 }) ; await page.waitForFunction('document.getElementById("mocha-done").textContent.length > 0',
{ timeout: 100000 }
) ;
const passes = await page.evaluate(() => document.getElementById('mocha-stats').querySelector('li.passes').textContent); 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); 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