Check the result

ส่วนสุดท้ายคือตรวจสอบผลลัพธ์ที่ได้

func test_given_1_should_be_1() {
        app?.textFields["numberInput"].tap()
        app?.textFields["numberInput"].typeText("1")

        app?.buttons["Say!"].tap()

        XCTAssert( (app?.staticTexts["1"].exists)!, "Text 1 Should Exists In Screen.")
    }

results matching ""

    No results matching ""