mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-23 01:52:44 +02:00
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:
@@ -20,8 +20,9 @@ import XCTest
|
||||
extension XCUIApplication {
|
||||
func goToScreenWithIdentifier(_ identifier: String) {
|
||||
let button = self.buttons[identifier]
|
||||
let lastLabel = staticTexts["lastItem"]
|
||||
|
||||
while !button.isHittable {
|
||||
while !button.isHittable && !lastLabel.isHittable {
|
||||
self.tables.firstMatch.swipeUp()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user