mirror of
https://github.com/element-hq/element-x-ios.git
synced 2025-03-10 13:37:11 +00:00
Enable voiceover in timeline menu (#1907)
This commit is contained in:
parent
e42977a7b0
commit
6898419211
@ -172,7 +172,6 @@ public struct TimelineItemMenu: View {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.accessibilityElement(children: .combine)
|
|
||||||
.accessibilityIdentifier(A11yIdentifiers.roomScreen.timelineItemActionMenu)
|
.accessibilityIdentifier(A11yIdentifiers.roomScreen.timelineItemActionMenu)
|
||||||
.presentationDetents([.medium, .large])
|
.presentationDetents([.medium, .large])
|
||||||
.presentationBackground(Color.compound.bgCanvasDefault)
|
.presentationBackground(Color.compound.bgCanvasDefault)
|
||||||
|
@ -100,7 +100,7 @@ class UserFlowTests: XCTestCase {
|
|||||||
lastMessage.press(forDuration: 2.0)
|
lastMessage.press(forDuration: 2.0)
|
||||||
|
|
||||||
// Hide the bottom sheet
|
// Hide the bottom sheet
|
||||||
let timelineItemActionMenu = app.otherElements[A11yIdentifiers.roomScreen.timelineItemActionMenu].firstMatch
|
let timelineItemActionMenu = app.scrollViews[A11yIdentifiers.roomScreen.timelineItemActionMenu].firstMatch
|
||||||
XCTAssertTrue(timelineItemActionMenu.waitForExistence(timeout: 10.0))
|
XCTAssertTrue(timelineItemActionMenu.waitForExistence(timeout: 10.0))
|
||||||
timelineItemActionMenu.swipeDown(velocity: .fast)
|
timelineItemActionMenu.swipeDown(velocity: .fast)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user