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

Improve status displayed on camera stream #201

Open
wants to merge 11 commits into
base: main
Choose a base branch
from

Conversation

Gold872
Copy link
Owner

@Gold872 Gold872 commented Jan 20, 2025

  • Display error message (no stack trace) if exception is thrown
  • Display whether or not it's waiting for an image to be sent

Should help with troubleshooting camera streams that won't display

Copy link

codecov bot commented Jan 20, 2025

❌ 3 Tests Failed:

Tests completed Failed Passed Skipped
286 3 283 0
View the top 3 failed tests by shortest run time
.home.runner.work.elastic_dashboard.elastic_dashboard.test.pages.dashboard_page [Window Manipulation]: Closing window (All changes saved)
Stack Traces | 600s run time
Error #1: 'package:flutter_test/src/binding.dart': Failed assertion: line 985 pos 14: '_pendingExceptionDetails != null': A test overrode FlutterError.onError but either failed to return it to its original state, or had unexpected additional errors that it could not handle. Typically, this is caused by using expect() before restoring FlutterError.onError.

Stacktrace:
dart:core                                           _AssertionError._throwNew
package:flutter_test/src/binding.dart 985:14        TestWidgetsFlutterBinding._runTest.handleUncaughtError
package:flutter_test/src/binding.dart 990:9         TestWidgetsFlutterBinding._runTest.<fn>
===== asynchronous gap ===========================
dart:async                                          _CustomZone.registerBinaryCallback
package:flutter_test/src/binding.dart 1006:5        TestWidgetsFlutterBinding._runTestBody
dart:async                                          _CustomZone.runBinary
package:flutter_test/src/binding.dart 995:14        TestWidgetsFlutterBinding._runTest
package:flutter_test/src/binding.dart 1475:24       AutomatedTestWidgetsFlutterBinding.runTest.<fn>
package:fake_async/fake_async.dart 182:54           FakeAsync.run.<fn>.<fn>
dart:async                                          runZoned
package:clock/src/default.dart 52:10                withClock
package:fake_async/fake_async.dart 182:22           FakeAsync.run.<fn>
dart:async                                          runZoned
package:fake_async/fake_async.dart 182:7            FakeAsync.run
package:flutter_test/src/binding.dart 1472:15       AutomatedTestWidgetsFlutterBinding.runTest
package:flutter_test/src/widget_tester.dart 175:24  testWidgets.<fn>
\n\n\nError #2: TimeoutException after 0:10:00.000000: Test timed out after 10 minutes.

Stacktrace:
dart:isolate  _RawReceivePort._handleMessage
.home.runner.work.elastic_dashboard.elastic_dashboard.test.pages.dashboard_page [Loading and Saving]: Save layout (shortcut)
Stack Traces | 600s run time
Error #1: 'package:flutter_test/src/binding.dart': Failed assertion: line 985 pos 14: '_pendingExceptionDetails != null': A test overrode FlutterError.onError but either failed to return it to its original state, or had unexpected additional errors that it could not handle. Typically, this is caused by using expect() before restoring FlutterError.onError.

Stacktrace:
dart:core                                           _AssertionError._throwNew
package:flutter_test/src/binding.dart 985:14        TestWidgetsFlutterBinding._runTest.handleUncaughtError
package:flutter_test/src/binding.dart 990:9         TestWidgetsFlutterBinding._runTest.<fn>
===== asynchronous gap ===========================
dart:async                                          _CustomZone.registerBinaryCallback
package:flutter_test/src/binding.dart 1006:5        TestWidgetsFlutterBinding._runTestBody
dart:async                                          _CustomZone.runBinary
package:flutter_test/src/binding.dart 995:14        TestWidgetsFlutterBinding._runTest
package:flutter_test/src/binding.dart 1475:24       AutomatedTestWidgetsFlutterBinding.runTest.<fn>
package:fake_async/fake_async.dart 182:54           FakeAsync.run.<fn>.<fn>
dart:async                                          runZoned
package:clock/src/default.dart 52:10                withClock
package:fake_async/fake_async.dart 182:22           FakeAsync.run.<fn>
dart:async                                          runZoned
package:fake_async/fake_async.dart 182:7            FakeAsync.run
package:flutter_test/src/binding.dart 1472:15       AutomatedTestWidgetsFlutterBinding.runTest
package:flutter_test/src/widget_tester.dart 175:24  testWidgets.<fn>
\n\n\nError #2: TimeoutException after 0:10:00.000000: Test timed out after 10 minutes.

Stacktrace:
dart:isolate  _RawReceivePort._handleMessage
.home.runner.work.elastic_dashboard.elastic_dashboard.test.pages.dashboard_page [Loading and Saving]: Save layout (button)
Stack Traces | 600s run time
Error #1: 'package:flutter_test/src/binding.dart': Failed assertion: line 985 pos 14: '_pendingExceptionDetails != null': A test overrode FlutterError.onError but either failed to return it to its original state, or had unexpected additional errors that it could not handle. Typically, this is caused by using expect() before restoring FlutterError.onError.

Stacktrace:
dart:core                                           _AssertionError._throwNew
package:flutter_test/src/binding.dart 985:14        TestWidgetsFlutterBinding._runTest.handleUncaughtError
package:flutter_test/src/binding.dart 990:9         TestWidgetsFlutterBinding._runTest.<fn>
===== asynchronous gap ===========================
dart:async                                          _CustomZone.registerBinaryCallback
package:flutter_test/src/binding.dart 1006:5        TestWidgetsFlutterBinding._runTestBody
dart:async                                          _CustomZone.runBinary
package:flutter_test/src/binding.dart 995:14        TestWidgetsFlutterBinding._runTest
package:flutter_test/src/binding.dart 1475:24       AutomatedTestWidgetsFlutterBinding.runTest.<fn>
package:fake_async/fake_async.dart 182:54           FakeAsync.run.<fn>.<fn>
dart:async                                          runZoned
package:clock/src/default.dart 52:10                withClock
package:fake_async/fake_async.dart 182:22           FakeAsync.run.<fn>
dart:async                                          runZoned
package:fake_async/fake_async.dart 182:7            FakeAsync.run
package:flutter_test/src/binding.dart 1472:15       AutomatedTestWidgetsFlutterBinding.runTest
package:flutter_test/src/widget_tester.dart 175:24  testWidgets.<fn>
\n\n\nError #2: TimeoutException after 0:10:00.000000: Test timed out after 10 minutes.

Stacktrace:
dart:isolate  _RawReceivePort._handleMessage

To view more test analytics, go to the Test Analytics Dashboard
📢 Thoughts on this report? Let us know!

@github-actions github-actions bot added the GUI Changes to Elastic's UI label Feb 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI Changes to Elastic's UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant