Add platform_interaction_test_swift to devicelab (#35775)

This commit is contained in:
Jenn Magder 2019-07-10 14:13:01 -07:00 committed by GitHub
parent ff53fbe194
commit b5c1b61c73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,14 @@
// Copyright 2019 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<void> main() async {
deviceOperatingSystem = DeviceOperatingSystem.ios;
await task(createPlatformChannelSwiftSampleTest());
}

View File

@ -47,6 +47,13 @@ TaskFunction createPlatformChannelSampleTest() {
); );
} }
TaskFunction createPlatformChannelSwiftSampleTest() {
return DriverTest(
'${flutterDirectory.path}/examples/platform_channel_swift',
'test_driver/button_tap.dart',
);
}
TaskFunction createEmbeddedAndroidViewsIntegrationTest() { TaskFunction createEmbeddedAndroidViewsIntegrationTest() {
return DriverTest( return DriverTest(
'${flutterDirectory.path}/dev/integration_tests/android_views', '${flutterDirectory.path}/dev/integration_tests/android_views',

View File

@ -414,10 +414,17 @@ tasks:
platform_channel_sample_test_ios: platform_channel_sample_test_ios:
description: > description: >
Runs a driver test on the Platform Channel sample app on iPhone 6. Runs a driver test on the Platform Channel sample app on iPhone 6 Objective-C project.
stage: devicelab_ios stage: devicelab_ios
required_agent_capabilities: ["mac/ios"] required_agent_capabilities: ["mac/ios"]
platform_channel_sample_test_swift:
description: >
Runs a driver test on the Platform Channel sample app on iPhone 6 Swift project.
stage: devicelab_ios
required_agent_capabilities: ["mac/ios"]
flaky: true
platform_view_ios__start_up: platform_view_ios__start_up:
description: > description: >
Verifies that Platform View can be used from an iOS project. Verifies that Platform View can be used from an iOS project.