File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 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 {
3131 private $fs : IFileSystem ,
3232 private $options : IOptions ,
3333 private $pluginsService : IPluginsService ,
34- private $errors : IErrors ) {
34+ private $errors : IErrors ,
35+ private $devicesService : Mobile . IDevicesService ) {
3536 }
3637
3738 public startTestRunner ( platform : string ) : IFuture < void > {
@@ -43,7 +44,7 @@ class TestExecutionService implements ITestExecutionService {
4344 try {
4445 let platformData = this . $platformsData . getPlatformData ( platform . toLowerCase ( ) ) ;
4546 let projectDir = this . $projectData . projectDir ;
46-
47+ this . $devicesService . initialize ( { platform : platform , deviceId : this . $options . device } ) . wait ( ) ;
4748 let projectFilesPath = path . join ( platformData . appDestinationDirectoryPath , constants . APP_FOLDER_NAME ) ;
4849
4950 let configOptions : IKarmaConfigOptions = JSON . parse ( launcherConfig ) ;
You can’t perform that action at this time.
0 commit comments