From 416dae3c64c985b554ca1da763416584c5b17e6c Mon Sep 17 00:00:00 2001 From: Lee <55557130+lee-133@users.noreply.github.com> Date: Wed, 11 Dec 2024 10:14:30 -0600 Subject: [PATCH] Update test-configuration-options.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Moved the following 2 capabilities: recordVideo videoUploadOnPass FROM section: Desktop and Mobile Capabilities: Sauce-Specific – Optional TO section: Desktop and Virtual Device Capabilities: Sauce-Specific – Optional As they are not supported on Real Devices. --- docs/dev/test-configuration-options.md | 64 +++++++++++++------------- 1 file changed, 32 insertions(+), 32 deletions(-) diff --git a/docs/dev/test-configuration-options.md b/docs/dev/test-configuration-options.md index ddd5765483..1be5b0b67e 100644 --- a/docs/dev/test-configuration-options.md +++ b/docs/dev/test-configuration-options.md @@ -1970,38 +1970,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 |
@@ -2103,6 +2071,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 |
@@ -2150,6 +2134,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 |