Skip to content

"flutter error messages include a DevTools link" tool test fails #88393

@jmagman

Description

@jmagman

Started failing on #82670.

05:21 +33 ~20 -1: test/integration.shard/overall_experience_test.dart: flutter error messages include a DevTools link [E]                                                                              
  Expected: [
              <a string starting with 'Performing hot reload...'>,
              '',
              '══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════',
              'The following assertion was thrown during layout:',
              'A RenderFlex overflowed by 69200 pixels on the right.',
              '',
              'The relevant error-causing widget was:',
              <match '^  Row .+flutter/dev/integration_tests/ui/lib/overflow\.dart:31:12$'>,
              '',
              'To inspect this widget in Flutter DevTools, visit:',
              <a string starting with 'http'>,
              '',
              'The overflowing RenderFlex has an orientation of Axis.horizontal.',
              'The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and',
              'black striped pattern. This is usually caused by the contents being too big for the RenderFlex.',
              'Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the',
              'RenderFlex to fit within the available space instead of being sized to their natural size.',
              'This is considered an error condition because it indicates that there is content that cannot be',
              'seen. If the content is legitimately bigger than the available space, consider clipping it with a',
              'ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,',
              'like a ListView.',
              <match '^The specific RenderFlex in question is: RenderFlex#..... OVERFLOWING:$'>,
              <a string starting with '  creator: Row ← Test ← '>,
              <contains ' ← '>,
              ...
            ]
    Actual: [
              'Performing hot reload...                                        ',
              '',
              '══╡ EXCEPTION CAUGHT BY RENDERING LIBRARY ╞═════════════════════════════════════════════════════════',
              'The following assertion was thrown during layout:',
              'A RenderFlex overflowed by 69200 pixels on the right.',
              '',
              'The relevant error-causing widget was:',
              '  Row Row:file:///b/s/w/ir/x/w/flutter/dev/integration_tests/ui/lib/overflow.dart:31:12',
              '',
              'To inspect this widget in Flutter DevTools, visit:',
              'http://127.0.0.1:9100/#/inspector?uri=http%3A%2F%2F127.0.0.1%3A36561%2FLIw7uQD2nrk%3D%2F&inspectorRef=inspector-0',
              '',
              'The overflowing RenderFlex has an orientation of Axis.horizontal.',
              'The edge of the RenderFlex that is overflowing has been marked in the rendering with a yellow and',
              'black striped pattern. This is usually caused by the contents being too big for the RenderFlex.',
              'Consider applying a flex factor (e.g. using an Expanded widget) to force the children of the',
              'RenderFlex to fit within the available space instead of being sized to their natural size.',
              'This is considered an error condition because it indicates that there is content that cannot be',
              'seen. If the content is legitimately bigger than the available space, consider clipping it with a',
              'ClipRect widget before putting it in the flex, or using a scrollable container rather than a Flex,',
              'like a ListView.',
              'The specific RenderFlex in question is: RenderFlex#4d88d OVERFLOWING:',
              '  creator: Row ← Test ← Semantics ← Builder ← RepaintBoundary-[GlobalKey#33d8e] ← IgnorePointer ←',
              '    AnimatedBuilder ← Transform ← ScaleTransition ← FadeTransition ← _ZoomExitTransition ← Transform ←',
              ...
            ]
     Which: at location [24] is '    ⋯' which does not match a string ending with ' ← ⋯'
  
  package:test_api                                           expect
  test/integration.shard/overall_experience_test.dart 511:7  main.<fn>

https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket.appspot.com/8838609685218124768/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_4_4/test_stdout

Tree is closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressiona: tests"flutter test", flutter_test, or one of our teststoolAffects the "flutter" command-line tool. See also t: labels.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions