I'm using flutter to develop apps. Now stuck on the test cases,
I referred flutter driver for testing and it is working fine for simple UIs and flows.
I want to go through the login part, and I have an OTP verification section there, how do I pass this screen because I have to enter the pin that will receive at the verification time.
When I tried to check the native functions like toast (I'm using one library: FlutterToast) it is not catching the UI change. I tried with text catch
await driver.waitFor(find.text('Invalid credentials.'));
referred links: