Reinitialize redux after importing a backup
This commit is contained in:
parent
19e0eb4444
commit
abdef4847a
21 changed files with 437 additions and 264 deletions
|
@ -344,6 +344,11 @@ export class Bootstrap {
|
|||
}
|
||||
}
|
||||
|
||||
if (extraConfig?.ciBackupPath) {
|
||||
debug('waiting for backup import to complete');
|
||||
await app.waitForBackupImportComplete();
|
||||
}
|
||||
|
||||
await this.phone.waitForSync(this.desktop);
|
||||
this.phone.resetSyncState(this.desktop);
|
||||
|
||||
|
@ -512,7 +517,9 @@ export class Bootstrap {
|
|||
return;
|
||||
}
|
||||
|
||||
debug('screenshot difference', numPixels);
|
||||
debug(
|
||||
`screenshot difference for ${name}: ${numPixels}/${width * height}`
|
||||
);
|
||||
|
||||
const outDir = await this.getArtifactsDir(test?.fullTitle());
|
||||
if (outDir != null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue