mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
Fix bug in test common.js handleError method when saving a screenshot.
This commit is contained in:
parent
761f3d9d9a
commit
8b08d1ac0b
1 changed files with 1 additions and 1 deletions
|
@ -256,7 +256,7 @@ export default (function () {
|
|||
const fileName = `failure_${now}_${testName}.png`;
|
||||
|
||||
return this.saveScreenshot(fileName, true)
|
||||
.finally(function () {
|
||||
.then(function () {
|
||||
throw reason;
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue