suitest-js-api 3.10.1 → 3.11.0

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/README.md CHANGED
@@ -38,27 +38,27 @@ With Suitest you can:
38
38
  Suitest currently supports the following types of devices:
39
39
 
40
40
  - TV's and set-top boxes equipped with an infrared port. This includes most of
41
- the currently available Smart TV's like Samsung, LG, Philips, Panasonic, Sony
42
- etc.
41
+ the currently available Smart TV's like Samsung, LG, Hisense, Philips, Panasonic, Sony,
42
+ Vizio etc.
43
43
  - TV's, set-top boxes and mobile devices running Android (including FireTV)
44
44
  - Microsoft Xbox One, Xbox Series S and X and Sony PlayStation 4 / 5 consoles
45
45
  - Locally installed Chrome, Firefox, Safari and Edge
46
- - Apple tvOS, iOS and iPadOS devices, including simulators
47
- - Roku
48
- - Vizio
46
+ - Apple tvOS, iOS and iPadOS devices, including simulators
47
+ - Roku TVs, boxes and sticks
49
48
 
50
49
  Suitest supports automating end-to-end testing of:
51
50
 
52
51
  - HbbTV / Freeview Play apps
53
52
  - Samsung Orsay and Tizen apps
54
- - LG NetCast and webOS apps
53
+ - LG NetCast and webOS apps
55
54
  - HTML apps for other TV's or set-top boxes
56
55
  - Android TV and mobile apps (including FireTV)
57
56
  - Apple TV (tvOS), iOS and iPadOS apps
58
57
  - Xbox One and Xbox Series S and X apps
59
58
  - PlayStation 4 / 5 apps
60
59
  - Roku apps
61
- - Vizio SmartCast
60
+ - VIDAA apps
61
+ - Vizio SmartCast apps
62
62
  - Traditional websites and web apps for desktop browsers.
63
63
 
64
64
  ## Contributing
package/index.d.ts CHANGED
@@ -54,7 +54,7 @@ declare namespace suitest {
54
54
  openSession(options: OpenSessionOptions): Promise<OpenSessionResult|SuitestError>;
55
55
  closeSession(): Promise<object|SuitestError>;
56
56
  setAppConfig(configId: string, options?: ConfigOverride): Promise<void|SuitestError>;
57
- pairDevice(deviceId: string, {recording, webhookUrl}: {recording?: 'autostart' | 'manualstart' | 'none', webhookUrl?: string} | undefined): Promise<DeviceData|SuitestError>;
57
+ pairDevice(deviceId: string, recordingSettings?: {recording?: 'autostart' | 'manualstart' | 'none', webhookUrl?: string}): Promise<DeviceData|SuitestError>;
58
58
  releaseDevice(): Promise<void|SuitestError>;
59
59
  startREPL(options?: ReplOptions): Promise<void>;
60
60
  getAppConfig(): Promise<AppConfiguration|SuitestError>;
package/lib/texts.js CHANGED
@@ -152,6 +152,7 @@ ${leaves}`,
152
152
  'commandError.generalError': () => 'Failed to take a screenshot.',
153
153
  'commandError.notSupportedDriver': () => 'Screenshots are not supported on this driver.',
154
154
  'commandError.screenshotFailed': () => 'Error while taking screenshot of device. Saved file does not exists or is not readable.',
155
+ 'commandError.notSupportedConfiguration': () => 'Screenshots are not supported with this configuration.',
155
156
 
156
157
  executorStopped: () => 'Test execution was stopped. See our documentation for possible reasons: https://suite.st/docs/error-messages/results-errors/#test-execution-was-stopped',
157
158
 
@@ -100,6 +100,7 @@ const commandErrors = {
100
100
  'generalError': () => t['commandError.generalError'](),
101
101
  'notSupportedDriver': () => t['commandError.notSupportedDriver'](),
102
102
  'screenshotFailed': () => t['commandError.screenshotFailed'](),
103
+ 'notSupportedConfiguration': () => t['commandError.notSupportedConfiguration'](),
103
104
  };
104
105
 
105
106
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "suitest-js-api",
3
- "version": "3.10.1",
3
+ "version": "3.11.0",
4
4
  "main": "index.js",
5
5
  "repository": "git@github.com:SuitestAutomation/suitest-js-api.git",
6
6
  "author": "Suitest <hello@suite.st>",
@@ -18,6 +18,7 @@
18
18
  "Android TV testing",
19
19
  "Apple TV testing",
20
20
  "Roku testing",
21
+ "VIDAA testing",
21
22
  "Vizio SmartCast testing",
22
23
  "Smart TV test automation",
23
24
  "Fire TV test automation"
@@ -85,8 +86,8 @@
85
86
  "typescript": "4.9.4"
86
87
  },
87
88
  "dependencies": {
88
- "@suitest/smst-to-text": "^4.7.0",
89
- "@suitest/translate": "^4.7.1",
89
+ "@suitest/smst-to-text": "^4.8.0",
90
+ "@suitest/translate": "^4.8.0",
90
91
  "@types/node": "^14.0.10",
91
92
  "ajv": "^6.12.2",
92
93
  "ansi-regex": "^5.0.0",