forked from firka/flutter
14
dev/devicelab/bin/tasks/ios_platform_view_tests.dart
Normal file
14
dev/devicelab/bin/tasks/ios_platform_view_tests.dart
Normal file
@@ -0,0 +1,14 @@
|
||||
// Copyright 2014 The Flutter 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(createIOSPlatformViewTests());
|
||||
}
|
||||
@@ -122,6 +122,13 @@ TaskFunction createFlutterDriverScreenshotTest({
|
||||
);
|
||||
}
|
||||
|
||||
TaskFunction createIOSPlatformViewTests() {
|
||||
return DriverTest(
|
||||
'${flutterDirectory.path}/dev/integration_tests/ios_platform_view_tests',
|
||||
'lib/main.dart',
|
||||
);
|
||||
}
|
||||
|
||||
class DriverTest {
|
||||
DriverTest(
|
||||
this.testDirectory,
|
||||
|
||||
@@ -564,6 +564,12 @@ tasks:
|
||||
# Remove the flaky flag when we are sure the test is stable.
|
||||
flaky: true
|
||||
|
||||
ios_platform_view_tests:
|
||||
description: >
|
||||
Runs end-to-end tests with platform views in the scene.
|
||||
stage: devicelab_ios
|
||||
required_agent_capabilities: ["mac/ios"]
|
||||
|
||||
# TODO(fujino): does not pass on iOS13 https://github.com/flutter/flutter/issues/41133
|
||||
# system_debug_ios:
|
||||
# description: >
|
||||
|
||||
Reference in New Issue
Block a user