Compare commits

..

2 Commits

Author SHA1 Message Date
jonkykong 082813937e Updated podspec 2019-10-10 21:13:00 -07:00
jonkykong 538e84a26d Updated tests 2019-10-10 21:10:55 -07:00
2 changed files with 6 additions and 10 deletions
+5 -9
View File
@@ -17,9 +17,6 @@ class ExampleTests: XCTestCase {
private var mainViewController: XCUIElement {
return app.navigationBars[swipeHere]
}
private var mainViewControllerNavigation: XCUIElement {
return mainViewController.otherElements[swipeHere]
}
override func setUp() {
// Put setup code here. This method is called before the invocation of each test method in the class.
@@ -55,19 +52,18 @@ class ExampleTests: XCTestCase {
mainViewController.buttons["Right Menu"].tap()
app.tables/*@START_MENU_TOKEN@*/.staticTexts["Present View Controller 1"]/*[[".cells.staticTexts[\"Present View Controller 1\"]",".staticTexts[\"Present View Controller 1\"]"],[[[-1,1],[-1,0]]],[0]]@END_MENU_TOKEN@*/.tap()
app.buttons["Dismiss"].tap()
mainViewController.tap()
validate()
}
}
func testSwiping() {
mainViewControllerNavigation.swipeRight()
let element = app.children(matching: .window).element(boundBy: 0).children(matching: .other).element
element.swipeLeft()
mainViewController.swipeRight()
mainViewController.swipeLeft()
validate()
element.swipeLeft()
mainViewControllerNavigation.swipeLeft()
element.swipeRight()
mainViewController.swipeLeft()
mainViewController.swipeRight()
validate()
}
+1 -1
View File
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "SideMenu"
s.version = "6.4.3"
s.version = "6.4.4"
s.summary = "Simple side menu control for iOS in Swift inspired by Facebook. Right and Left sides. No coding required."
# This description is used to generate tags and improve search results.