Skip to content

Flutter should offer some way to test at a minimum size #5026

Open

Description

@eseidelGoogle

@sethladd has recently started filing bugs about our Material Widgets looking wrong on an iPod touch (which is slightly less wide than the Nexus 5s many of us test on).

Many of these bugs could presumably be caught by some automated system which at least tested to make sure views didn't throw exceptions at known resolutions.

@Hixie says the hardest part about this is a "minimum size" and is less worried about the continuum of sizes above that.

Example bugs include #5003 or #5019 (particularly #5019 looks like it could be caught in an automated fashion. FYI @yjbanov

Activity

  1. yjbanov commented on Jul 25, 2016

    @yjbanov
    Contributor

    Our unit-tests are sensitive to exceptions. Not sure what to do about minimum size. Any ideas?

  2. yjbanov commented on Jul 25, 2016

    @yjbanov
    Contributor

    Driver tests can be made sensitive to exceptions too, if they are not yet.

  3. modified the milestone: on Sep 12, 2016
  4. modified the milestones: , on Feb 2, 2017
  5. added
    p: material_uimaterial_ui package in flutter/packages
    a: tests"flutter test", flutter_test, or one of our tests
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Nov 7, 2017
  6. added a commit that references this issue on Apr 17, 2018
  7. added a commit that references this issue on May 14, 2018
  8. removed
    toolAffects the "flutter" command-line tool. See also t: labels.
    on Jan 9, 2020
  9. added
    P2Important issues not at the top of the work list
    on May 29, 2020
  10. removed this from the milestone on Jun 2, 2020
  11. removed this from the milestone on Jun 2, 2020
  12. removed this from the milestone on Aug 17, 2020
  13. added
    packageflutter/packages repository. See also p: labels.
    and removed
    frameworkflutter/packages/flutter repository. See also f: labels.
    on Aug 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work lista: tests"flutter test", flutter_test, or one of our testsp: material_uimaterial_ui package in flutter/packagespackageflutter/packages repository. See also p: labels.team-designOwned by Design Languages teamtriaged-designTriaged by Design Languages team

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions