Skip to content

Commit 0fec9aa

Browse files
xcui updates
1 parent 309f09f commit 0fec9aa

File tree

1 file changed

+1
-34
lines changed

1 file changed

+1
-34
lines changed

docs/xcui-visual-regression.md

Lines changed: 1 addition & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ XCUI (XCTest UI) is Apple's native UI testing framework used for testing iOS app
5858
- Access to an **iOS** app (.ipa) and an **iOS Test** app (.ipa file).
5959
- Go to [`LambdaTest SmartUI`](https://smartui.lambdatest.com/) and login along with your credentials.
6060

61-
<!-- :::tip
62-
If you do not have any **Android** app (.apk) and an **Android Test** app (.apk) file, you can run your sample tests on LambdaTest by using our sample :link: [Android app](https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_android.apk) and a sample :link: [Espresso Test](https://prod-mobile-artefacts.lambdatest.com/assets/docs/proverbial_android_expressotest.apk).
63-
::: -->
64-
6561
## Step 1: Create a SmartUI Project
6662

6763
The first step is to create a project with the application in which we will combine all your **builds** run on the project.
@@ -73,8 +69,6 @@ To create a SmartUI Project, follow these steps:
7369
4. Add name of the project, approvers for the changes found, tags for any filter or easy navigation.
7470
5. Click on the **Submit**.
7571

76-
<!-- <img loading="lazy" src={require('../assets/images/uploads/smart-ui-1.webp').default} alt="cmd" width="768" height="373" className="doc_img"/> -->
77-
7872
## Step 2: Set up your Authentication
7973

8074
Now, you need to export your environment variables LT_USERNAME and LT_ACCESS_KEY that are available in the [LambdaTest Profile page](https://accounts.lambdatest.com/details/profile).
@@ -105,33 +99,6 @@ set LT_ACCESS_KEY=${ YOUR_LAMBDATEST_ACCESS_KEY()}`}
10599
</TabItem>
106100
</Tabs>
107101

108-
<!-- ## Step 3: Update your App Configurations
109-
110-
> It should be in your app configurations then only you can perform the Espresso integration.
111-
112-
- In your `build.gradle` file, add the [lambdatest-espresso](https://central.sonatype.com/artifact/io.github.lambdatest/lambdatest-espresso) dependency:
113-
114-
```bash
115-
implementation 'io.github.lambdatest:lambdatest-espresso:1.0.1'
116-
```
117-
118-
- Initialize this dependency in your test classes. You can do it as follows:
119-
120-
```bash java
121-
import io.github.lambdatest.LTApp;
122-
public class BrowserTest {
123-
124-
LTApp smartUIApp = new LTApp();
125-
126-
@Test
127-
public void checkBrowserPageIsOpened() throws InterruptedException {
128-
String response = smartUIApp.screenshot("LT-Espresso-Test");
129-
}
130-
}
131-
```
132-
133-
Now build your application. -->
134-
135102
## Step 3: Upload your Application
136103

137104
To begin testing, upload your iOS application (.ipa file) to LambdaTest's servers. You'll use our **REST API** for this process.
@@ -222,7 +189,7 @@ curl --location 'https://mobile-api.lambdatest.com/framework/v1/xcui/build' \
222189
--header 'Authorization: Basic BASIC_AUTH_TOKEN' \
223190
--header 'Content-Type: application/json' \
224191
--data '{
225-
"app" : "lAPP_ID", //enter your app-id
192+
"app" : "APP_ID", //enter your app-id
226193
"testSuite": "TEST_SUITE_ID", //enter your test-suite id
227194
"device" : ["iPhone 13-16"], //enter your device names
228195
"smartUI.project": "XCUI-SmartUI-Project",

0 commit comments

Comments
 (0)