chore: sync with danielpaulus main#15
Merged
maciej-lendzion merged 49 commits intobitbar:mainfrom Sep 11, 2025
Merged
Conversation
Co-authored-by: 孙圣翔²⁰₂₁ <oncwnuImVQzmrqH0o4rQfDVAePRA@git.weixin.qq.com>
* fix restapi by upgrading swag, fixing the workspace and replacing screenshottr * Close ScreenshotService Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com> --------- Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com>
Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com>
* allow passing args and envs to app launch * add integration test
* support uninstall * adding swagger doc for uninstall * adding install ednpoint * make install endpoint os independent --------- Co-authored-by: danielpaulus <daniel.paulus@icloud.com>
* basic wda endpoint working * simplify api using post and delete * add docs and change path to /wda/session/
* parse syslog * move syslog parser into syslog package
this value has changed with iOS 17. While this did not cause problems in most cases, UI interruption handlers were broken because of that. They simply stopped firing with that value pointing to the old path
* Add battery ioregistry stats * Add sysmontap cpu usage stats * Add doc * fix: safe type assertions * fix: add system monitor wrapper * fix: simplify to just channel * Dispatch to dedicated Dispatcher in Connection * fix: close channel * fix: deliver CPU sample continuosly * Specify sampling rate --------- Authored-by: fish-sauce <victor.kachalov@saucelabs.com> Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com>
…ed error channel with the buffered channels for unblocking send and receive. (#503) Co-authored-by: Serhat Toktamisoglu <serhat.toktamisoglu@keysight.com>
* only include the description from the userInfo dictionary sometimes those errors contain a screenshot and that creates unreadable logs * Add missing launch option with this option the XCUITest runner is coming into foreground even when there is a popup on the screen when at the time when the runner gets launched
Co-authored-by: danielpaulus <daniel.paulus@icloud.com>
Co-authored-by: fish-sauce <victor.kachalov@saucelabs.com>
* allow setting custom tunnel host
serializing the config makes changes to it and actually invalidates it
* Check for non-empty 'Error' string in 'StartSessionResponse' * Add more context to lockdown session start error Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com> * Fix imports --------- Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com>
* Fix: pass primitive pid to memory limit request * simplify reading --------- Authored-by: fish-sauce <victor.kachalov@saucelabs.com>
The command parser expects `zoomtouch` as the command, but in code we check for `zoom`
Signed-off-by: Muvaffak Onus <me@muvaf.com>
…nning on linux/amd64 (#529) Signed-off-by: Muvaffak Onus <me@muvaf.com>
Signed-off-by: Muvaffak Onus <me@muvaf.com>
) This pull request introduces enhancements to the go-ios tool by adding the ability to parse .xctestrun files, enabling seamless execution of XCTest. The key updates include: Key updates include: 1. Parsing .xctestrun File: A new parseFile method has been implemented to extract test configuration details from the .xctestrun file. The parsed data includes all details needed to execute an xctest like TestHostBundleIdentifier, TestBundlePath, OnlyTestIdentifiers, SkipTestIdentifiers, IsUITestBundle, CommandLineArguments, EnvironmentVariables, and TestingEnvironmentVariables of the xctestrun file. Added a validation step to ensure the FormatVersion of the .xctestrun file is supported. Currently, only FormatVersion 1 is accepted, with clear error messages for unsupported versions. 2. Enhanced CLI Command: Introduced a new ios runxctest command in the CLI with updated explanations for better usability. Allows users to specify xctestrun file path and output preferences. 3. Improved Test Coverage: Added test cases to validate parsing of .xctestrun file. Ensured robust assertions for critical fields like TestHostBundleIdentifier and TestBundlePath. These updates simplify and enhance the process of running XCTest by directly utilizing .xctestrun files, reducing manual setup and ensuring better adaptability to diverse testing scenarios.
Keepaliveidle time should be set more aggresive than the gVisor's 2 hours default idle time. Many NAT and firewalls drop the idle connections more aggressively (30-60 secs apparently). Keepaliveinterval option doesn't take affect as the keep alive probe doesn't start before the idle time reaches. It is 2 hours by default and before it reaches NAT/Firewall close the connection unlike kernel mode TUN device, With this change the idle time will be more aggressive and according to several tests this fix connection drops. Long running test more than 24 hours achieved with this fix.
With this change ENABLE_GO_IOS_AGENT can be set to "user" or "kernel" to start selective mode tunnel. Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com> --------- Co-authored-by: Serhat Toktamisoglu <serhat.toktamisoglu@keysight.com> Co-authored-by: dmissmann <37073203+dmissmann@users.noreply.github.com>
…#547) The method switch in proxydispatcher::Dispatch was missing a few cases, which led to missing XCUITest results when using go-ios on iOS <17 devices. Additionally, the productModuleName field in the XCTestConfiguration appeared to be wrong (also for iOS <17 devices), leading to the same issue of missing test results. It has been changed to match the iOS 17 config, which seems to work better for the test cases I've tried.
Authored-by: fish-sauce <victor.kachalov@saucelabs.com>
By introducing new methods and introducing a new metadata object to extract the version, the parsing becomes easier to read and extend in the future.
* `fsync`: support app container jails * reuce code from afc --------- Co-authored-by: Maximilian Hils <git@maximilianhils.com>
Enable the execution of XCTest cases using .xctestrun configuration files in version 2 format, expanding compatibility and aligning with latest Xcode standards. --------- Co-authored-by: si <simon.schaefer@saucelabs.com>
When go-ios is started in agent mode, the agent terminates when the parent go-ios process terminates. If you run go-ios in multiple terminal for multiple device test automation the this can disrupt other terminal sessions which may be using the first started tunnel. With this PR we use SysProcAttr for *nix and Window platforms. For *nix platforms setting Setsid: true starts agent in an independent new *nix session. And for windows as this setting is not available by OS nature we can use CreationFlags: syscall.CREATE_NEW_PROCESS_GROUP to start the process in a new process group.
Co-authored-by: danielpaulus <daniel.paulus@icloud.com>
[ios] update prepare skip flags
…testrun File (#572) This PR introduces support for handling multiple test configurations within a single xctestrun file. Previously we assumed a single test configuration, which limited its flexibility when working with more complex test setups commonly found in Xcode UI testing workflows.
* Fix saving of in progress failed test suites * Add unit tests to testlistener_test.go * Fix compilation errors
* Fix saving of in progress failed test suites * Add unit tests to testlistener_test.go * Fix compilation errors * Fix stopping of WDA in case of timeout
* Implemented BDD tests support * Fix formatting * Update logic to better handle different test cases and fix search for test cases without status * Update unit tests * Fix formating * Fix formatting
Apple Configurator 2 has this feature of modifying the layout of the home screen on the device. One part of this feature is showing how the layout looks like at the moment, and this is what we provide with this change. We get the list of icons, and their type, for each screen of the home screen
eryk-tkaczewski
approved these changes
Sep 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.