Scaffold: Fix tests losing defer: true on update
This commit is contained in:
parent
7944253bed
commit
0e251b4975
1 changed files with 5 additions and 0 deletions
|
@ -2076,8 +2076,13 @@ var Scaffold = new function () {
|
|||
translate.setHandler("debug", _debug);
|
||||
translate.setHandler("error", _error);
|
||||
translate.setHandler("newTestDetectionFailed", _confirmCreateExpectedFailTest);
|
||||
|
||||
let newTest = await translate.newTest();
|
||||
newTest = _sanitizeItemsInTest(newTest);
|
||||
if (test.defer) {
|
||||
newTest.defer = true;
|
||||
}
|
||||
|
||||
this.newTests.push(newTest);
|
||||
this.testDoneCallback(newTest);
|
||||
this._updateTests();
|
||||
|
|
Loading…
Reference in a new issue