[fuchsia] Runs stocks driver test on Fuchsia NUCs in devicelab
Also pushes tiles which is needed to host the flutter application on Fuchsia.
This commit is contained in:
@@ -16,8 +16,14 @@ void main() {
|
||||
});
|
||||
|
||||
tearDownAll(() async {
|
||||
if (driver != null)
|
||||
if (driver != null) {
|
||||
driver.close();
|
||||
}
|
||||
});
|
||||
|
||||
test('Stock list is shown', () async {
|
||||
final SerializableFinder stockList = find.byValueKey('stock-list');
|
||||
expect(stockList, isNotNull);
|
||||
});
|
||||
|
||||
test('open AAPL stock', () async {
|
||||
@@ -30,10 +36,12 @@ void main() {
|
||||
await driver.tap(aaplStockRow);
|
||||
await Future<void>.delayed(const Duration(milliseconds: 500));
|
||||
|
||||
final SerializableFinder stockOption = find.byValueKey('AAPL_symbol_name');
|
||||
final String symbol = await driver.getText(stockOption, timeout: const Duration(milliseconds: 500));
|
||||
final SerializableFinder stockOption =
|
||||
find.byValueKey('AAPL_symbol_name');
|
||||
final String symbol = await driver.getText(stockOption,
|
||||
timeout: const Duration(milliseconds: 500));
|
||||
|
||||
expect(symbol, 'AAPL');
|
||||
});
|
||||
}, skip: 'Needs to be fixed on Fuchsia.');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user