8
edits
Mfunches-sv (talk | contribs) |
Mfunches-sv (talk | contribs) (→Tests) |
||
Line 97: | Line 97: | ||
Platforms: 32bit/64 bit Windows 7, Vista, 8, 8.1, 10; Ubuntu 14.04 (x64) and Mac OS X 10.9.5. | Platforms: 32bit/64 bit Windows 7, Vista, 8, 8.1, 10; Ubuntu 14.04 (x64) and Mac OS X 10.9.5. | ||
{| class="wikitable" | |||
|- | |||
! Title !! Description !! Win 10 !! Win 8 !! Win 8.1 !! Vista !! Win 7 !! Mac OS !! Ubuntu | |||
|- | |||
| Doorhanger default state test || Verify the doorhanger reports if the site has requested any notification permissions. | |||
1. Click the lock icon in the address bar. | |||
2. Verify the Verify the doorhanger reports if the site has requested any notification permissions. | |||
|| || || || || || || | |||
|- | |||
| Pop-up Dialog || Verify that trying to display a notification causes a dialog to appear. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Click the "close" button in the upper right corner of the notifications doorhanger. | |||
3. Click "pop Notification" button. | |||
4. Verify the notification doorhanger appears again and requests permissions. | |||
|| || || || || || || | |||
|- | |||
| Close Dialog by External Means / | |||
Non-Close Button | |||
|| Verify clicking outside of a notification dismisses it automatically (OS X only). | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Click outside of the notifications doorhanger. | |||
3. Verify the notifications doorhanger is dismissed. | |||
|| || || || || || || | |||
|- | |||
| Learn More Link || Verify clicking on the "Learn more" link opens the target page. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Click the "Learn more..." link in the notifications doorhanger. | |||
3. Verify the browser redirects to https://www.mozilla.org/en-US/firefox/push/ (in a new tab). | |||
|| || || || || || || | |||
|- | |||
| Auto Close (Timeout) || Verify that a notification is auto-closed after X seconds. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Verify the notification appears and auto-dismisses after X seconds. | |||
4. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Blocking Notifications || Verify that blocking notifications prevents notifications from displaying. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Block Notifications" from the notifications doorhanger. | |||
3. Verify no notification appears. | |||
4. Click "pop Notification" button. | |||
5. Verify no notification appears. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Not Now || Verify clicking "Not Now" from the notification permissions doorhanger causes the permissions popup to appear again. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Not Now" from the notifications doorhanger. | |||
3. Verify no notification appears. | |||
4. Click "pop Notification" button. | |||
5. Verify notification doorhanger appears again. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Permission Changes || Verify changing notification permissions in the address bar causes the notification permissions screen to reappear. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Verify notification appears and auto-dismisses after X seconds. | |||
4. Click the lock button in the address bar. | |||
5. Change notification permissions to "Always Ask". | |||
6. Click "pop Notification" button. | |||
7. Verify notification doorhanger appears again. | |||
8. Select "Always Show Notifications" from the notifications doorhanger. | |||
9. Verify notification appears. | |||
10. Click the lock button in the address bar. | |||
11. Change notification permissions to "Block". | |||
12. Click "pop Notification" button. | |||
13. Verify no notification appears. | |||
14. Click the lock button in the address bar. | |||
15. Change notification permissions to "Allow". | |||
16. Click "pop Notification" button appears. | |||
17. Verify notification appears. | |||
18. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Programmatic Close || Verify programmatically closing a notification causes it to immediately disappear. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Verify notification appears. | |||
4. Click "closeNotification" button. | |||
5. Verify notification is immediately dismissed. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Title Characters & Numbers || Verify title can contain special characters like % or /. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "Title Text"to a a long string which contains special characters like %. | |||
3. Click "pop Notification" button. | |||
4. Verify the title text is accurately displayed. | |||
5. teardown() = Click on lock icon in the address bar. | |||
Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Swipe to Close || Verify notification can be manually dismissed by swiping it (OS X only). | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Click and drag notification to dismiss it. | |||
4. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Require Interaction = True || Verify setting `requireInteraction` to true causes the notification to remain open until explicitly closed (OS X only). | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Set "requireInteraction" dropdown to `true`. | |||
4. Click "pop Notification" button. | |||
5. Verify that the notification persists until explicitly closed. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Require Interaction = False || Verify setting `requireInteraction` to false (default) causes the notification to auto-close after X seconds. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Set "requireInteraction" dropdown to `false`. | |||
4. Click "pop Notification" button. | |||
5. Verify the notification auto dismisses after X seconds. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Redirection = New Tab || Description: Verify clicking on a notification opens a specified URL. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Click on the notification. | |||
4. Verify that https://www.mozilla.org/en-US/ opens in a new tab. | |||
5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Redirection = Current Tab || Verify setting target opens specified URL in the specified window. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "target" to `_top`. | |||
3. Click "pop Notification" button. | |||
4. Select "Always Show Notifications" from the notifications doorhanger. | |||
5. Verify that https://www.mozilla.org/en-US/ opens in the current tab. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Redirection = Same Window New Tab || Verify setting a target causes a notification to open in the same window. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "target" to `foobar`. | |||
3. Click "pop Notification" button. | |||
4. Select "Always Show Notifications" from the notifications doorhanger. | |||
5. Verify that https://www.mozilla.org/en-US/ opens in a new tab. | |||
6. Click "pop Notification" button. | |||
7. Verify that https://www.mozilla.org/en-US/ opens in the same tab as step 5. | |||
8. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Target = _blank || Verify setting a _blank target causes a notification to open in the new window. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "target" to `_blank` (default). | |||
3. Click "pop Notification" button. | |||
4. Select "Always Show Notifications" from the notifications doorhanger. | |||
5. Verify that https://www.mozilla.org/en-US/ opens in a new tab. | |||
6. Click "pop Notification" button. | |||
7. Verify that https://www.mozilla.org/en-US/ opens in a new tab. | |||
8. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Multi/Repeat Message (Stacking) || Verify clicking the pop Notification button causes the notification to display multiple times. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Click "pop Notification" button 10 times. | |||
4. Verify the notification only appears once (and says "9 new notifications"). | |||
5. Verify there are 11 notifications in the OSX notifications tray. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Hover Over Notification || Verify the notification is not dismissed when hovering over the notification. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Hover over the notification and make sure the notification is not auto-dismissed. | |||
4. Move mouse off of notification. | |||
5. Verify that the notification disappears after X seconds. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Hover Over Submenu || Verify the notification is not dismissed when hovering over an item in the submenu (OS X only). | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Hover over the notification and click the "..." button in the lower-right corner. | |||
4. Click "Disable notifications from this site" menu option. | |||
5. Click "pop Notification" button. | |||
6. Verify notification doorhanger appears. | |||
7. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Preferences - Choose || Verify allowing notifications reports correctly in about:preferences#content | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Open about:preferences#content | |||
4. Click "Choose" button. | |||
5. Verify that https://pdehaan.github.io/ appears in site list and it's status is set to "Allow". | |||
6.teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Notification Settings: <br /> | |||
Preferences - Blocking | |||
|| Verify clicking Notification Settings in the notification causes the preferences page to appear. | |||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Show Notifications" from the notifications doorhanger. | |||
3. Hover over the notification and click the "..." button in the lower-right corner. | |||
4. Click "Notification settings" menu option. | |||
5. Verify that about:preferences#content opens in a new tab. | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Notification: Preferences - Blocking || Verify blocking notifications reports correctly in about:preferences#content | |||
1. setup()) = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | |||
2. Select "Always Block Notifications" from the notifications doorhanger. | |||
3. Open about:preferences#content | |||
4. Click "Choose" button. | |||
5. Verify that https://pdehaan.github.io/ appears in site list and it's status is set to "Block". | |||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Notification: Title > Size and Text Wrapping || Verify a long "Title" doesn't cause the notification to re-size. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "Title"to a a long string. | |||
3. Click "pop Notification" button. | |||
4. Verify the title text displays and doesn't re-size notification popup. Width remains static, length may adjust. | |||
5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Notification: Body > Size and Text Wrapping || Verify a long "Body Text" doesn't cause the notification to re-size. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "Body Text"to a a long string. | |||
3. Click "pop Notification" button. | |||
4. Verify the body text displays text and doesn't re-size notification popup. Width remains static, length may adjust. | |||
5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Notification: Title Characters & Numbers || Verify title can contain special characters like % or /. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "Title Text"to a a long string which contains special characters like %. | |||
3. Click "pop Notification" button. | |||
4. Verify the title text is accurately displayed. | |||
5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
| Notification: Body Text Characters & Numbers || Verify body can contain special characters like % or /. | |||
1. Open https://pdehaan.github.io/push-notification-test/ | |||
2. Set "Body Text"to a a long string which contains special characters like % or an emoji like :D | |||
3. Click "pop Notification" button. | |||
4. Verify the body text is accurately displayed. | |||
5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | |||
|| || || || || || || | |||
|- | |||
|} | |||
edits