Skip to content

PR #3241

PR #3241 #1204

GitHub Actions / Flutter Tests - default failed Nov 29, 2024 in 1s

472 passed, 3 failed and 0 skipped

Tests failed

Report Passed Failed Skipped Time
test-report-default.json 472✅ 3❌ 103s

Annotations

Check failure on line 623 in test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart

See this annotation in the file changed.

@github-actions github-actions / Flutter Tests - default

test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart ► getSubaddress:test ► should throw an error if empty local part

Failed test found in:
  test-report-default.json
Error:
  Expected: throws <Instance of 'FormatException'>
    Actual: <Closure: () => String>
     Which: threw InvalidMailFormatException:<InvalidMailFormatException: @example.com>
            stack package:tmail_ui_user/features/mailbox/presentation/mailbox_controller.dart 1549:7                     MailboxController.getSubaddress
                  test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 627:38  main.<fn>.<fn>.<fn>
                  package:matcher                                                                                        expect
                  package:flutter_test/src/widget_tester.dart 474:18                                                     expect
                  test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 627:7   main.<fn>.<fn>
                  
            which is not an instance of 'FormatException'
  
Raw output
[TwakeMail] MailboxDashBoardController::_handleArguments():Arguments = Null
[TwakeMail] MailboxDashBoardController::dispatchRoute(): DashboardRoutes.thread
package:matcher                                                                                       expect
package:flutter_test/src/widget_tester.dart 474:18                                                    expect
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 627:7  main.<fn>.<fn>

Check failure on line 637 in test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart

See this annotation in the file changed.

@github-actions github-actions / Flutter Tests - default

test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart ► getSubaddress:test ► should throw an error if empty domain

Failed test found in:
  test-report-default.json
Error:
  Expected: throws <Instance of 'FormatException'>
    Actual: <Closure: () => String>
     Which: threw InvalidMailFormatException:<InvalidMailFormatException: user@>
            stack package:tmail_ui_user/features/mailbox/presentation/mailbox_controller.dart 1549:7                     MailboxController.getSubaddress
                  test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 641:38  main.<fn>.<fn>.<fn>
                  package:matcher                                                                                        expect
                  package:flutter_test/src/widget_tester.dart 474:18                                                     expect
                  test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 641:7   main.<fn>.<fn>
                  
            which is not an instance of 'FormatException'
  
Raw output
[TwakeMail] MailboxDashBoardController::_handleArguments():Arguments = Null
[TwakeMail] MailboxDashBoardController::dispatchRoute(): DashboardRoutes.thread
package:matcher                                                                                       expect
package:flutter_test/src/widget_tester.dart 474:18                                                    expect
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 641:7  main.<fn>.<fn>

Check failure on line 644 in test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart

See this annotation in the file changed.

@github-actions github-actions / Flutter Tests - default

test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart ► getSubaddress:test ► should throw an error if absent `@`

Failed test found in:
  test-report-default.json
Error:
  Expected: throws <Instance of 'FormatException'>
    Actual: <Closure: () => String>
     Which: threw InvalidMailFormatException:<InvalidMailFormatException: invalid-email-format>
            stack package:tmail_ui_user/features/mailbox/presentation/mailbox_controller.dart 1549:7                     MailboxController.getSubaddress
                  test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 648:38  main.<fn>.<fn>.<fn>
                  package:matcher                                                                                        expect
                  package:flutter_test/src/widget_tester.dart 474:18                                                     expect
                  test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 648:7   main.<fn>.<fn>
                  
            which is not an instance of 'FormatException'
  
Raw output
[TwakeMail] MailboxDashBoardController::_handleArguments():Arguments = Null
[TwakeMail] MailboxDashBoardController::dispatchRoute(): DashboardRoutes.thread
package:matcher                                                                                       expect
package:flutter_test/src/widget_tester.dart 474:18                                                    expect
test/features/mailbox_dashboard/presentation/controller/mailbox_dashboard_controller_test.dart 648:7  main.<fn>.<fn>