From ccb36274229a8c00965c976472188a166c16cb99 Mon Sep 17 00:00:00 2001 From: Dominik Kapusta Date: Wed, 21 Feb 2024 02:28:06 +0100 Subject: [PATCH] Fix skipping onboarding --- SyncE2EUITests/CriticalPathsTests.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/SyncE2EUITests/CriticalPathsTests.swift b/SyncE2EUITests/CriticalPathsTests.swift index 530d9ccc40..8c3bbdfbd8 100644 --- a/SyncE2EUITests/CriticalPathsTests.swift +++ b/SyncE2EUITests/CriticalPathsTests.swift @@ -35,6 +35,7 @@ final class CriticalPathsTests: XCTestCase { private func skipOnboardingIfNeeded() { let welcomeWindow = app.windows["Welcome"] + _ = welcomeWindow.waitForExistence(timeout: 3) if welcomeWindow.exists { let getStartedButton = welcomeWindow.buttons["Get Started"] _ = getStartedButton.waitForExistence(timeout: 5)