File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,8 @@ class TestExecutionService implements ITestExecutionService {
31
31
private $fs : IFileSystem ,
32
32
private $options : IOptions ,
33
33
private $pluginsService : IPluginsService ,
34
- private $errors : IErrors ) {
34
+ private $errors : IErrors ,
35
+ private $devicesService : Mobile . IDevicesService ) {
35
36
}
36
37
37
38
public startTestRunner ( platform : string ) : IFuture < void > {
@@ -43,7 +44,7 @@ class TestExecutionService implements ITestExecutionService {
43
44
try {
44
45
let platformData = this . $platformsData . getPlatformData ( platform . toLowerCase ( ) ) ;
45
46
let projectDir = this . $projectData . projectDir ;
46
-
47
+ this . $devicesService . initialize ( { platform : platform , deviceId : this . $options . device } ) . wait ( ) ;
47
48
let projectFilesPath = path . join ( platformData . appDestinationDirectoryPath , constants . APP_FOLDER_NAME ) ;
48
49
49
50
let configOptions : IKarmaConfigOptions = JSON . parse ( launcherConfig ) ;
You can’t perform that action at this time.
0 commit comments