         XCTAssertEqual(app.navigationBars["Add Spot Detail"].exists, true)
         let tablesQuery = app.tables
         tablesQuery.childrenMatchingType(.Cell).elementBoundByIndex(3).childrenMatchingType(.TextField).element.tap()
-        app.datePickers.pickerWheels["10 o'clock"].swipeUp()
+        app.datePickers.pickerWheels.elementAtIndex(0).swipeUp()
         tablesQuery.textFields["Minimum Donation"].tap()
         tablesQuery.childrenMatchingType(.Cell).elementBoundByIndex(4).childrenMatchingType(.TextField).element.typeText("5")
         app.navigationBars["Add Spot Detail"].buttons["Done"].tap()

        continueAfterFailure = false
        // UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
        XCUIApplication().launch()

        // In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
    }
    

    }
    
    func testRoutineOne(){
        let app = XCUIApplication()
        if app.navigationBars["DonateParkSpot.MapView"].exists {
            testLogout(true)
        }
        testLogin("rafael@kloog.com.br", password: "galo13")
        testLookForSpot("Chicago")
        testBidOnSpot(true)
