Add appium test for opening the user details sheet and fix some accessibility problems

This commit is contained in:
Tobias Fella
2023-07-20 16:13:52 +02:00
parent de47597f6e
commit 5c32520c35
12 changed files with 182 additions and 29 deletions

View File

@@ -139,20 +139,17 @@ QQC2.Control {
RowLayout {
Layout.maximumWidth: root.maxContentWidth
visible: root.showAuthor
QQC2.Label {
QQC2.AbstractButton {
Layout.fillWidth: true
text: root.author.displayName
color: root.author.color
textFormat: Text.PlainText
font.weight: Font.Bold
elide: Text.ElideRight
TapHandler {
onTapped: RoomManager.visitUser(root.author.object, "mention")
}
HoverHandler {
cursorShape: Qt.PointingHandCursor
contentItem: QQC2.Label {
text: root.author.displayName
color: root.author.color
textFormat: Text.PlainText
font.weight: Font.Bold
elide: Text.ElideRight
}
Accessible.name: contentItem.text
onClicked: RoomManager.visitUser(root.author.object, "mention")
}
QQC2.Label {
text: root.timeString