         XCUIDevice.sharedDevice().orientation = .Portrait
         app.buttons["PhotoSliderClose"].tap()
     }
-    
-    
 
 }

    
    func testSwitchImage() {
        let app = XCUIApplication()
        app.descendantsMatchingType(XCUIElementType.Other)["rootView"].tap()
        
        let element = app.scrollViews.matchingIdentifier("PhotoSliderScrollView").elementBoundByIndex(0)
        element.swipeLeft()

    
    func testCloseWithSwipingUpImage() {
        let app = XCUIApplication()
        app.otherElements["rootView"].tap()
        
        let element = app.scrollViews.matchingIdentifier("PhotoSliderScrollView").elementBoundByIndex(0)
        element.swipeUp()
