From 5a5bbc682b6e1cc39374b0f0600d27d9e569f4aa Mon Sep 17 00:00:00 2001 From: Ondrej Dockal Date: Tue, 13 Aug 2024 09:13:13 +0200 Subject: [PATCH] chore(tests): prolong the timeout for podman to start up (#8365) Signed-off-by: Ondrej Dockal --- tests/playwright/src/specs/container-smoke.spec.ts | 2 +- tests/playwright/src/utility/wait.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/playwright/src/specs/container-smoke.spec.ts b/tests/playwright/src/specs/container-smoke.spec.ts index e2f88436893..609db5a7230 100644 --- a/tests/playwright/src/specs/container-smoke.spec.ts +++ b/tests/playwright/src/specs/container-smoke.spec.ts @@ -285,7 +285,7 @@ describe('Verification of container creation workflow', async () => { await containersPage.pruneContainers(); for (const container of containerList) { await playExpect - .poll(async () => await containersPage.containerExists(container), { timeout: 15000 }) + .poll(async () => await containersPage.containerExists(container), { timeout: 30000 }) .toBeFalsy(); } }, 120000); diff --git a/tests/playwright/src/utility/wait.ts b/tests/playwright/src/utility/wait.ts index 9209e14ca1c..5c213399d50 100644 --- a/tests/playwright/src/utility/wait.ts +++ b/tests/playwright/src/utility/wait.ts @@ -121,7 +121,7 @@ export async function executeWithTimeout( }); } -export async function waitForPodmanMachineStartup(page: Page, timeoutOut = 15000): Promise { +export async function waitForPodmanMachineStartup(page: Page, timeoutOut = 30000): Promise { const dashboardPage = await new NavigationBar(page).openDashboard(); await playExpect(dashboardPage.heading).toBeVisible(); await waitUntil(async () => await dashboardPage.podmanStatusLabel.isVisible(), {