Reland "Clean up some flutter_tools tests and roll dependencies" (#33225)

This relands flutter/flutter#33163 with a fix to the integration_ui test.
This commit is contained in:
Jason Simmons
2019-05-29 19:04:35 -07:00
committed by GitHub
parent 22ea031e28
commit 311cde98a6
47 changed files with 189 additions and 173 deletions

View File

@@ -22,7 +22,7 @@ void main() {
test('should take screenshot', () async {
final SerializableFinder toggleBtn = find.byValueKey('toggle');
// Cards use a magic background color that we look for in the screenshots.
final Matcher cardsAreVisible = contains(0xff0201ff);
final Matcher cardsAreVisible = contains(getColor(0xff, 0x01, 0x02));
await driver.waitFor(toggleBtn);
bool cardsShouldBeVisible = false;