From 261ef70765e5ba220911cad762bd91b08a5ebe44 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 18 Feb 2015 21:12:06 -0600 Subject: Adding a manual test case for a Tweet --- tests/manual | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'tests') diff --git a/tests/manual b/tests/manual index 412a97a..d638875 100644 --- a/tests/manual +++ b/tests/manual @@ -61,3 +61,20 @@ Test-case indicator-messages/unity8-embedded-greeter
Clear the message in the greeter
The message should no longer be in the messaging menu
+ +Test-case indicator-messages/push-message-twitter +
+
From a shell prompt send a simultated Twitter push notification
+
gdbus call --session --dest com.ubuntu.Postal --object-path /com/ubuntu/Postal/com_2eubuntu_2edeveloper_2ewebapps_2ewebapp_2dtwitter --method com.ubuntu.Postal.Post com.ubuntu.developer.webapps.webapp-twitter_webapp-twitter '"{\"message\": \"foobar\", \"notification\":{\"card\": {\"summary\": \"yes\", \"body\": \"hello\", \"popup\": true, \"persist\": true}}}"'
+
The messaging envelope on the panel should change to highlight a message
+
Open the messaging menu
+
The menu should contain an entry with the Twitter icon for the application
+
The title of the message should be 'yes'
+
The body of the message should be 'hello'
+
At the bottom of them menu there should be a 'Clear All' menu item
+
Clear the message using the 'Clear All' command
+
The Twitter message should disappear
+
The 'Clear All' item should disappear
+
The icon in the panel should return to its original state
+
+ -- cgit v1.2.3