mobile-dev-inc / maestro

Painless Mobile UI Automation
https://maestro.mobile.dev/
Apache License 2.0
5.87k stars 280 forks source link

App is crashing when i run the test after upgrading xcode using the new simulator #2127

Open VinayR2022 opened 1 week ago

VinayR2022 commented 1 week ago

Is there an existing issue for this?

Steps to reproduce

After building an app , just hitting maestro test **.yaml

Actual results

Running on iPhone 16 Pro - iOS 18.0 - 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9


║ > Flow: clpv2_elitePurchase_banglr

║ ✅ Launch app "fit.cure.ios" with clear state
║ ✅ Clear keychain
║ ❌ Run ../Login/iOS_emailLogin.yaml
║ ✅ Launch app "fit.cure.ios" with clear state
║ ✅ Wait for animation to end
║ ✅ Run iOLogin.js
║ ❌ Tap on id: OTHER_LOGIN
║ 🔲 Long press on "APP_LOGO"
║ 🔲 Tap on point (90%,65%)
║ 🔲 Tap on id: OTHER_LOGIN
║ 🔲 Tap on id: ${output.login.emailSignIn}
║ 🔲 Wait for animation to end
║ 🔲 Tap on id: ${output.login.email}
║ 🔲 Input text ${USEREID}
║ 🔲 Tap on "CONTINUE"
║ 🔲 Wait for animation to end
║ 🔲 Tap on id: textInput, Index: 0
║ 🔲 Input text 1
║ 🔲 Tap on id: textInput, Index: 1
║ 🔲 Input text 32
║ 🔲 Tap on id: textInput, Index: 3 ║ 🔲 Input text 465 ║ 🔲 Run flow when "While using the app" is visible ║ 🔲 Tap on "HOME" ║ 🔲 Tap on "FITNESSHUB" ║ 🔲 Tap on "location_small" ║ 🔲 Tap on "Search for your city" ║ 🔲 Input text Banga ║ 🔲 Tap on "​B​a​n​g​a​l​o​r​e​" ║ 🔲 Tap on "HOME" ║ 🔲 Tap on point (47%,69%) ║ 🔲 Wait for animation to end ║ 🔲 Tap x3 on "Search for a gym." ║ 🔲 Tap on "Search for a gym or cult center" ║ 🔲 Wait for animation to end ║ 🔲 Input text Cult Naga ║ 🔲 Erase 1 characters ║ 🔲 Input text a ║ 🔲 Run flow when "ELITE GYM + CULT CLASSES ." is visible ║ 🔲 Run flow when "CULT CLASSES." is visible ║ 🔲 Tap on "BUY NOW." ║ 🔲 Wait for animation to end ║ 🔲 Tap on "BUY ELITE." ║ 🔲 Wait for animation to end ║ 🔲 Tap on "FITNESS_PACK_WIDGET_12." ║ 🔲 Tap on "NO_COST_EMI_WIDGET." ║ 🔲 Tap on id: NO_COST_EMI_PAGE_No Cost EMI ║ 🔲 Tap on ".SELECT START DATE" ║ 🔲 Tap on "OK" ║ 🔲 Tap on "CHECKOUT_CTA.*" ║ 🔲 Run ../Payment/iOS_payment.yaml

Expected results

Its supposed to detect the Element and not crash the app

About app

It's a native iOS app. There is also an Android version, but the issue is only on ios.

About environment

Ios tests - running on simulator ( ios 18 )

Logs

