Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions docs/espresso-supported-capabilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,17 @@ This document provide details about the features and capabilities supported for
| network.har | Boolean | To generate the network logs in .har format, pass the value as `network.har: true` only works with `network:true` |
| build | String | To set the Espresso build name. Example: `build: My Espresso Build`. |
| geoLocation | String | Set the geolocation country code if you want to enable the same in your test. Example - `geoLocation: FR`|
| gpsLocation | Decimal | The capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`|
| tunnel, tunnelName | Boolean | To activate the tunnel mode, pass the value as `tunnel: true` and provide the name of your tunnel as `tunnelName: NewTunnel` |
| disableAnimation | Boolean | Set this to `true` if you want to disable animations for espresso tests. **Default:** `false` |
| clearPackageData | Boolean | Set this to `true` if you want to clear the app data after each test has completed running. **Default**: `false` |
| singleRunnerInvocation | Boolean | Set this to `true` if you want to execute test cases together with a `single test runner invocation`.This can help significantly speed up the test execution time. By default, each test case is invoked separately. **Default:** `false` |

:::note
Ensure that the latitude is between -90 and 90, and the longitude is between -180 and 180. Otherwise, an error will occur like "Invalid GPS location: Latitude must be between -90 and +90, Longitude must be between -180 and +180."
:::


<!-- | env | Map | This feature allows users to pass and retrieve environment variables (like STAGE, PROD, or DEV) during automated Android tests. That is, users can dynamically switch configurations between environments without changing the test code, enabling seamless testing across multiple setups. Learn more about [Environment Variables](https://www.lambdatest.com/support/docs/espresso-env-variables-settings/) | -->
:::caution Important
You can either use **GeoLocation** or **Tunnel** in single execute command. They both are mutually exclusive.
Expand Down
4 changes: 4 additions & 0 deletions docs/getting-started-with-flutter-dart-android-automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,11 @@ The following capabilities are supported:
7. **deviceLog:** Boolean value to generate device logs. Example: `true`.
8. **build:** Set the name of your Flutter test build. Example: `My Flutter Build`.
9. **autoGrantPermissions:** Boolean value to automatically grant the required permissions based on the [Android manifest](https://developer.android.com/guide/topics/manifest/manifest-intro) in the app’s **.apk** Example: `true`.
10. **gpsLocation:** This capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`.

:::note
Ensure that the latitude is between -90 and 90, and the longitude is between -180 and 180. Otherwise, an error will occur like "Invalid GPS location: Latitude must be between -90 and +90, Longitude must be between -180 and +180."
:::


## Running Tests in Parallel
Expand Down
5 changes: 5 additions & 0 deletions docs/getting-started-with-flutter-dart-ios-automation.md
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,11 @@ The following capabilities are supported:
8. **tunnel:** Boolean value to run build via Tunnel. Example: `true`.
9. **tunnelName:** Name of the tunnel to be used in conjunction with `tunnel` capability.
10. **region:** String to device the region from which device will be allocated. Example - `eu`,`us`,`ap`.
11. **gpsLocation:** This capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`.

:::note
Ensure that the latitude is between -90 and 90, and the longitude is between -180 and 180. Otherwise, an error will occur like "Invalid GPS location: Latitude must be between -90 and +90, Longitude must be between -180 and +180."
:::


## Running Tests in Parallel
Expand Down
7 changes: 6 additions & 1 deletion docs/xcui-supported-capibilities.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,15 @@ This document provide details about the features and capabilities supported for
| deviceLog | Boolean | To generate the device logs, pass the value as `deviceLog: true` |
| network | String | To generate the network logs, pass the value as `network: true`. |
| build | String | To set the Espresso build name. Example: `build: My Espresso Build`. |
| geoLocation | String | Set the geolocation country code if you want to enable the same in your test. Example - `geoLocation: FR`|
| geoLocation | String | Set the geolocation country code if you want to enable the same in your test. Example: `geoLocation: FR`|
| gpsLocation | Decimal | The capability should be defined to override the device’s default GPS coordinates and should be provided as a comma-separated string. Example: `"location": {"lat": "-50","long": "150.028333"}`.|
| tunnel, tunnelName | Boolean | To activate the tunnel mode, pass the value as `tunnel: true` and provide the name of your tunnel as `tunnelName: NewTunnel` |
| resignApp <br /> <br />Not supported in **Virtual Devices** | Boolean | Set this to `false` if you want to to prevent the apps from being re-signed. The app should be built for enterprise distribution. |

:::note
Ensure that the latitude is between -90 and 90, and the longitude is between -180 and 180. Otherwise, an error will occur like "Invalid GPS location: Latitude must be between -90 and +90, Longitude must be between -180 and +180."
:::

:::caution Important
You can either use **GeoLocation** or **Tunnel** in single execute command. They both are mutually exclusive.
:::
Loading