Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
プラス ボタンをタップした後UITest、ラベル (現在はテキスト : 2) の値が に変更されたかどうかを確認するを作成するにはどうすればよいですか。3
UITest
2
3
let app = XCUIApplication() let textPredicate = NSPredicate(format: "label = %@", "3") expectationForPredicate(textPredicate, evaluatedWithObject: app.staticTexts["numberOfItemsLabel"], handler: nil) app.buttons["increaseNumberOfItemsButton"].tap()