Reland eliminate timeouts from integration tests (#85141)

This commit is contained in:
Dan Field
2021-06-23 13:08:51 -07:00
committed by GitHub
parent 568f135a13
commit 9c0bd18c40
46 changed files with 101 additions and 90 deletions

View File

@@ -40,6 +40,6 @@ void main() {
final TimelineSummary summary = TimelineSummary.summarize(timeline);
await summary.writeTimelineToFile('stocks_scroll_perf', pretty: true);
});
}, timeout: Timeout.none);
});
}

View File

@@ -22,7 +22,7 @@ void main() {
test('Stock list is shown', () async {
final SerializableFinder stockList = find.byValueKey('stock-list');
expect(stockList, isNotNull);
});
}, timeout: Timeout.none);
test('open AAPL stock', () async {
final SerializableFinder stockList = find.byValueKey('stock-list');
@@ -36,10 +36,9 @@ void main() {
final SerializableFinder stockOption =
find.byValueKey('AAPL_symbol_name');
final String symbol = await driver.getText(stockOption,
timeout: const Duration(milliseconds: 500));
final String symbol = await driver.getText(stockOption);
expect(symbol, 'AAPL');
}, skip: 'Needs to be fixed on Fuchsia.');
}, skip: 'Needs to be fixed on Fuchsia.', timeout: Timeout.none);
});
}