Integration Tests ALWAYS Pass Locally But Fail In CodeMagic #2829
Replies: 3 comments 5 replies
-
How do we set a specific simulator/iOS for flutter integration tests or driver? Even the example from codemagic docs doesn't work.
RESULTS:
Thank you! :) |
Beta Was this translation helpful? Give feedback.
-
Per the issue with the integration test failing only on Codemagic, please can you try running the exact command you have in codemagic locally as well? |
Beta Was this translation helpful? Give feedback.
-
Hello @danielccdk, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
If you are looking for help, please confirm the following...
Which mobile framework are you using?
Flutter (Dart)
Steps to reproduce
The codemagic.yaml script:
flutter emulators --launch apple_ios_simulator
Expected results
All integration tests (~35) pass locally.
The most basic of tests are failing in codemagic..
Actual results
I commented out all of the tests except one.
I get..
The test description was: New appraisal is instantly included in appraisals list view
flutter:
The API failure works everytime locally, also.
I'm not sure if the UI is sticking because the API fails in codemagic?
(Is there something additional I need to do in order to get that API to work in a codemagic env?)
Additionally I have HAD issues with the permission handler getting dismissed in the past but.. even if it doesn't get dismissed, all tests still pass locally. I'm a bit at a loss currently.
Thank you so much!!
Build id (optional)
67363455833f3c00c0e8b7a2
Beta Was this translation helpful? Give feedback.
All reactions