Fix UI Tests and run on PRs

- Add missing screen states.
- Detect the bottom of the screen list and stop scrolling if screen state wasn't found.
- Remove unimplemented tests to speed up the run.
- Remove failed button checks in MatrixItemChooserUITests
This commit is contained in:
Doug
2022-04-20 17:40:44 +01:00
committed by Doug
parent 096adebe4d
commit 7c8aa40cac
16 changed files with 131 additions and 83 deletions

View File

@@ -19,17 +19,5 @@ import RiotSwiftUI
@available(iOS 14.0, *)
class RoomUpgradeUITests: MockScreenTest {
override class var screenType: MockScreenState.Type {
return MockRoomUpgradeScreenState.self
}
override class func createTest() -> MockScreenTest {
return RoomUpgradeUITests(selector: #selector(verifyRoomUpgradeScreen))
}
func verifyRoomUpgradeScreen() throws {
guard let screenState = screenState as? MockRoomUpgradeScreenState else { fatalError("no screen") }
}
// Tests to be implemented.
}