Handle promise in smoke test.
This commit is contained in:
parent
d6b22e6cc1
commit
47585202cb
|
@ -230,7 +230,9 @@ const path = require('path');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
await browser.close();
|
await exec("close browser", () => {
|
||||||
|
return browser.close();
|
||||||
|
});
|
||||||
|
|
||||||
console.log("ALL PASSED");
|
console.log("ALL PASSED");
|
||||||
})();
|
})();
|
||||||
|
|
Loading…
Reference in New Issue