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

[flutter_markdown] Change the way tests get screen size #4514

Conversation

stuartmorgan
Copy link
Contributor

As of flutter/flutter#125003 the current method these tests use to get the screen width throws an exception, since it assumes that the first widget in the tree has certain properties. To make the test more robust, this get the width of the outmost Column, which is part of the test setup, rather than whatever the first widget is.

Unblocks the flutter->packgaes roller.

As of flutter/flutter#125003 the current method
these tests use to get the screen width throws an exception, since it
assumes that the first widget in the tree has certain properties. To
make the test more robust, this get the width of the outmost Column,
which is part of the test setup, rather than whatever the first widget
is.

Unblocks the flutter->packgaes roller.
@tarrinneal tarrinneal added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 19, 2023
@auto-submit auto-submit bot merged commit f16ba32 into flutter:main Jul 19, 2023
@stuartmorgan stuartmorgan deleted the flutter-markdown-test-screen-width-change branch July 19, 2023 10:09
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Jul 19, 2023
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Jul 19, 2023
flutter/packages@3e8b813...209db21

2023-07-19 [email protected] [tooling] mark infra steps as infra steps in yaml files (flutter/packages#4473)
2023-07-19 [email protected] Manual roll Flutter from f842ed9 to 6f09064 (11 revisions) (flutter/packages#4518)
2023-07-19 [email protected] [ci] Enable new sharding (flutter/packages#4515)
2023-07-19 [email protected] [flutter_markdown] Change the way tests get screen size (flutter/packages#4514)
2023-07-18 [email protected] [ci] Roll Flutter to f842ed9 (flutter/packages#4513)
2023-07-18 [email protected] [image_picker] Update Android example (flutter/packages#4504)
2023-07-18 [email protected] [camerax] Fixes relistening to `onStreamedFrameAvailable`'s stream behavior (flutter/packages#4511)
2023-07-18 [email protected] [various] Deletes deprecated splash screen meta-data element (flutter/packages#4501)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
LouiseHsu pushed a commit to LouiseHsu/flutter that referenced this pull request Jul 31, 2023
flutter/packages@3e8b813...209db21

2023-07-19 [email protected] [tooling] mark infra steps as infra steps in yaml files (flutter/packages#4473)
2023-07-19 [email protected] Manual roll Flutter from f842ed9 to 6f09064 (11 revisions) (flutter/packages#4518)
2023-07-19 [email protected] [ci] Enable new sharding (flutter/packages#4515)
2023-07-19 [email protected] [flutter_markdown] Change the way tests get screen size (flutter/packages#4514)
2023-07-18 [email protected] [ci] Roll Flutter to f842ed9 (flutter/packages#4513)
2023-07-18 [email protected] [image_picker] Update Android example (flutter/packages#4504)
2023-07-18 [email protected] [camerax] Fixes relistening to `onStreamedFrameAvailable`'s stream behavior (flutter/packages#4511)
2023-07-18 [email protected] [various] Deletes deprecated splash screen meta-data element (flutter/packages#4501)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected],[email protected] on the revert to ensure that a human
is aware of the problem.

To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App p: flutter_markdown
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants