test(GroupChat): Broken tests updated

The create a group chat related objects have been updated according to new qml changes.
Now these tests are working (if they don't work it is bc of mailserver reliability).
This commit is contained in:
Noelia 2022-09-29 16:33:47 +02:00 committed by Noelia
parent d0fc2db9bd
commit 03691ba4b1
3 changed files with 4 additions and 2 deletions

View File

@ -54,8 +54,8 @@ joinPublicChat_input = {"container": statusDesktop_mainWindow_overlay, "objectNa
chat_name_PlaceholderText = {"container": statusDesktop_mainWindow_overlay, "text": "chat-name", "type": "PlaceholderText", "unnamed": 1, "visible": True} chat_name_PlaceholderText = {"container": statusDesktop_mainWindow_overlay, "text": "chat-name", "type": "PlaceholderText", "unnamed": 1, "visible": True}
# Create chat view: # Create chat view:
createChatView_contactsList = {"container": statusDesktop_mainWindow, "objectName": "tagSelectorUserList", "type": "ListView"} createChatView_contactsList = {"container": statusDesktop_mainWindow, "objectName": "createChatContactsList", "type": "StatusListView"}
createChatView_confirmBtn = {"container": statusDesktop_mainWindow, "objectName": "createChatConfirmButton", "type": "StatusButton"} createChatView_confirmBtn = {"container": statusDesktop_mainWindow, "objectName": "inlineSelectorConfirmButton", "type": "StatusButton"}
# Members panel: # Members panel:
chatView_chatMembers_ListView = {"container": statusDesktop_mainWindow, "objectName": "userListPanel", "type": "ListView"} chatView_chatMembers_ListView = {"container": statusDesktop_mainWindow, "objectName": "userListPanel", "type": "ListView"}

View File

@ -179,6 +179,7 @@ Item {
} }
StatusButton { StatusButton {
objectName: "inlineSelectorConfirmButton"
Layout.alignment: Qt.AlignVCenter Layout.alignment: Qt.AlignVCenter
enabled: (listView.count > 0) enabled: (listView.count > 0)
text: qsTr("Confirm") text: qsTr("Confirm")

View File

@ -111,6 +111,7 @@ Page {
StatusListView { StatusListView {
id: contactsList id: contactsList
objectName: "createChatContactsList"
Layout.fillWidth: true Layout.fillWidth: true
Layout.fillHeight: true Layout.fillHeight: true