Unverified Commit 1f31c3b3 authored by amirh's avatar amirh Committed by GitHub

Run the embedded Android views integration test on the device lab. (#20841)

parent d3844d7d
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
import 'dart:async';
import 'package:flutter_devicelab/framework/adb.dart';
import 'package:flutter_devicelab/framework/framework.dart';
import 'package:flutter_devicelab/tasks/integration_tests.dart';
Future<Null> main() async {
deviceOperatingSystem = DeviceOperatingSystem.android;
await task(createEmbeddedAndroidViewsIntegrationTest());
}
......@@ -45,6 +45,13 @@ TaskFunction createPlatformChannelSampleTest() {
);
}
TaskFunction createEmbeddedAndroidViewsIntegrationTest() {
return new DriverTest(
'${flutterDirectory.path}/dev/integration_tests/android_views',
'lib/main.dart',
);
}
class DriverTest {
DriverTest(
......
......@@ -130,6 +130,13 @@ tasks:
stage: devicelab
required_agent_capabilities: ["mac/android"]
embedded_android_views_integration_test:
description: >
Tests embedded Android views.
stage: devicelab
required_agent_capabilities: ["mac/android"]
flaky: true
run_release_test:
description: >
Checks that `flutter run --release` does not crash.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment