Skip to content

Commit

Permalink
test: update captain config (#386)
Browse files Browse the repository at this point in the history
Jira ID: MOB-13002
  • Loading branch information
a7medev authored and HeshamMegid committed Sep 19, 2023
1 parent 364516a commit 522e94a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ commands:
steps:
- run:
name: Install Appium
command: npm install -g appium@next
command: npm install -g appium
- when:
condition:
equal:
Expand All @@ -42,7 +42,7 @@ commands:
steps:
- run:
name: Install XCUITest Driver
command: appium driver install xcuitest
command: appium driver install xcuitest@4.35.0
- when:
condition:
equal:
Expand All @@ -51,7 +51,7 @@ commands:
steps:
- run:
name: Install UIAutomator2 Driver
command: appium driver install uiautomator2
command: appium driver install uiautomator2@2.29.5
- run:
name: Launch Appium
# Enable --relaxed-security for `mobile: shell` command that Captain uses internally.
Expand Down
5 changes: 4 additions & 1 deletion e2e/Utils/CaptainTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,12 @@ public class CaptainTest : IDisposable
private static readonly CaptainConfig _config = new()
{
AndroidApp = Path.GetFullPath("../../../../example/build/app/outputs/flutter-apk/app-debug.apk"),
AndroidAppId = "com.instabug.flutter.example",
AndroidVersion = "11",
IosApp = Path.GetFullPath("../../../../example/build/ios/iphonesimulator/Runner.app"),
IosVersion = "15.5"
IosAppId = "com.instabug.InstabugSample",
IosVersion = "15.5",
IosDevice = "iPhone 13 Pro Max"
};
protected static readonly Captain captain = new(_config);

Expand Down

0 comments on commit 522e94a

Please sign in to comment.