Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS's integration tests are flaky #981

Closed
nilsreichardt opened this issue Sep 16, 2023 · 0 comments · Fixed by #982
Closed

iOS's integration tests are flaky #981

nilsreichardt opened this issue Sep 16, 2023 · 0 comments · Fixed by #982

Comments

@nilsreichardt
Copy link
Member

flutter: ══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞════════════════════════════════════════════════════
flutter: The following TestFailure was thrown running a test:
flutter: Expected: exactly 6 matching nodes in the widget tree
flutter:   Actual: _TextFinder:<zero widgets with text "Deutsch LK" (ignoring offstage widgets)>
flutter:    Which: means none were found but some were expected
flutter:
flutter: When the exception was thrown, this was the stack:
flutter: #4      main.<anonymous closure>.<anonymous closure> (file:///Users/runner/work/sharezone-app/sharezone-app/app/integration_test/app_test.dart:109:7)
flutter: <asynchronous suspension>
flutter: #5      testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:165:15)
flutter: <asynchronous suspension>
flutter: #6      TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:9[82](https://github.com/SharezoneApp/sharezone-app/actions/runs/6201826242/job/16839335648#step:7:83):5)
flutter: <asynchronous suspension>
flutter:
flutter: This was caught by the test expectation on the following line:
flutter:   file:///Users/runner/work/sharezone-app/sharezone-app/app/integration_test/app_test.dart line 109
flutter: The test description was:
flutter:   User should be able to sign in
flutter: ════════════════════════════════════════════════════════════════════════════════════════════════════
flutter: 06:01 +1: Authentication User should be able to sign in [E]
github-merge-queue bot pushed a commit that referenced this issue Sep 17, 2023
We had several iOS integration test failures where the courses in the
timetable couldn't be found. I added a method call to wait until we
found the first course. Maybe this will improve the stability of the CI.

Closes #981
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant