Skip to content

Commit 522e94a

Browse files
a7medevHeshamMegid
authored andcommitted
test: update captain config (#386)
Jira ID: MOB-13002
1 parent 364516a commit 522e94a

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ commands:
3333
steps:
3434
- run:
3535
name: Install Appium
36-
command: npm install -g appium@next
36+
command: npm install -g appium
3737
- when:
3838
condition:
3939
equal:
@@ -42,7 +42,7 @@ commands:
4242
steps:
4343
- run:
4444
name: Install XCUITest Driver
45-
command: appium driver install xcuitest
45+
command: appium driver install xcuitest@4.35.0
4646
- when:
4747
condition:
4848
equal:
@@ -51,7 +51,7 @@ commands:
5151
steps:
5252
- run:
5353
name: Install UIAutomator2 Driver
54-
command: appium driver install uiautomator2
54+
command: appium driver install uiautomator2@2.29.5
5555
- run:
5656
name: Launch Appium
5757
# Enable --relaxed-security for `mobile: shell` command that Captain uses internally.

e2e/Utils/CaptainTest.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ public class CaptainTest : IDisposable
88
private static readonly CaptainConfig _config = new()
99
{
1010
AndroidApp = Path.GetFullPath("../../../../example/build/app/outputs/flutter-apk/app-debug.apk"),
11+
AndroidAppId = "com.instabug.flutter.example",
1112
AndroidVersion = "11",
1213
IosApp = Path.GetFullPath("../../../../example/build/ios/iphonesimulator/Runner.app"),
13-
IosVersion = "15.5"
14+
IosAppId = "com.instabug.InstabugSample",
15+
IosVersion = "15.5",
16+
IosDevice = "iPhone 13 Pro Max"
1417
};
1518
protected static readonly Captain captain = new(_config);
1619

0 commit comments

Comments
 (0)