From ba1e8db34ac8e9a992abc062a5fb534ea90dda92 Mon Sep 17 00:00:00 2001 From: David Rowe Date: Tue, 8 Mar 2016 13:51:13 +1300 Subject: [PATCH] Add QML UI test dialogs for creating and deleting bookmarks --- tests/ui/qml/main.qml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/tests/ui/qml/main.qml b/tests/ui/qml/main.qml index 97f6224670..a3b6114c11 100644 --- a/tests/ui/qml/main.qml +++ b/tests/ui/qml/main.qml @@ -137,6 +137,25 @@ ApplicationWindow { }); } } + Button { + text: "Bookmark Location" + onClicked: { + desktop.inputDialog({ + title: "Bookmark Location", + label: "Name" + }); + } + } + Button { + text: "Delete Bookmark" + onClicked: { + desktop.inputDialog({ + title: "Delete Bookmark", + label: "Select the bookmark to delete", + items: ["Bookmark A", "Bookmark B", "Bookmark C"] + }); + } + } /* // There is no such desktop.queryBox() function; may need to update test to cover QueryDialog.qml? Button {