Add UI tests for accepting space invites. (#4602)

* Fix the space visibility icon size in the join room screen.

* Add a UI test for accepting space invites.
This commit is contained in:
Doug
2025-10-09 10:11:02 +01:00
committed by GitHub
parent 0e047477c5
commit c572a1a431
51 changed files with 166 additions and 83 deletions
@@ -78,7 +78,7 @@ struct JoinRoomScreen: View {
.multilineTextAlignment(.center)
} icon: {
if let icon = context.viewState.subtitleIcon {
CompoundIcon(icon)
CompoundIcon(icon, size: .small, relativeTo: .compound.bodyLG)
.foregroundStyle(.compound.iconTertiary)
}
}
@@ -308,6 +308,7 @@ struct JoinRoomScreen: View {
var joinButton: some View {
Button(L10n.screenJoinRoomJoinAction) { context.send(viewAction: .join) }
.buttonStyle(.compound(.super))
.accessibilityIdentifier(A11yIdentifiers.joinRoomScreen.join)
}
@ToolbarContentBuilder