Accessibiliy Tests part 2 (#4325)

* running all the tests

* setting up CI

* fixed the workflow

* workflow on pull request, just to make it appear

* removed the test to run var

* fix archived tests name

* improved the tests, by filtering out some noise

* pr suggestions and added an improvement to the filtering

* improved the interrupt handler

* improved the UI interruption monitor handler

* some more refinement to handle the interruptor + false positive for non human readable labels

* reverted wrong commit

* ready for review, removed the on pull request check

* pr suggestions
This commit is contained in:
Mauro
2025-07-18 10:33:45 +02:00
committed by GitHub
parent f655fbc28b
commit 27f078e83c
16 changed files with 1028 additions and 54 deletions
@@ -168,3 +168,9 @@ final class CompletionSuggestionService: CompletionSuggestionServiceProtocol {
return roomName.localizedStandardContains(searchText) || roomAlias.localizedStandardContains(searchText)
}
}
extension PillUtilities {
static var everyone: String {
L10n.commonEveryone
}
}
@@ -124,7 +124,8 @@ struct RoomScreen: View {
private var composer: some View {
if context.viewState.hasSuccessor {
tombstonedDialogue
} else if context.viewState.canSendMessage {
} else if context.viewState.canSendMessage, !ProcessInfo.isRunningAccessibilityTests {
// We are not sure why but when wrapped in the room screen the composer toolbar breaks the accessibility tests
composerToolbar
} else {
ComposerDisabledView()