mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 21:33:26 +00:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user