{"id":20683167,"url":"https://github.com/chimehq/uitestingplus","last_synced_at":"2025-04-22T12:22:02.474Z","repository":{"id":61852419,"uuid":"550263655","full_name":"ChimeHQ/UITestingPlus","owner":"ChimeHQ","description":"Utilities for working with XCUI testing","archived":false,"fork":false,"pushed_at":"2023-08-25T17:19:02.000Z","size":26,"stargazers_count":40,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-24T16:37:41.938Z","etag":null,"topics":["macos","swift","uitesting","xctest"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChimeHQ.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-10-12T13:17:10.000Z","updated_at":"2025-02-12T20:03:31.000Z","dependencies_parsed_at":"2023-02-14T03:45:44.841Z","dependency_job_id":null,"html_url":"https://github.com/ChimeHQ/UITestingPlus","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeHQ%2FUITestingPlus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeHQ%2FUITestingPlus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeHQ%2FUITestingPlus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChimeHQ%2FUITestingPlus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChimeHQ","download_url":"https://codeload.github.com/ChimeHQ/UITestingPlus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250237948,"owners_count":21397420,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["macos","swift","uitesting","xctest"],"created_at":"2024-11-16T22:15:37.894Z","updated_at":"2025-04-22T12:22:02.426Z","avatar_url":"https://github.com/ChimeHQ.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License][license badge]][license]\n[![Platforms][platforms badge]][platforms]\n[![Documentation][documentation badge]][documentation]\n\n# UITestingPlus\nUtilities for working with XCUI testing.\n\n## Integration\n\n```swift\ndependencies: [\n    .package(url: \"https://github.com/ChimeHQ/UITestingPlus\", branch: \"main\")\n]\n```\n\n## XCUIApplication Extensions\n\n### Menus\n\n```swift\nvar windowMenuItemTitles: [String]\nvar windowMenuItemWindowTitles: [String]\nvar recentMenuItemTitles: [String]\n```\n\n### Windows\n\n```swift\nfunc launchWithNoWindows()\nfunc closeExistingWindows()\nvar frontWindow: XCUIElement\nfunc resetLaunchEnvironmentAndArguments()\nfunc quit()\n```\n\n### Documents\n\n```swift\nfunc saveFrontmostDocument() throws\nfunc closeFrontmostDocument() throws\nfunc createNewDocument() throws\nfunc saveDocument(in window: XCUIElement) throws\nfunc saveDocument(in window: XCUIElement, to url: URL, overwrite: Bool = true) throws\nfunc openDocument(with url: URL) -\u003e XCUIElement\n```\n\n### Built-in Applications\n\n```swift\nstatic let springboard: XCUIApplication\nstatic let safari: XCUIApplication\nstatic let settings: XCUIApplication\nstatic let files: XCUIApplication\nstatic let photos: XCUIApplication\n```\n\n## XCUIElement Extensions\n\n### Text Editing\n\n```swift\nfunc replaceTextWith(_ string: String)\nfunc replaceTextWithPasteboard()\nfunc appendText(_ string: String)\nfunc deleteText()\n\nfunc stringValue(in range: NSRange? = nil) throws -\u003e String\nfunc navigateTextView(to line: Int, column: Int) throws\n```\n\n### Existance\n\n```swift\nfunc waitForNonExistence(timeout: TimeInterval) -\u003e Bool\n```\n\n## Classes\n\n- `HittableElementExpectation`\n\n## Suggestions or Feedback\n\nWe'd love to hear from you! Get in touch via an issue or pull request.\n\nPlease note that this project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.\n\n[license]: https://opensource.org/licenses/BSD-3-Clause\n[license badge]: https://img.shields.io/github/license/ChimeHQ/UITestingPlus\n[platforms]: https://swiftpackageindex.com/ChimeHQ/UITestingPlus\n[platforms badge]: https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FChimeHQ%2FUITestingPlus%2Fbadge%3Ftype%3Dplatforms\n[documentation]: https://swiftpackageindex.com/ChimeHQ/UITestingPlus/main/documentation\n[documentation badge]: https://img.shields.io/badge/Documentation-DocC-blue\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimehq%2Fuitestingplus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchimehq%2Fuitestingplus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchimehq%2Fuitestingplus/lists"}