0

I'm wondering if it is possible to test app's splash screen in UI Test automation.

My idea is to assert 1 UI element during splash screen presented, but sometimes it appear then disappear too fast, UI test just cannot catch it.

        // Launch the app for the first time
        startFreshApp()
        // Verify that splash screen is opened
        XCTAssert(onboardingPage.splashScreen.waitForExistence(timeout: 20))
Zhou Haibo
  • 1,681
  • 1
  • 12
  • 32

0 Answers0