Hi, I am trying to minimize and reopen the app but keeps getting
[FlutterDriver@8fec] Encountered internal error running command: Error: No matched log found with 3000 ms interval up to 10 times.
My flow is:
- Context switch to 'NATIVE_APP':
await driver.switchContext("NATIVE_APP")
- Send the app to background by pressing the home button
driver.pressKeyCode(3) or use the background api await driver.execute('mobile: backgroundApp') and this works.
- Wait for 3000 msec and then trying to activate the app
await driver.execute('mobile: activateApp', {'appId': currentpackage}), the app do returns to foreground but it then waits for some log and do 10 retrying.
- Eventually it just fails.
Can you help?
Best Regards,
Moti.
Hi, I am trying to minimize and reopen the app but keeps getting
[FlutterDriver@8fec] Encountered internal error running command: Error: No matched log found with 3000 ms interval up to 10 times.My flow is:
await driver.switchContext("NATIVE_APP")driver.pressKeyCode(3)or use the background apiawait driver.execute('mobile: backgroundApp')and this works.await driver.execute('mobile: activateApp', {'appId': currentpackage}), the app do returns to foreground but it then waits for some log and do 10 retrying.Can you help?
Best Regards,
Moti.