test(StatusSearchPopup): add object names for tests

This commit is contained in:
Jonathan Rainville 2022-08-15 16:58:59 -04:00 committed by Michał Cieślak
parent 9d2c05ad48
commit 82e5f03f5e
2 changed files with 4 additions and 0 deletions

View File

@ -157,6 +157,7 @@ Rectangle {
ListView { ListView {
id: navBarListView id: navBarListView
objectName: "statusMainNavBarListView"
anchors.left: parent.left anchors.left: parent.left
anchors.right: parent.right anchors.right: parent.right
anchors.top: parent.top anchors.top: parent.top

View File

@ -92,6 +92,7 @@ StatusModal {
StatusInput { StatusInput {
id: inputText id: inputText
input.edit.objectName: "searchPopupSearchInput"
anchors.left: statusIcon.right anchors.left: statusIcon.right
anchors.right: parent.right anchors.right: parent.right
anchors.verticalCenter: parent.verticalCenter anchors.verticalCenter: parent.verticalCenter
@ -239,6 +240,7 @@ StatusModal {
StatusFlatRoundButton { StatusFlatRoundButton {
id: closeButton id: closeButton
objectName: "searchModalResetSearchButton"
width: 32 width: 32
height: 32 height: 32
anchors.left: searchOptionsMenuButton.right anchors.left: searchOptionsMenuButton.right
@ -263,6 +265,7 @@ StatusModal {
clip: true clip: true
ListView { ListView {
id: view id: view
objectName: "searchResultListView"
anchors.fill: parent anchors.fill: parent
anchors { anchors {
leftMargin: 0 leftMargin: 0