Improved error message on browser test fail #2
This commit is contained in:
parent
d2334858ce
commit
bfd8f66a89
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ async function runBrowserTest() {
|
|||
await browser.close();
|
||||
if (!pageTitle.includes('GitHub'))
|
||||
{
|
||||
console.log('[BROWSER TEST] FAIL (Page title does not include "GitHub"');
|
||||
console.log('[BROWSER TEST] FAIL: Page title does not include "GitHub"');
|
||||
process.exit(44);
|
||||
}
|
||||
console.log('[BROWSER TEST] PASS');
|
||||
|
|
Loading…
Reference in a new issue