From c7619983e1ed103024a3ecd4d9df5b0689df3404 Mon Sep 17 00:00:00 2001 From: Phil Rzewski Date: Thu, 18 Jan 2024 13:02:47 -0800 Subject: [PATCH] macOS pcaps can sometimes take forever --- packages/zui-player/helpers/test-app.ts | 2 +- packages/zui-player/tests/packets.spec.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/zui-player/helpers/test-app.ts b/packages/zui-player/helpers/test-app.ts index 88380483b6..e0962ae95e 100644 --- a/packages/zui-player/helpers/test-app.ts +++ b/packages/zui-player/helpers/test-app.ts @@ -173,7 +173,7 @@ export default class TestApp { } async attached(role: Role | RegExp, name?: string, timeout?: number) { - return this.locate(role, name).waitFor({ timeout: 60000 }); + return this.locate(role, name).waitFor({ timeout: 300000 }); } async detached(role: Role | RegExp, name?: string) { diff --git a/packages/zui-player/tests/packets.spec.ts b/packages/zui-player/tests/packets.spec.ts index 378674d95e..1a78311d82 100644 --- a/packages/zui-player/tests/packets.spec.ts +++ b/packages/zui-player/tests/packets.spec.ts @@ -3,7 +3,7 @@ import { getPath } from 'zui-test-data'; play('packets.spec', (app, test) => { test('dropping a pcap does not pop up preview and load', async () => { - test.setTimeout(60000); + test.setTimeout(300000); await app.dropFile(getPath('sample.pcap')); const startTime = new Date().getTime(); await app.attached(/Successfully loaded into sample.pcap/); @@ -21,7 +21,7 @@ play('packets.spec', (app, test) => { }); //test('loading a bad pcap displays an error message', async () => { - // test.setTimeout(60000); + // test.setTimeout(300000); // await app.dropFile(getPath('bad.pcapng')); // await app.attached(/Unable to generate full summary logs from PCAP/); //});