Skip to content

Commit

Permalink
feat(testing): update the API
Browse files Browse the repository at this point in the history
#### testing:v1

The following keys were added:
- schemas.AndroidRoboTest.properties.roboMode.description
- schemas.AndroidRoboTest.properties.roboMode.enum
- schemas.AndroidRoboTest.properties.roboMode.enumDescriptions
- schemas.AndroidRoboTest.properties.roboMode.type

The following keys were changed:
- schemas.TestSetup.properties.systrace.description
  • Loading branch information
yoshi-automation authored and bcoe committed Jul 23, 2021
1 parent 6d25615 commit bcb09dc
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
18 changes: 16 additions & 2 deletions discovery/testing-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@
}
}
},
"revision": "20210326",
"revision": "20210719",
"rootUrl": "https://testing.googleapis.com/",
"schemas": {
"Account": {
Expand Down Expand Up @@ -589,6 +589,20 @@
},
"type": "array"
},
"roboMode": {
"description": "The mode in which Robo should run. Most clients should allow the server to populate this field automatically.",
"enum": [
"ROBO_MODE_UNSPECIFIED",
"ROBO_VERSION_1",
"ROBO_VERSION_2"
],
"enumDescriptions": [
"LINT.IfChange This means that the server should choose the mode. Recommended.",
"Runs Robo in UIAutomator-only mode without app resigning",
"Runs Robo in standard Espresso with UIAutomator fallback"
],
"type": "string"
},
"roboScript": {
"$ref": "FileReference",
"description": "A JSON file with a sequence of actions Robo should perform as a prologue for the crawl."
Expand Down Expand Up @@ -1980,7 +1994,7 @@
},
"systrace": {
"$ref": "SystraceSetup",
"description": "Systrace configuration for the run. If set a systrace will be taken, starting on test start and lasting for the configured duration. The systrace file thus obtained is put in the results bucket together with the other artifacts from the run."
"description": "Deprecated: Systrace uses Python 2 which has been sunset 2020-01-01. Support of Systrace may stop at any time, at which point no Systrace file will be provided in the results. Systrace configuration for the run. If set a systrace will be taken, starting on test start and lasting for the configured duration. The systrace file thus obtained is put in the results bucket together with the other artifacts from the run."
}
},
"type": "object"
Expand Down
6 changes: 5 additions & 1 deletion src/apis/testing/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,10 @@ export namespace testing_v1 {
* A set of directives Robo should apply during the crawl. This allows users to customize the crawl. For example, the username and password for a test account can be provided.
*/
roboDirectives?: Schema$RoboDirective[];
/**
* The mode in which Robo should run. Most clients should allow the server to populate this field automatically.
*/
roboMode?: string | null;
/**
* A JSON file with a sequence of actions Robo should perform as a prologue for the crawl.
*/
Expand Down Expand Up @@ -1279,7 +1283,7 @@ export namespace testing_v1 {
*/
networkProfile?: string | null;
/**
* Systrace configuration for the run. If set a systrace will be taken, starting on test start and lasting for the configured duration. The systrace file thus obtained is put in the results bucket together with the other artifacts from the run.
* Deprecated: Systrace uses Python 2 which has been sunset 2020-01-01. Support of Systrace may stop at any time, at which point no Systrace file will be provided in the results. Systrace configuration for the run. If set a systrace will be taken, starting on test start and lasting for the configured duration. The systrace file thus obtained is put in the results bucket together with the other artifacts from the run.
*/
systrace?: Schema$SystraceSetup;
}
Expand Down

0 comments on commit bcb09dc

Please sign in to comment.