You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Out of 9 test cases on master branch, 1 is failing
Expected result
All pass
Reproduction Steps
Run patrol-local-integration-test-with-docker.sh script
Additional information
logs
java.lang.AssertionError: Dart test failed: tests.search.search_email_by_date_time_and_sort_order_relevance_test Should see list email displayed by date time `Last 7 days` and sort order `Relevance` when search email successfully══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════The following WaitUntilVisibleTimeoutException was thrown runninga test:TimeoutException after 0:00:05.000000: Finder "Found 0 widgetswith key [<'mobile_dateTime_search_filter_button'>] (consideringonly hit-testable ones): []" did not find any visible (i.e.hit-testable) widgetsWhen the exception was thrown, this was the stack:#0 PatrolTester.dragUntilVisible.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:557:9)<asynchronous suspension>#1 TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:120:7)<asynchronous suspension>#2 PatrolTester.scrollUntilVisible.<anonymous closure> (package:patrol_finders/src/custom_finders/patrol_tester.dart:676:30)<asynchronous suspension>#3 TestAsyncUtils.guard.<anonymous closure> (package:flutter_test/src/test_async_utils.dart:120:7)<asynchronous suspension>#4 SearchRobot.scrollToDateTimeButtonFilter (file:///Users/dangdat/Desktop/dev/linagora-master/tmail-flutter/integration_test/robots/search_robot.dart:45:5)<asynchronous suspension>#5 SearchEmailByDatetimeAndSortOrderRelevanceScenario.execute (file:///Users/dangdat/Desktop/dev/linagora-master/tmail-flutter/integration_test/scenarios/search_email_by_date_time_and_sort_order_relevance_scenario.dart:47:5)<asynchronous suspension>#6 main.<anonymous closure> (file:///Users/dangdat/Desktop/dev/linagora-master/tmail-flutter/integration_test/tests/search/search_email_by_date_time_and_sort_order_relevance_test.dart:41:7)<asynchronous suspension>#7 TestBase.runPatrolTest.<anonymous closure> (file:///Users/dangdat/Desktop/dev/linagora-master/tmail-flutter/integration_test/base/test_base.dart:28:7)<asynchronous suspension>#8 patrolTest.<anonymous closure> (package:patrol/src/common.dart:136:7)<asynchronous suspension>#9 testWidgets.<anonymous closure>.<anonymous closure> (package:flutter_test/src/widget_tester.dart:189:15)<asynchronous suspension>#10 TestWidgetsFlutterBinding._runTestBody (package:flutter_test/src/binding.dart:1032:5)<asynchronous suspension>#11 TestWidgetsFlutterBinding._createTestCompletionHandler.<anonymous closure> (package:flutter_test/src/binding.dart:824:12)<asynchronous suspension>The test description was:Should see list email displayed by date time `Last 7 days` andsort order `Relevance` when search email successfully═════════════════════════════════════════════════════════════════at pl.leancode.patrol.PatrolJUnitRunner.runDartTest(PatrolJUnitRunner.java:147)at com.linagora.android.tmail.MainActivityTest.runDartTest(MainActivityTest.java:31)
Bonus
Update Patrol CLI and Patrol dependency version
The text was updated successfully, but these errors were encountered:
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════ The following TestFailure was thrown running a test: Expected: exactly one matching candidate Actual: PatrolFinder:<Found 0 widgets with widget matching predicate descending from widgets with type "HtmlContentViewer" descending from widgets with type "EmailView" inclusive: []> Which: means none were found but one was expected
══╡ EXCEPTION CAUGHT BY FLUTTER TEST FRAMEWORK ╞═════════════════ The following WaitUntilVisibleTimeoutException was thrown running a test: TimeoutException after 0:00:05.000000: Finder "Found 0 widgets with key [<'mobile_dateTime_search_filter_button'>] (considering only hit-testable ones): []" did not find any visible (i.e. hit-testable) widgets
Description
Out of 9 test cases on
master
branch, 1 is failingExpected result
All pass
Reproduction Steps
Run
patrol-local-integration-test-with-docker.sh
scriptAdditional information
logs
Bonus
The text was updated successfully, but these errors were encountered: