test: fixup navigationHistory flake

This commit is contained in:
John Kleinschmidt
2025-09-12 11:34:02 -04:00
parent 6aa771a358
commit fa6431c368

View File

@@ -919,7 +919,7 @@ describe('webContents module', () => {
return w.webContents.navigationHistory.restore({ index: 2, entries });
});
expect(formValue).to.equal('Hi!');
await waitUntil(() => formValue === 'Hi!');
});
it('should handle invalid base64 pageState', async () => {