tests(StatusChatListAndCategories.qml) add object names for testing

This commit is contained in:
Stefan 2022-08-11 10:29:47 +02:00 committed by Stefan Dunca
parent c721a67c70
commit 8f06729c1a
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,7 @@ Item {
spacing: 4
StatusChatList {
objectName: "statusChatListAndCategoriesChatList"
id: statusChatList
visible: statusChatList.model.count > 0
onChatItemSelected: root.chatItemSelected(categoryId, id)
@ -259,6 +260,7 @@ Item {
}
Repeater {
objectName: "statusChatListCategories"
id: statusChatListCategories
objectName: "communityChatListCategories"
visible: !!model && model.count > 0