13:31:40.777 [ INFO] MAESTRO.logSystemInfo: ---- System Info ----
13:31:40.781 [ INFO] MAESTRO.logSystemInfo: Maestro Version: 1.39.1
13:31:40.787 [ INFO] MAESTRO.logSystemInfo: CI: Undefined
13:31:40.788 [ INFO] MAESTRO.logSystemInfo: OS Name: Mac OS X
13:31:40.788 [ INFO] MAESTRO.logSystemInfo: OS Version: 15.0.1
13:31:40.789 [ INFO] MAESTRO.logSystemInfo: Architecture: x86_64
13:31:40.789 [ INFO] MAESTRO.logSystemInfo: Java Version: 0
13:31:41.452 [ INFO] MAESTRO.logSystemInfo: Xcode Version: 16.1
13:31:42.416 [ INFO] MAESTRO.logSystemInfo: Flutter Version: 3.22.3
13:31:43.379 [ INFO] MAESTRO.logSystemInfo: Flutter Channel: stable
13:31:43.380 [ INFO] MAESTRO.logSystemInfo: ---------------------
13:31:46.600 [ INFO] maestro.cli.command.TestCommand.runShardSuite: [shard 1] Selected device 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9 using port 7001
13:31:47.173 [TRACE] ios.xctest.XCTestIOSDevice.open: Opening a connection
13:31:47.173 [TRACE] xcuitest.XCTestDriverClient.restartXCTestRunner: Restarting XCTest Runner (uninstalling, installing and starting)
13:31:47.173 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall$killXCTestRunnerProcess: Will attempt to stop all alive XCTest Runner processes before uninstalling
13:31:47.646 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall$killXCTestRunnerProcess: All XCTest Runner processes were stopped
13:31:47.647 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall: Uninstalling XCTest Runner from device 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:31:47.648 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, uninstall, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, dev.mobile.maestro-driver-iosUITests.xctrunner]
13:31:48.110 [TRACE] xcuitest.XCTestDriverClient.restartXCTestRunner: XCTest Runner uninstalled, will install and start it
13:31:48.111 [ INFO] xcuitest.installer.LocalXCTestInstaller.start: start()
13:31:48.111 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall$killXCTestRunnerProcess: Will attempt to stop all alive XCTest Runner processes before uninstalling
13:31:48.681 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall$killXCTestRunnerProcess: All XCTest Runner processes were stopped
13:31:48.682 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall: Uninstalling XCTest Runner from device 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:31:48.682 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, uninstall, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, dev.mobile.maestro-driver-iosUITests.xctrunner]
13:31:49.129 [ INFO] xcuitest.installer.LocalXCTestInstaller.start: [Start] Install XCUITest runner on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:31:49.660 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Start] Writing xctest run file
13:31:49.667 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Done] Writing xctest run file
13:31:49.667 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: Not able to find ui test runner app running, going to install now
13:31:49.668 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Start] Writing maestro-driver-iosUITests-Runner app
13:31:50.263 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Done] Writing maestro-driver-iosUITests-Runner app
13:31:50.264 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Start] Writing maestro-driver-ios app
13:31:50.318 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Done] Writing maestro-driver-ios app
13:31:50.318 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Start] Running XcUITest with `xcodebuild test-without-building`
13:31:50.334 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcodebuild, test-without-building, -xctestrun, /var/folders/94/mkj1k19n2ns1kg2vffwvc3zm0000gn/T/5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9/maestro-driver-ios-config.xctestrun, -destination, id=5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, -derivedDataPath, /var/folders/94/mkj1k19n2ns1kg2vffwvc3zm0000gn/T/maestro_xctestrunner_xcodebuild_output3113837668138639025]
13:31:50.372 [ INFO] xcuitest.installer.LocalXCTestInstaller.startXCTestRunner: [Done] Running XcUITest with `xcodebuild test-without-building`
13:31:50.372 [ INFO] xcuitest.installer.LocalXCTestInstaller.start: [Done] Install XCUITest runner on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:31:50.372 [ INFO] xcuitest.installer.LocalXCTestInstaller.start: [Start] Ensure XCUITest runner is running on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:31:50.372 [ INFO] xcuitest.installer.LocalXCTestInstaller.ensureOpen: ensureOpen(): Will spend 120000 ms waiting for the channel to become alive
13:31:58.607 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Start] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:31:58.634 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Failed] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, exception: java.net.ConnectException: Failed to connect to /[0:0:0:0:0:0:0:1]:7001
13:31:59.391 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Start] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:31:59.396 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Failed] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, exception: java.net.ConnectException: Failed to connect to /[0:0:0:0:0:0:0:1]:7001
13:32:00.309 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Start] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:32:00.312 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Failed] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, exception: java.net.ConnectException: Failed to connect to /[0:0:0:0:0:0:0:1]:7001
13:32:01.135 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Start] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:32:01.294 [ INFO] xcuitest.installer.LocalXCTestInstaller.xcTestDriverStatusCheck: [Done] Perform XCUITest driver status check on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:32:01.297 [ INFO] xcuitest.installer.LocalXCTestInstaller.ensureOpen: ensureOpen() finished, is channel alive?: true
13:32:01.298 [ INFO] xcuitest.installer.LocalXCTestInstaller.start: [Done] Ensure XCUITest runner is running on 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:32:01.528 [ INFO] maestro.Maestro.invoke: Getting device info
13:32:01.761 [ INFO] ios.xctest.XCTestIOSDevice.invoke: Device info DeviceInfo(widthPixels=1206, heightPixels=2622, widthPoints=402, heightPoints=874)
13:32:01.763 [ INFO] maestro.Maestro.invoke: Got device info: DeviceInfo(platform=IOS, widthPixels=1206, heightPixels=2622, widthGrid=402, heightGrid=874)
13:32:02.152 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Define variables RUNNING
13:32:02.179 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Define variables metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(defineVariablesCommand=DefineVariablesCommand(env={MAESTRO_FILENAME=clpv2_elitePurchase_banglr}, label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:02.194 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Define variables COMPLETED
13:32:02.201 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Apply configuration RUNNING
13:32:02.213 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Apply configuration metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(applyConfigurationCommand=ApplyConfigurationCommand(config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:02.221 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Apply configuration COMPLETED
13:32:02.225 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Launch app "fit.cure.ios" with clear state RUNNING
13:32:02.236 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Launch app "fit.cure.ios" with clear state metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(launchAppCommand=LaunchAppCommand(appId=fit.cure.ios, clearState=true, clearKeychain=null, stopApp=null, permissions=null, launchArguments=null, label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:02.245 [ INFO] maestro.Maestro.clearAppState: Clearing app state fit.cure.ios
13:32:02.246 [ INFO] util.LocalSimulatorUtils.clearAppState: Clearing app fit.cure.ios state
13:32:03.438 [ INFO] util.LocalSimulatorUtils.reinstallApp: Copying app binary from /Users/vinay/Library/Developer/CoreSimulator/Devices/5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9/data/Containers/Bundle/Application/D51A091C-22E9-4CD4-B174-02A3714DF42E/fit.cure.ios-1731052290143.app to /var/folders/94/mkj1k19n2ns1kg2vffwvc3zm0000gn/T/8203437943392495718/fit.cure.ios-1731052923438.app
13:32:04.439 [ INFO] util.LocalSimulatorUtils.reinstallApp: Reinstalling and launching fit.cure.ios
13:32:04.440 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, uninstall, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, fit.cure.ios]
13:32:04.770 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, install, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, /var/folders/94/mkj1k19n2ns1kg2vffwvc3zm0000gn/T/8203437943392495718/fit.cure.ios-1731052923438.app]
13:32:07.223 [ INFO] util.LocalSimulatorUtils.reinstallApp: App fit.cure.ios reinstalled and launched
13:32:07.227 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [/Users/vinay/.maestro/deps/applesimutils, --byId, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, --bundle, fit.cure.ios, --setPermissions, calendar=YES,camera=YES,contacts=YES,faceid=YES,homekit=YES,medialibrary=YES,microphone=YES,motion=YES,photos=YES,reminders=YES,siri=YES,speech=YES,userTracking=YES]
13:32:07.879 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, privacy, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, grant, location-always, fit.cure.ios]
13:32:08.274 [ INFO] maestro.Maestro.launchApp: Launching app fit.cure.ios
13:32:08.544 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, spawn, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, launchctl, setenv, MAESTRO_SESSION_ID, e7105712-0664-4291-8974-f1bf3b79bf72]
13:32:08.957 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, launch, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, fit.cure.ios]
13:32:09.341 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Launch app "fit.cure.ios" with clear state COMPLETED
13:32:09.366 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Clear keychain RUNNING
13:32:09.370 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Clear keychain metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(clearKeychainCommand=maestro.orchestra.ClearKeychainCommand@3e6534e7), logMessages=[], insight=Insight(message=, level=NONE))
13:32:09.377 [ INFO] maestro.Maestro.clearKeychain: Clearing keychain
13:32:09.377 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, spawn, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, launchctl, stop, com.apple.securityd]
13:32:09.786 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [rm, -rf, /Users/vinay/Library/Developer/CoreSimulator/Devices/5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9/data/Library/Keychains]
13:32:09.823 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, spawn, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, launchctl, start, com.apple.securityd]
13:32:10.261 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Clear keychain COMPLETED
13:32:10.274 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run ../Login/iOS_emailLogin.yaml RUNNING
13:32:10.288 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run ../Login/iOS_emailLogin.yaml metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(defineVariablesCommand=DefineVariablesCommand(env={USEREID=qa.manual@curefit.com}, label=null, optional=false)), MaestroCommand(applyConfigurationCommand=ApplyConfigurationCommand(config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), MaestroCommand(launchAppCommand=LaunchAppCommand(appId=fit.cure.ios, clearState=true, clearKeychain=null, stopApp=null, permissions=null, launchArguments=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=30000, label=null, optional=false)), MaestroCommand(runScriptCommand=RunScriptCommand(script=// iOlogin.js
console.log("adlogin.js script started");

output.login = {
  OTLogin: "OTHER_LOGIN",
  emailSignIn: "LOGIN",
  email: "email",
  enterEmail: "culttest@curefit.com",
  PWD: "132465",
};
, env={}, sourceDescription=iOLogin.js, condition=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=APP_LOGO, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=true, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnPointV2Command=TapOnPointV2Command(point=90%,65%, retryIfNoChange=true, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.emailSignIn}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=20000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.email}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=${USEREID}, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=CONTINUE, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=3000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=0, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=1, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=1, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=32, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=3, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=465, label=null, optional=false)), MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false))], condition=Condition(platform=null, visible=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), notVisible=null, scriptCondition=null, label=null), sourceDescription=null, config=null, label=null, optional=false))], condition=null, sourceDescription=../Login/iOS_emailLogin.yaml, config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:10.291 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Define variables RUNNING
13:32:10.327 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Define variables metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(defineVariablesCommand=DefineVariablesCommand(env={USEREID=qa.manual@curefit.com}, label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:10.347 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Define variables COMPLETED
13:32:10.354 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Apply configuration RUNNING
13:32:10.357 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Apply configuration metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(applyConfigurationCommand=ApplyConfigurationCommand(config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:10.361 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Apply configuration COMPLETED
13:32:10.365 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Launch app "fit.cure.ios" with clear state RUNNING
13:32:10.372 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Launch app "fit.cure.ios" with clear state metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(launchAppCommand=LaunchAppCommand(appId=fit.cure.ios, clearState=true, clearKeychain=null, stopApp=null, permissions=null, launchArguments=null, label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:10.380 [ INFO] maestro.Maestro.clearAppState: Clearing app state fit.cure.ios
13:32:10.380 [ INFO] util.LocalSimulatorUtils.clearAppState: Clearing app fit.cure.ios state
13:32:11.454 [ INFO] util.LocalSimulatorUtils.reinstallApp: Copying app binary from /Users/vinay/Library/Developer/CoreSimulator/Devices/5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9/data/Containers/Bundle/Application/9612EF3C-2316-4842-8F5F-D2549B5D2E42/fit.cure.ios-1731052923438.app to /var/folders/94/mkj1k19n2ns1kg2vffwvc3zm0000gn/T/828986336097524876/fit.cure.ios-1731052931453.app
13:32:12.319 [ INFO] util.LocalSimulatorUtils.reinstallApp: Reinstalling and launching fit.cure.ios
13:32:12.319 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, uninstall, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, fit.cure.ios]
13:32:12.658 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, install, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, /var/folders/94/mkj1k19n2ns1kg2vffwvc3zm0000gn/T/828986336097524876/fit.cure.ios-1731052931453.app]
13:32:15.083 [ INFO] util.LocalSimulatorUtils.reinstallApp: App fit.cure.ios reinstalled and launched
13:32:15.084 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [/Users/vinay/.maestro/deps/applesimutils, --byId, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, --bundle, fit.cure.ios, --setPermissions, calendar=YES,camera=YES,contacts=YES,faceid=YES,homekit=YES,medialibrary=YES,microphone=YES,motion=YES,photos=YES,reminders=YES,siri=YES,speech=YES,userTracking=YES]
13:32:15.449 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, privacy, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, grant, location-always, fit.cure.ios]
13:32:15.720 [ INFO] maestro.Maestro.launchApp: Launching app fit.cure.ios
13:32:15.996 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, spawn, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, launchctl, setenv, MAESTRO_SESSION_ID, e7105712-0664-4291-8974-f1bf3b79bf72]
13:32:16.408 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, launch, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, fit.cure.ios]
13:32:16.772 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Launch app "fit.cure.ios" with clear state COMPLETED
13:32:16.799 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Wait for animation to end RUNNING
13:32:16.803 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Wait for animation to end metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=30000, label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:16.809 [ INFO] maestro.Maestro.waitForAnimationToEnd: Waiting for animation to end with timeout 30000
13:32:16.814 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
13:32:16.815 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
13:32:17.232 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
13:32:17.232 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
13:32:19.225 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
13:32:19.227 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
13:32:19.401 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to byte array
13:32:19.403 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
13:32:19.873 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Wait for animation to end COMPLETED
13:32:19.890 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run iOLogin.js RUNNING
13:32:19.893 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run iOLogin.js metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(runScriptCommand=RunScriptCommand(script=// iOlogin.js
console.log("adlogin.js script started");

output.login = {
  OTLogin: "OTHER_LOGIN",
  emailSignIn: "LOGIN",
  email: "email",
  enterEmail: "culttest@curefit.com",
  PWD: "132465",
};
, env={}, sourceDescription=iOLogin.js, condition=null, label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:19.915 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Define variables metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(defineVariablesCommand=DefineVariablesCommand(env={USEREID=qa.manual@curefit.com}, label=null, optional=false)), logMessages=[adlogin.js script started], insight=Insight(message=, level=NONE))
13:32:19.924 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run iOLogin.js COMPLETED
13:32:19.927 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Tap on id: OTHER_LOGIN RUNNING
13:32:19.930 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Tap on id: OTHER_LOGIN metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:20.005 [ INFO] ios.xctest.XCTestIOSDevice.invoke: Device info DeviceInfo(widthPixels=1206, heightPixels=2622, widthPoints=402, heightPoints=874)
13:32:20.005 [ INFO] ios.IOSDevice.viewHierarchy: Requesting view hierarchy of the screen
13:32:35.018 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run ../Login/iOS_emailLogin.yaml metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(defineVariablesCommand=DefineVariablesCommand(env={USEREID=qa.manual@curefit.com}, label=null, optional=false)), MaestroCommand(applyConfigurationCommand=ApplyConfigurationCommand(config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), MaestroCommand(launchAppCommand=LaunchAppCommand(appId=fit.cure.ios, clearState=true, clearKeychain=null, stopApp=null, permissions=null, launchArguments=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=30000, label=null, optional=false)), MaestroCommand(runScriptCommand=RunScriptCommand(script=// iOlogin.js
console.log("adlogin.js script started");

output.login = {
  OTLogin: "OTHER_LOGIN",
  emailSignIn: "LOGIN",
  email: "email",
  enterEmail: "culttest@curefit.com",
  PWD: "132465",
};
, env={}, sourceDescription=iOLogin.js, condition=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=APP_LOGO, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=true, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnPointV2Command=TapOnPointV2Command(point=90%,65%, retryIfNoChange=true, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.emailSignIn}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=20000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.email}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=${USEREID}, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=CONTINUE, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=3000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=0, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=1, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=1, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=32, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=3, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=465, label=null, optional=false)), MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false))], condition=Condition(platform=null, visible=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), notVisible=null, scriptCondition=null, label=null), sourceDescription=null, config=null, label=null, optional=false))], condition=null, sourceDescription=../Login/iOS_emailLogin.yaml, config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), logMessages=[], insight=Insight(message=Retrieving the hierarchy is taking longer than usual. This might be due to a deep hierarchy in the current view. Please wait a bit more to complete the operation., level=WARNING))
13:32:39.682 [TRACE] ios.xctest.XCTestIOSDevice.invoke: Depth received: 24
13:32:39.684 [ INFO] ios.IOSDevice.viewHierarchy: Depth of the screen is 24
13:32:39.686 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run ../Login/iOS_emailLogin.yaml metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(defineVariablesCommand=DefineVariablesCommand(env={USEREID=qa.manual@curefit.com}, label=null, optional=false)), MaestroCommand(applyConfigurationCommand=ApplyConfigurationCommand(config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), MaestroCommand(launchAppCommand=LaunchAppCommand(appId=fit.cure.ios, clearState=true, clearKeychain=null, stopApp=null, permissions=null, launchArguments=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=30000, label=null, optional=false)), MaestroCommand(runScriptCommand=RunScriptCommand(script=// iOlogin.js
console.log("adlogin.js script started");

output.login = {
  OTLogin: "OTHER_LOGIN",
  emailSignIn: "LOGIN",
  email: "email",
  enterEmail: "culttest@curefit.com",
  PWD: "132465",
};
, env={}, sourceDescription=iOLogin.js, condition=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=APP_LOGO, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=true, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnPointV2Command=TapOnPointV2Command(point=90%,65%, retryIfNoChange=true, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.emailSignIn}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=20000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.email}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=${USEREID}, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=CONTINUE, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=3000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=0, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=1, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=1, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=32, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=3, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=465, label=null, optional=false)), MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false))], condition=Condition(platform=null, visible=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), notVisible=null, scriptCondition=null, label=null), sourceDescription=null, config=null, label=null, optional=false))], condition=null, sourceDescription=../Login/iOS_emailLogin.yaml, config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:39.860 [ INFO] ios.xctest.XCTestIOSDevice.invoke: Device info DeviceInfo(widthPixels=1206, heightPixels=2622, widthPoints=402, heightPoints=874)
13:32:39.860 [ INFO] ios.IOSDevice.viewHierarchy: Requesting view hierarchy of the screen
13:32:41.327 [TRACE] ios.xctest.XCTestIOSDevice.invoke: Depth received: 21
13:32:41.328 [ INFO] ios.IOSDevice.viewHierarchy: Depth of the screen is 21
13:32:41.328 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run ../Login/iOS_emailLogin.yaml metadata CommandMetadata(numberOfRuns=null, evaluatedCommand=MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(defineVariablesCommand=DefineVariablesCommand(env={USEREID=qa.manual@curefit.com}, label=null, optional=false)), MaestroCommand(applyConfigurationCommand=ApplyConfigurationCommand(config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), MaestroCommand(launchAppCommand=LaunchAppCommand(appId=fit.cure.ios, clearState=true, clearKeychain=null, stopApp=null, permissions=null, launchArguments=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=30000, label=null, optional=false)), MaestroCommand(runScriptCommand=RunScriptCommand(script=// iOlogin.js
console.log("adlogin.js script started");

output.login = {
  OTLogin: "OTHER_LOGIN",
  emailSignIn: "LOGIN",
  email: "email",
  enterEmail: "culttest@curefit.com",
  PWD: "132465",
};
, env={}, sourceDescription=iOLogin.js, condition=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=APP_LOGO, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=true, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnPointV2Command=TapOnPointV2Command(point=90%,65%, retryIfNoChange=true, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=OTHER_LOGIN, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=5000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.emailSignIn}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=20000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=${output.login.email}, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=${USEREID}, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=CONTINUE, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(waitForAnimationToEndCommand=WaitForAnimationToEndCommand(timeout=3000, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=0, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=1, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=1, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=32, label=null, optional=false)), MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=null, idRegex=textInput, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=3, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false)), MaestroCommand(inputTextCommand=InputTextCommand(text=465, label=null, optional=false)), MaestroCommand(runFlowCommand=RunFlowCommand(commands=[MaestroCommand(tapOnElementCommand=TapOnElementCommand(selector=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), retryIfNoChange=true, waitUntilVisible=false, longPress=false, repeat=null, waitToSettleTimeoutMs=null, label=null, optional=false))], condition=Condition(platform=null, visible=ElementSelector(textRegex=While using the app, idRegex=null, size=null, below=null, above=null, leftOf=null, rightOf=null, containsChild=null, containsDescendants=null, traits=null, index=null, enabled=null, optional=false, selected=null, checked=null, focused=null, childOf=null), notVisible=null, scriptCondition=null, label=null), sourceDescription=null, config=null, label=null, optional=false))], condition=null, sourceDescription=../Login/iOS_emailLogin.yaml, config=MaestroConfig(appId=fit.cure.ios, name=null, tags=[loginmodal], ext={}, onFlowStart=null, onFlowComplete=null), label=null, optional=false)), logMessages=[], insight=Insight(message=, level=NONE))
13:32:41.351 [ INFO] maestro.Maestro.takeScreenshot: Taking screenshot
13:32:41.351 [TRACE] maestro.utils.ScreenshotUtils.takeScreenshot: Taking screenshot to output sink
13:32:41.485 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Tap on id: OTHER_LOGIN FAILED
13:32:41.490 [ INFO] maestro.cli.runner.MaestroCommandRunner.invoke: Run ../Login/iOS_emailLogin.yaml FAILED
13:32:45.271 [ INFO] xcuitest.installer.LocalXCTestInstaller.close: [Start] Cleaning up the ui test runner files
13:32:45.411 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall$killXCTestRunnerProcess: Will attempt to stop all alive XCTest Runner processes before uninstalling
13:32:45.412 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall$killXCTestRunnerProcess: XCTest Runner process started by us is alive, killing it
13:32:45.964 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall$killXCTestRunnerProcess: All XCTest Runner processes were stopped
13:32:45.964 [TRACE] xcuitest.installer.LocalXCTestInstaller.uninstall: Uninstalling XCTest Runner from device 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9
13:32:45.964 [ INFO] util.CommandLineUtils.runCommand: Running command line operation: [xcrun, simctl, uninstall, 5F7C4BD4-1B9D-464E-8FF7-CCE2B15B01A9, dev.mobile.maestro-driver-iosUITests.xctrunner]
13:32:46.372 [ INFO] xcuitest.installer.LocalXCTestInstaller.close: [Done] Cleaning up the ui test runner files

Maestro version

1.39.1

How did you install Maestro?

install script (https://get.maestro.mobile.dev)

Anything else?

No response

linear[bot] commented 1 week ago

MA-2511 App is crashing when i run the test after upgrading xcode using the new simulator