Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
169a4a00
Unverified
Commit
169a4a00
authored
Mar 14, 2022
by
Jesús S Guerrero
Committed by
GitHub
Mar 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix route integration test on ios (#99781)
parent
890b85f9
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
5 deletions
+39
-5
.ci.yaml
.ci.yaml
+2
-2
TESTOWNERS
TESTOWNERS
+2
-3
route_test_ios.dart
dev/devicelab/bin/tasks/route_test_ios.dart
+35
-0
No files found.
.ci.yaml
View file @
169a4a00
...
...
@@ -3362,7 +3362,7 @@ targets:
task_name
:
external_ui_integration_test_ios
scheduler
:
luci
-
name
:
Mac_ios rout
ing_test
-
name
:
Mac_ios rout
e_test_ios
bringup
:
true
recipe
:
devicelab/devicelab_drone
presubmit
:
false
...
...
@@ -3370,7 +3370,7 @@ targets:
properties
:
tags
:
>
["devicelab","ios","mac"]
task_name
:
rout
ing_test
task_name
:
rout
e_test_ios
scheduler
:
luci
-
name
:
Mac_ios flavors_test_ios
...
...
TESTOWNERS
View file @
169a4a00
...
...
@@ -63,6 +63,7 @@
/dev/devicelab/bin/tasks/platform_channels_benchmarks.dart @gaaclarke @flutter/engine
/dev/devicelab/bin/tasks/platform_views_scroll_perf__timeline_summary.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/plugin_dependencies_test.dart @jmagman @flutter/tool
/dev/devicelab/bin/tasks/routing_test.dart @zanderso @flutter/tool
/dev/devicelab/bin/tasks/textfield_perf__e2e_summary.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/web_size__compile_test.dart @yjbanov @flutter/web
/dev/devicelab/bin/tasks/opacity_peephole_col_of_rows_perf__e2e_summary.dart @flar @flutter/engine
...
...
@@ -170,9 +171,7 @@
/dev/devicelab/bin/tasks/post_backdrop_filter_perf_ios__timeline_summary.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/simple_animation_perf_ios.dart @zanderso @flutter/engine
/dev/devicelab/bin/tasks/tiles_scroll_perf_ios__timeline_summary.dart @zanderso @flutter/engine
## Linux android and Mac iOS Devicelab tests
/dev/devicelab/bin/tasks/routing_test.dart @zanderso @flutter/tool
/dev/devicelab/bin/tasks/route_test_ios.dart @jasguerrero @flutter/tool
## Host only DeviceLab tests
/dev/devicelab/bin/tasks/build_aar_module_test.dart @zanderso @flutter/tool
...
...
dev/devicelab/bin/tasks/route_test_ios.dart
0 → 100644
View file @
169a4a00
// 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:io'
;
import
'package:flutter_devicelab/framework/devices.dart'
;
import
'package:flutter_devicelab/framework/framework.dart'
;
import
'package:flutter_devicelab/framework/task_result.dart'
;
import
'package:flutter_devicelab/framework/utils.dart'
;
import
'package:path/path.dart'
as
path
;
void
main
(
)
{
task
(()
async
{
deviceOperatingSystem
=
DeviceOperatingSystem
.
ios
;
final
Device
device
=
await
devices
.
workingDevice
;
await
device
.
unlock
();
final
Directory
appDir
=
dir
(
path
.
join
(
flutterDirectory
.
path
,
'dev/integration_tests/ui'
));
section
(
'TEST WHETHER `flutter drive --route` WORKS on IOS'
);
await
inDirectory
(
appDir
,
()
async
{
return
flutter
(
'drive'
,
options:
<
String
>[
'--verbose'
,
'-d'
,
device
.
deviceId
,
'--route'
,
'/smuggle-it'
,
'lib/route.dart'
,
],
);
});
return
TaskResult
.
success
(
null
);
});
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment