mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-21 00:52:43 +02:00
Prefix test in-front of UI test methods.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user