mirror of
https://github.com/yattee/yattee.git
synced 2026-02-20 01:39:46 +00:00
Fix UI tests for onboarding flow and AddRemoteServer redesign
- Skip onboarding in tests by setting UserDefaults before launch - Update all addSource.* identifiers to addRemoteServer.* for new flow - Switch from identifier-based to text-based element lookups (iOS 26 AXe limitation) - Add Yattee Server credential support in instance setup - Update baseline screenshots for Home tab and settings
This commit is contained in:
@@ -38,10 +38,13 @@ struct SourceRow: View {
|
||||
rowContent
|
||||
}
|
||||
.buttonStyle(.card)
|
||||
.accessibilityIdentifier(accessibilityId)
|
||||
#else
|
||||
rowContent
|
||||
.contentShape(Rectangle())
|
||||
.onTapGesture(perform: onEdit)
|
||||
.accessibilityElement(children: .combine)
|
||||
.accessibilityIdentifier(accessibilityId)
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -72,7 +75,6 @@ struct SourceRow: View {
|
||||
|
||||
Spacer()
|
||||
}
|
||||
.accessibilityIdentifier(accessibilityId)
|
||||
}
|
||||
|
||||
/// Generates a unique accessibility identifier for the source row.
|
||||
|
||||
Reference in New Issue
Block a user