Stabilize iOS UI test foundation and fix flaky suites

This commit is contained in:
Trey t
2026-02-17 22:24:08 -06:00
parent c28d7a59eb
commit 56ac783219
38 changed files with 543 additions and 585 deletions

View File

@@ -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"