Update run_mocha_tests_in_browser.js

This commit is contained in:
Rachel Fenichel
2020-08-10 10:37:05 -07:00
committed by GitHub
parent c341d0f2e5
commit 2624026ad6

View File

@@ -40,7 +40,7 @@ async function runMochaTestsInBrowser() {
var elem = await browser.$('#failureCount');
var text = await elem.getAttribute('tests_failed');
return text != 'unset';
}, 22000);
}, 33000);
const elem = await browser.$('#failureCount');
const numOfFailure = await elem.getAttribute('tests_failed');