Closed molenick closed 11 months ago
Fascinating.
So, what's happening here is that QuickConfiguration.configure
does not get called when you do not have any QuickSpec or AsyncSpecs.
I filed https://github.com/Quick/Quick/issues/1242 to better capture that, and get that fixed in a future version of Quick.
In the meantime, I'd suggest using the setupWithError
class method on XCTestCase to configure Nimble's pollingDefaults.
I'm closing this because it's an issue with Quick, not Nimble.
Awesome, thank you so much! I'll try moving the polling config there. Have a good one! :)
What did you do?
Installed via, pod and added an XCUITest:
StartScreen has a button that leads to an action that times out if it doesn't complete in 10 seconds. I'm trying to assert that the error screen is displayed after 10 seconds.
What did you expect to happen?
The test to wait 30 seconds before failing or pass.
What actually happened instead?
The test failed on this line after about 5 seconds:
expect(app.staticTexts["ErrorScreen"].exists).toEventually(equal(true))
Environment
Xcode Default
.)pod --version
in Terminal)