Skip to content

Commit d4614c5

Browse files
authored
Merge pull request #2116 from sakshamarora-arch/stage
Updated documentation
2 parents f61c0f2 + 1f222bc commit d4614c5

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

docs/hyperexecute-maestro-testing.md

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,14 @@ https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/android
107107
```
108108
</TabItem>
109109

110+
<TabItem value="iOS-Real Device" label="iOS-Real Device" default>
111+
> To enable execution on iOS real devices, install the following [JAR-file](https://prod-mobile-artefacts.lambdatest.com/assets/maestro-cli/1.41.0-beta-1/maestro.jar)
112+
and include it in your payload. This JAR acts as a wrapper to facilitate compatibility with Maestro when running on iOS real devices.
113+
```yaml reference title="hyperexecute.yaml"
114+
https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/ios-realdevice.yaml
115+
```
116+
</TabItem>
117+
110118
<TabItem value="android-emu" label="Android-Emulator" default>
111119

112120
> To enable this for your organizaton, connect with us through our <span className="doc\_\_lt" onClick={() => window.openLTChatWidget()}>**24/7 chat support**</span> or drop us an email to [[email protected]](mailto:[email protected]).
@@ -125,14 +133,6 @@ https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/ios-sim
125133
```
126134
</TabItem>
127135

128-
<TabItem value="iOS-Real Device" label="iOS-Real Device" default>
129-
> For iOS real devices, install the following [JAR-file](https://prod-mobile-artefacts.lambdatest.com/assets/maestro-cli/1.41.0-beta-1/maestro.jar)
130-
and include it in your payload.
131-
```yaml reference title="hyperexecute.yaml"
132-
https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/ios-realdevice.yaml
133-
```
134-
</TabItem>
135-
136136
</Tabs>
137137

138138
## Step 5: Generate JUnit XML Report
@@ -147,6 +147,11 @@ The above command will generate a `report.xml` file in the root directory after
147147
```yaml reference
148148
https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/maestro-test/runTest.sh
149149
```
150+
When running on iOS real devices, you need to use a dedicated script since the execution flow differs slightly from iOS simulators and Android.
151+
152+
```yaml reference
153+
https://github.com/LambdaTest/hyperexecute-maestro-sample-test/blob/main/maestro-test/runTest_ios_realdevice.sh
154+
```
150155

151156
2. Update your HyperExecute YAML file to enable the native reporting in HyperExecute using the generated JUnit XML files.
152157

0 commit comments

Comments
 (0)