Re-write the space flow state machine configuration and cover it more in UI tests. (#5098)

* Use the old state machine configuration style.

* Test starting the space settings flow in UI tests.

* Test starting the create space room flow in UI tests.
This commit is contained in:
Doug
2026-02-12 13:19:20 +00:00
committed by GitHub
parent 92a5fb395c
commit b34832f7f8
11 changed files with 186 additions and 146 deletions
@@ -132,7 +132,9 @@ struct SpaceScreen: View {
Button { context.send(viewAction: .createChildRoom) } label: {
Label(L10n.actionCreateRoom, icon: \.plus)
}
.accessibilityIdentifier(A11yIdentifiers.spaceScreen.createRoom)
}
Button { context.send(viewAction: .addExistingRooms) } label: {
Label(L10n.actionAddExistingRooms, icon: \.room)
}
@@ -165,6 +167,7 @@ struct SpaceScreen: View {
Button { context.send(viewAction: .spaceSettings(roomProxy: roomProxy)) } label: {
Label(L10n.commonSettings, icon: \.settings)
}
.accessibilityIdentifier(A11yIdentifiers.spaceScreen.settings)
}
}
@@ -30,6 +30,7 @@ struct SpaceSettingsScreen: View {
private var editSection: some View {
Section {
ListRow(kind: .custom { editRow })
.accessibilityIdentifier(A11yIdentifiers.spaceSettingsScreen.editBaseInfo)
}
}