mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-24 17:03:47 +01:00
Co-authored-by: Alcaraz, Bruno <Bruno.Alcaraz@ulgroup.com>
This commit is contained in:
parent
073c1aae12
commit
c99da3a581
@ -352,6 +352,10 @@ const runSingleRequest = async function (
|
|||||||
scriptingConfig
|
scriptingConfig
|
||||||
);
|
);
|
||||||
testResults = get(result, 'results', []);
|
testResults = get(result, 'results', []);
|
||||||
|
|
||||||
|
if (result?.nextRequestName !== undefined) {
|
||||||
|
nextRequestName = result.nextRequestName;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (testResults?.length) {
|
if (testResults?.length) {
|
||||||
|
@ -1047,6 +1047,10 @@ const registerNetworkIpc = (mainWindow) => {
|
|||||||
scriptingConfig
|
scriptingConfig
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (testResults?.nextRequestName !== undefined) {
|
||||||
|
nextRequestName = testResults.nextRequestName;
|
||||||
|
}
|
||||||
|
|
||||||
mainWindow.webContents.send('main:run-folder-event', {
|
mainWindow.webContents.send('main:run-folder-event', {
|
||||||
type: 'test-results',
|
type: 'test-results',
|
||||||
testResults: testResults.results,
|
testResults: testResults.results,
|
||||||
|
@ -76,7 +76,8 @@ class TestRuntime {
|
|||||||
request,
|
request,
|
||||||
envVariables,
|
envVariables,
|
||||||
runtimeVariables,
|
runtimeVariables,
|
||||||
results: __brunoTestResults.getResults()
|
results: __brunoTestResults.getResults(),
|
||||||
|
nextRequestName: bru.nextRequest
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -147,7 +148,8 @@ class TestRuntime {
|
|||||||
request,
|
request,
|
||||||
envVariables: cleanJson(envVariables),
|
envVariables: cleanJson(envVariables),
|
||||||
runtimeVariables: cleanJson(runtimeVariables),
|
runtimeVariables: cleanJson(runtimeVariables),
|
||||||
results: cleanJson(__brunoTestResults.getResults())
|
results: cleanJson(__brunoTestResults.getResults()),
|
||||||
|
nextRequestName: bru.nextRequest
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user