tests(StatusChatListAndCategories.qml) add object names for testing

This commit is contained in:
Stefan 2022-08-11 10:29:47 +02:00 committed by Michał Cieślak
parent 6bac2322c2
commit e9879aa3ae
1 changed files with 2 additions and 0 deletions

View File

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