diff --git a/docs/dev/test-configuration-options.md b/docs/dev/test-configuration-options.md index 118c230d7b..8a8b055401 100644 --- a/docs/dev/test-configuration-options.md +++ b/docs/dev/test-configuration-options.md @@ -880,8 +880,7 @@ Using Appium 2? Prevent `appium:`-prefix repetitiveness and start using [`appium Defines the custom time zone override for the application under test. You can use `UTC`, `PST`, `EST`, as well as place-based timezone names such as `America/Los_Angeles`. -See [the list of available time zone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) f -or more details. The same behavior could be achieved by providing a custom +See [the list of available time zone identifiers](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) for more details. The same behavior could be achieved by providing a custom value to the `TZ` environment variable via the `appium:processArguments` capability. :::note @@ -2006,38 +2005,6 @@ Appium tests for the Real Device Cloud using the W3C protocol MUST use `tunnelNa --- -### `recordVideo` - -
| OPTIONAL | BOOLEAN |
- -Use this to disable video recording. By default, Sauce Labs records a video of every test you run. Disabling video recording can be useful for debugging failing tests as well as having a visual confirmation that a certain feature works (or still works). However, there is an added wait time for screen recording during a test run. - -```java -MutableCapabilities capabilities = new MutableCapabilities(); -//... -MutableCapabilities sauceOptions = new MutableCapabilities(); -sauceOptions.setCapability("recordVideo", false); -capabilities.setCapability("sauce:options", sauceOptions); -``` - ---- - -### `videoUploadOnPass` - -| OPTIONAL | BOOLEAN |
- -Disables video upload for passing tests. `videoUploadOnPass` is an alternative to `recordVideo`; it lets you discard videos for tests you've marked as passing. It disables video post-processing and uploading that may otherwise consume some extra time after your test is complete. - -```java -MutableCapabilities capabilities = new MutableCapabilities(); -//... -MutableCapabilities sauceOptions = new MutableCapabilities(); -sauceOptions.setCapability("videoUploadOnPass", false); -capabilities.setCapability("sauce:options", sauceOptions); -``` - ---- - ### `recordScreenshots`| OPTIONAL | BOOLEAN |
@@ -2139,6 +2106,22 @@ capabilities.setCapability("sauce:options", sauceOptions); --- +### `recordVideo` + +| OPTIONAL | BOOLEAN |
+ +Use this to disable video recording. By default, Sauce Labs records a video of every test you run. Disabling video recording can be useful for debugging failing tests as well as having a visual confirmation that a certain feature works (or still works). However, there is an added wait time for screen recording during a test run. + +```java +MutableCapabilities capabilities = new MutableCapabilities(); +//... +MutableCapabilities sauceOptions = new MutableCapabilities(); +sauceOptions.setCapability("recordVideo", false); +capabilities.setCapability("sauce:options", sauceOptions); +``` + +--- + ### `timeZone`| OPTIONAL | STRING | Desktop and Virtual Devices Only |
@@ -2186,6 +2169,22 @@ The same behavior could be achieved by providing a custom value to the --- +### `videoUploadOnPass` + +| OPTIONAL | BOOLEAN |
+ +Disables video upload for passing tests. `videoUploadOnPass` is an alternative to `recordVideo`; it lets you discard videos for tests you've marked as passing. It disables video post-processing and uploading that may otherwise consume some extra time after your test is complete. + +```java +MutableCapabilities capabilities = new MutableCapabilities(); +//... +MutableCapabilities sauceOptions = new MutableCapabilities(); +sauceOptions.setCapability("videoUploadOnPass", false); +capabilities.setCapability("sauce:options", sauceOptions); +``` + +--- + ### Pre-Run Executables| OPTIONAL | Desktop and Virtual Devices Only |
diff --git a/docs/mobile-apps/automated-testing/appium/real-devices.md b/docs/mobile-apps/automated-testing/appium/real-devices.md index 1e6317351f..db68c46d02 100644 --- a/docs/mobile-apps/automated-testing/appium/real-devices.md +++ b/docs/mobile-apps/automated-testing/appium/real-devices.md @@ -278,7 +278,7 @@ To optimize device availability, consistency, and efficiency for multiple tests, To skip the uninstallation and reinstallation of your app from the device, you can set `noReset` to `true` in conjunction with using a `cacheId`. This setting adds efficiency, but may not be suitable for test setups that require the app's state to be reset between tests. ```js -"appium: noReset" : "true", +"appium:noReset" : "true", "sauce:options" : { "cacheId" : "jnc0x1256", }