fix(backtest): keep run history available while metrics load (RP12)
This commit is contained in:
parent
32f40ee753
commit
a050c71012
4 changed files with 312 additions and 53 deletions
|
|
@ -456,7 +456,7 @@ export async function fixture(browser: Browser, native = false) {
|
|||
const response = await routes.fetch(request);
|
||||
const delay = responseDelay;
|
||||
if (delay?.path === pathname) {
|
||||
responseDelay = undefined; // Only the selected read, not run-list metric reads.
|
||||
responseDelay = undefined; // Delay only the next matching read.
|
||||
delay.captured.resolve();
|
||||
await delay.release.promise;
|
||||
delay.delivered.resolve();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue