@maxim_mazurok/gapi.client.testing-v1 0.0.20231018 → 0.0.20231027
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +5 -5
- package/package.json +1 -1
- package/tests.ts +17 -21
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://testing.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20231027
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -368,9 +368,6 @@ declare namespace gapi.client {
|
|
|
368
368
|
/** Required. The requested device */
|
|
369
369
|
androidDevice?:
|
|
370
370
|
AndroidDevice;
|
|
371
|
-
/** Optional. The list of requested devices. At most two devices may be simultaneously requested. */
|
|
372
|
-
androidDeviceList?:
|
|
373
|
-
AndroidDeviceList;
|
|
374
371
|
/** Output only. The time that the Session was created. */
|
|
375
372
|
createTime?:
|
|
376
373
|
string;
|
|
@@ -392,7 +389,7 @@ declare namespace gapi.client {
|
|
|
392
389
|
/** Output only. The historical state transitions of the session_state message including the current session state. */
|
|
393
390
|
stateHistories?:
|
|
394
391
|
SessionStateEvent[];
|
|
395
|
-
/** Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the
|
|
392
|
+
/** Optional. The amount of time that a device will be initially allocated for. This can eventually be extended with the UpdateDeviceSession RPC. Default: 30 minutes. */
|
|
396
393
|
ttl?:
|
|
397
394
|
string;
|
|
398
395
|
}
|
|
@@ -1031,6 +1028,9 @@ declare namespace gapi.client {
|
|
|
1031
1028
|
/** List of files to push to the device before starting the test. */
|
|
1032
1029
|
filesToPush?:
|
|
1033
1030
|
DeviceFile[];
|
|
1031
|
+
/** Optional. Initial setup APKs to install before the app under test is installed. Currently capped at 100. */
|
|
1032
|
+
initialSetupApks?:
|
|
1033
|
+
Apk[];
|
|
1034
1034
|
/**
|
|
1035
1035
|
* The network traffic profile used for running the test. Available network profiles can be queried by using the NETWORK_CONFIGURATION environment type when calling
|
|
1036
1036
|
* TestEnvironmentDiscoveryService.GetTestEnvironmentCatalog.
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20231027
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|
|
@@ -55,16 +55,6 @@ gapi.load('client', async () => {
|
|
|
55
55
|
locale: "Test string",
|
|
56
56
|
orientation: "Test string",
|
|
57
57
|
},
|
|
58
|
-
androidDeviceList: {
|
|
59
|
-
androidDevices: [
|
|
60
|
-
{
|
|
61
|
-
androidModelId: "Test string",
|
|
62
|
-
androidVersionId: "Test string",
|
|
63
|
-
locale: "Test string",
|
|
64
|
-
orientation: "Test string",
|
|
65
|
-
}
|
|
66
|
-
],
|
|
67
|
-
},
|
|
68
58
|
createTime: "Test string",
|
|
69
59
|
displayName: "Test string",
|
|
70
60
|
expireTime: "Test string",
|
|
@@ -106,16 +96,6 @@ gapi.load('client', async () => {
|
|
|
106
96
|
locale: "Test string",
|
|
107
97
|
orientation: "Test string",
|
|
108
98
|
},
|
|
109
|
-
androidDeviceList: {
|
|
110
|
-
androidDevices: [
|
|
111
|
-
{
|
|
112
|
-
androidModelId: "Test string",
|
|
113
|
-
androidVersionId: "Test string",
|
|
114
|
-
locale: "Test string",
|
|
115
|
-
orientation: "Test string",
|
|
116
|
-
}
|
|
117
|
-
],
|
|
118
|
-
},
|
|
119
99
|
createTime: "Test string",
|
|
120
100
|
displayName: "Test string",
|
|
121
101
|
expireTime: "Test string",
|
|
@@ -444,6 +424,14 @@ gapi.load('client', async () => {
|
|
|
444
424
|
},
|
|
445
425
|
}
|
|
446
426
|
],
|
|
427
|
+
initialSetupApks: [
|
|
428
|
+
{
|
|
429
|
+
location: {
|
|
430
|
+
gcsPath: "Test string",
|
|
431
|
+
},
|
|
432
|
+
packageName: "Test string",
|
|
433
|
+
}
|
|
434
|
+
],
|
|
447
435
|
networkProfile: "Test string",
|
|
448
436
|
systrace: {
|
|
449
437
|
durationSeconds: 42,
|
|
@@ -653,6 +641,14 @@ gapi.load('client', async () => {
|
|
|
653
641
|
},
|
|
654
642
|
}
|
|
655
643
|
],
|
|
644
|
+
initialSetupApks: [
|
|
645
|
+
{
|
|
646
|
+
location: {
|
|
647
|
+
gcsPath: "Test string",
|
|
648
|
+
},
|
|
649
|
+
packageName: "Test string",
|
|
650
|
+
}
|
|
651
|
+
],
|
|
656
652
|
networkProfile: "Test string",
|
|
657
653
|
systrace: {
|
|
658
654
|
durationSeconds: 42,
|