From 02bb67a26627c941729756a4d0e71fb4da0d5793 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Mon, 15 Aug 2022 16:58:59 -0400 Subject: [PATCH] test(StatusSearchPopup): add object names for tests --- src/StatusQ/Layout/StatusAppNavBar.qml | 1 + src/StatusQ/Popups/StatusSearchPopup.qml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/src/StatusQ/Layout/StatusAppNavBar.qml b/src/StatusQ/Layout/StatusAppNavBar.qml index d971383a..d1a81d43 100644 --- a/src/StatusQ/Layout/StatusAppNavBar.qml +++ b/src/StatusQ/Layout/StatusAppNavBar.qml @@ -157,6 +157,7 @@ Rectangle { ListView { id: navBarListView + objectName: "statusMainNavBarListView" anchors.left: parent.left anchors.right: parent.right anchors.top: parent.top diff --git a/src/StatusQ/Popups/StatusSearchPopup.qml b/src/StatusQ/Popups/StatusSearchPopup.qml index 677a1554..5fb845b4 100644 --- a/src/StatusQ/Popups/StatusSearchPopup.qml +++ b/src/StatusQ/Popups/StatusSearchPopup.qml @@ -92,6 +92,7 @@ StatusModal { StatusInput { id: inputText + input.edit.objectName: "searchPopupSearchInput" anchors.left: statusIcon.right anchors.right: parent.right anchors.verticalCenter: parent.verticalCenter @@ -239,6 +240,7 @@ StatusModal { StatusFlatRoundButton { id: closeButton + objectName: "searchModalResetSearchButton" width: 32 height: 32 anchors.left: searchOptionsMenuButton.right @@ -263,6 +265,7 @@ StatusModal { clip: true ListView { id: view + objectName: "searchResultListView" anchors.fill: parent anchors { leftMargin: 0