QA/Push Notifications: Difference between revisions

Line 25: Line 25:
'''Testplan (Overview)'''
'''Testplan (Overview)'''
Platform(s) Windows 10, Windows 8, Windows 8.1, Windows Vista, Windows 7, Windows XP, Ubuntu 14.04, Mac OS 10
Platform(s) Windows 10, Windows 8, Windows 8.1, Windows Vista, Windows 7, Windows XP, Ubuntu 14.04, Mac OS 10
Daily Smoke Test will test the following:
{| class="wikitable"
{| class="wikitable"
|-
|-
Line 32: Line 35:
|-
|-
| Notifications Dialog|| Verify that trying to display a notification causes a dialog to appear.
| Notifications Dialog|| Verify that trying to display a notification causes a dialog to appear.
|-
| Notification: Learn More|| Verify clicking on the "Learn more" link opens the target page.
|-
|-
| Notification: Timeout|| Verify that a notification is auto-closed after X seconds.
| Notification: Timeout|| Verify that a notification is auto-closed after X seconds.
Line 40: Line 41:
|-
|-
| Notification: Not Now|| Verify clicking "Not Now" from the notification permissions doorhanger causes the permissions popup to appear again.
| Notification: Not Now|| Verify clicking "Not Now" from the notification permissions doorhanger causes the permissions popup to appear again.
|-
|  Notification: Permission Change|| Verify changing notification permissions in the address bar causes the notification permissions screen to reappear.
|-
| Programmatic Close|| Verify programmatically closing a notification causes it to immediately disappear.
|-
|-
| Notification: Close Button|| Verify notification can be dismissed by clicking the close button.
| Notification: Close Button|| Verify notification can be dismissed by clicking the close button.
|-
| Notification: Require Interaction = True||  Verify setting `requireInteraction` to true causes the notification to remain open until explicitly closed (OS X only).
|-
|-
|  Notification: Redirection|| Verify clicking on a notification opens a specified URL.
|  Notification: Redirection|| Verify clicking on a notification opens a specified URL.
|-
|-
| Notification: Pop Up Multi Message || Verify clicking the pop Notification button causes the notification to display multiple times.
| Notification: Pop Up Multi Message || Verify clicking the pop Notification button causes the notification to display multiple times.
|-
| Notification: Hovering Over Notification|| Verify the notification is not dismissed when hovering over the notification.
|-
| Notification: Hovering Over Submenu|| Verify clicking "Do not disturb me until I restart Nightly" option stops the notifications untill browser is restarted.
|-
| Notification: Settings & Preferences|| Verify clicking Notification Settings in the notification causes the preferences page to appear.
|-
| Notification: Preferences Content|| Verify allowing notifications reports correctly in about:preferences#content
|-
| Notification: Blocking > Preferences Content|| Verify blocking notifications reports correctly in about:preferences#content
|-
| Push:  Register Service Worker|| Verify registering a service worker causes it to appear in about:serviceworkers.
|-
| Push:  Send Message > Service Worker|| Verify sending a message to a service worker causes it to echo the message.
|-
|-
|}
|}