Prefix test in-front of UI test methods.

This commit is contained in:
Doug
2022-07-14 17:49:49 +01:00
committed by Doug
parent 0442342fc5
commit e6ea10f3a6
39 changed files with 404 additions and 757 deletions
@@ -17,18 +17,11 @@
import XCTest
import RiotSwiftUI
class UserSuggestionUITests: MockScreenTest {
override class var screenType: MockScreenState.Type {
return MockUserSuggestionScreenState.self
}
override class func createTest() -> MockScreenTest {
return UserSuggestionUITests(selector: #selector(verifyUserSuggestionScreen))
}
func verifyUserSuggestionScreen() throws {
XCTAssert(app.tables.firstMatch.exists)
class UserSuggestionUITests: MockScreenTestCase {
func testUserSuggestionScreen() throws {
app.goToScreenWithIdentifier(MockUserSuggestionScreenState.multipleResults.title)
XCTAssert(app.tables.firstMatch.waitForExistence(timeout: 1))
let firstButton = app.tables.firstMatch.buttons.firstMatch
_ = firstButton.waitForExistence(timeout: 10)