Created
September 24, 2019 06:31
-
-
Save mpahuja/becd2fea0f81a3e016f4900c896c0154 to your computer and use it in GitHub Desktop.
UITests - MapViewTests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import XCTest | |
class MapViewTests: BaseTest { | |
func testMapLocation() { | |
XCTContext.runActivity(named: "Test Map and pointer are rendered") { _ in | |
mapViewPage.tapThirdViewTab() | |
XCTAssertTrue(mapViewPage.isMapDisplayed()) | |
XCTAssertTrue(mapViewPage.isPointerDisplayed()) | |
} | |
XCTContext.runActivity(named: "Test Correct location is being shown") { _ in | |
// Assert default location when launch the app is of same lat and long as set in the app. | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment