Latest 1.1
Homepage https://github.com/dstranz/XCUITestsAdditions
License MIT
Platforms ios 7.0, requires ARC
Frameworks XCTest
Authors

Version
License
Platform

XCUITestsAdditions provides simple methods that may help you in everyday work with XCode UI Tests.

Usage

Before use import XCTestCase+WaitingForElement.h in your XCTestCase file.

Waiting for UI element with 15 seconds timeout

XCUIElement button = app.buttons["TestButton"];
[self waitForElement:button];

Waiting for UI element with custom timeout

XCUIElement button = app.buttons["TestButton"];
[self waitForElement:button withTimeout:60];

Waiting for hittable UI element with 15 seconds timeout

XCUIElement button = app.buttons["TestButton"];
[self waitForElementHittable:button];

Waiting for hittable UI element with custom timeout

XCUIElement button = app.buttons["TestButton"];
[self waitForElementHittable:button withTimeout:60];

Requirements

Pod is designed to use with UI Tests (available in XCode 7)

Installation

XCUITestsAdditions is available through CocoaPods. To install
it, simply add the following line to your Podfile:

target "UITestTarget" do
    pod "XCUITestsAdditions"
end

Pod should be added only to UITests target. Replace UITestTarget with your target name.

License

XCUITestsAdditions is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "XCUITestsAdditions",
    "version": "1.1",
    "summary": "Convenient methods used for waiting for UI elements",
    "description": "XCUITestsAdditions provides simple methods that may help you in everyday work with XCode UI Tests.",
    "homepage": "https://github.com/dstranz/XCUITestsAdditions",
    "license": "MIT",
    "authors": {
        "Dominique Stranz": "[email protected]"
    },
    "source": {
        "git": "https://github.com/dstranz/XCUITestsAdditions.git",
        "tag": "1.1"
    },
    "social_media_url": "https://twitter.com/dstranz",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "frameworks": "XCTest"
}

Pin It on Pinterest

Share This