mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 00:49:44 +00:00
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:
@@ -53,6 +53,7 @@ struct HomeScreenInviteCell: View {
|
||||
context.send(viewAction: .selectRoom(roomIdentifier: roomID))
|
||||
}
|
||||
}
|
||||
.accessibilityIdentifier(A11yIdentifiers.homeScreen.roomName(room.name))
|
||||
}
|
||||
|
||||
// MARK: - Private
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user