Stabilize iOS UI test foundation and fix flaky suites
This commit is contained in:
@@ -25,9 +25,7 @@ final class MoodLoggingWithDataTests: BaseUITestCase {
|
||||
}
|
||||
|
||||
// Regardless, verify at least one entry row is visible (seeded data)
|
||||
let anyEntry = app.descendants(matching: .any)
|
||||
.matching(NSPredicate(format: "identifier BEGINSWITH %@", "entry_row_"))
|
||||
.firstMatch
|
||||
let anyEntry = app.firstEntryRow
|
||||
XCTAssertTrue(
|
||||
anyEntry.waitForExistence(timeout: 5),
|
||||
"At least one entry row should exist from seeded data"
|
||||
|
||||
Reference in New Issue
Block a user