From 0ed524baba7449c38d6732d7dd502a0648f3d825 Mon Sep 17 00:00:00 2001 From: "Simon L." Date: Thu, 20 Mar 2025 13:13:09 +0100 Subject: [PATCH] modify two details in initial-setup test Signed-off-by: Simon L. --- php/tests/tests/initial-setup.spec.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/php/tests/tests/initial-setup.spec.js b/php/tests/tests/initial-setup.spec.js index 6e990767..ca8bc077 100644 --- a/php/tests/tests/initial-setup.spec.js +++ b/php/tests/tests/initial-setup.spec.js @@ -60,7 +60,8 @@ test('Initial setup', async ({ page: setupPage }) => { // Start containers and wait for starting message await containersPage.getByRole('button', { name: 'Download and start containers' }).click(); - await expect(containersPage.getByRole('link', { name: 'Open your Nextcloud ↗' })).toBeVisible({ timeout: 5 * 60 * 1000 }); + await expect(containersPage.getByRole('main')).toContainText('Containers are currently starting.', { timeout: 3 * 60 * 1000 }); + await expect(containersPage.getByRole('link', { name: 'Open your Nextcloud ↗' })).toBeVisible({ timeout: 2 * 60 * 1000 }); await expect(containersPage.getByRole('link', { name: 'Open your Nextcloud ↗' })).toHaveAttribute('href', 'https://example.com'); // Extract initial nextcloud password