roku-test-automation
Advanced tools
Comparing version 2.0.0-beta.19 to 2.0.0-beta.20
@@ -40,2 +40,3 @@ "use strict"; | ||
this.config = config; | ||
this.device.setConfig(config); | ||
} | ||
@@ -42,0 +43,0 @@ getConfig() { |
@@ -150,2 +150,5 @@ /// <reference types="node" /> | ||
writeFile(args: ODC.WriteFileArgs, options?: ODC.RequestOptions): Promise<ODC.ReturnTimeTaken>; | ||
getApplicationStartTime(args?: ODC.GetApplicationStartTimeArgs, options?: ODC.RequestOptions): Promise<{ | ||
startTime: number; | ||
}>; | ||
getServerHost(args?: ODC.GetServerHostArgs, options?: ODC.RequestOptions): Promise<{ | ||
@@ -152,0 +155,0 @@ host: string; |
@@ -457,2 +457,6 @@ "use strict"; | ||
} | ||
async getApplicationStartTime(args = {}, options = {}) { | ||
const result = await this.sendRequest(ODC.RequestType.getApplicationStartTime, args, options); | ||
return result.json; | ||
} | ||
async getServerHost(args = {}, options = {}) { | ||
@@ -459,0 +463,0 @@ const result = await this.sendRequest(ODC.RequestType.getServerHost, args, options); |
@@ -16,2 +16,3 @@ /// <reference types="node" /> | ||
getAllCount = "getAllCount", | ||
getApplicationStartTime = "getApplicationStartTime", | ||
getDirectoryListing = "getDirectoryListing", | ||
@@ -309,2 +310,4 @@ getFocusedNode = "getFocusedNode", | ||
} | ||
export interface GetApplicationStartTimeArgs { | ||
} | ||
export interface GetServerHostArgs { | ||
@@ -311,0 +314,0 @@ } |
@@ -16,2 +16,3 @@ "use strict"; | ||
RequestType["getAllCount"] = "getAllCount"; | ||
RequestType["getApplicationStartTime"] = "getApplicationStartTime"; | ||
RequestType["getDirectoryListing"] = "getDirectoryListing"; | ||
@@ -18,0 +19,0 @@ RequestType["getFocusedNode"] = "getFocusedNode"; |
@@ -14,2 +14,3 @@ { | ||
"getAllCount", | ||
"getApplicationStartTime", | ||
"getDirectoryListing", | ||
@@ -16,0 +17,0 @@ "getFocusedNode", |
{ | ||
"name": "roku-test-automation", | ||
"version": "2.0.0-beta.19", | ||
"version": "2.0.0-beta.20", | ||
"description": "Helps with automating functional tests", | ||
@@ -5,0 +5,0 @@ "main": "client/dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
375019
4568