Closed TABanniefung closed 5 years ago
Issue on the slider:
This step here Then(I: adjust(otherElementsScreen.slider, to: 1))
provided in the example fails.
The reason for the assertion failure is Element did not have the right value before timing out! Expected: 1.0, actual: 0.9971751570701599
@TABanniefung these seem like two separate issues?
Issue #23 covers the slider issue (although I can't reproduce it!)
Issue on the pickerWheel:
This step here
When(I: adjust(menuScreen.picker.wheel(0), to: "Example"))
does not work in scenario whenself.view.endEditing(true)
is implemented for the pickerWheel in the app code.The reason is that the pickerWheel is set to disappear from the screen after the user makes an adjustment on the wheel. Therefore when running the UI test, it succeeds in making the adjustment on the pickerWheel but fails on asserting the expected value that has been set.