8
edits
Mfunches-sv (talk | contribs) (→Tests) |
Mfunches-sv (talk | contribs) (→Tests) |
||
| Line 91: | Line 91: | ||
# Set '''Show Notifications''' permission to "Always Ask". | # Set '''Show Notifications''' permission to "Always Ask". | ||
=== Tests === | === Friday: In-Depth & Exploratory Tests === | ||
Notes: | Notes: | ||
Manual/Automation: Test will be conducted manually | Manual/Automation: Test will be conducted manually | ||
| Line 101: | Line 101: | ||
! Title !! Description !! Win 10 !! Win 8 !! Win 8.1 !! Vista !! Win 7 !! Mac OS !! Ubuntu | ! 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. | | <small>Doorhanger default state test</small> || <small>Verify the doorhanger reports if the site has requested any notification permissions. | ||
1. Click the lock icon in the address bar. | 1. Click the lock icon in the address bar.</small> | ||
2. Verify the Verify the doorhanger reports if the site has requested any notification permissions. | 2. <small>Verify the Verify the doorhanger reports if the site has requested any notification permissions.</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Pop-up Dialog || | | <small>Pop-up Dialog || V<small>erify 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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 114: | Line 114: | ||
3. Click "pop Notification" button. | 3. Click "pop Notification" button. | ||
4. Verify the notification doorhanger appears again and requests permissions. | 4. Verify the notification doorhanger appears again and requests permissions.</small></small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Close Dialog by External Means / | | <small>Close Dialog by External Means / | ||
Non-Close Button | Non-Close Button</small> | ||
|| Verify clicking outside of a notification dismisses it automatically (OS X only). | || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
2. Click outside of the notifications doorhanger. | 2. Click outside of the notifications doorhanger. | ||
3. Verify the notifications doorhanger is dismissed. | 3. Verify the notifications doorhanger is dismissed.</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| | | L<small>earn More Link</small> || <small>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. | 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. | 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). | 3. Verify the browser redirects to https://www.mozilla.org/en-US/firefox/push/ (in a new tab).</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Auto Close (Timeout) || Verify that a notification is auto-closed after X seconds. | | <small>Auto Close (Timeout)</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 142: | Line 142: | ||
3. Verify the notification appears and auto-dismisses after X seconds. | 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". | 4. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Blocking Notifications || Verify that blocking notifications prevents notifications from displaying. | | <small>Blocking Notifications</small> || <small>Verify that blocking notifications prevents notifications from displaying. | ||
1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 156: | Line 156: | ||
5. Verify no notification appears. | 5. Verify no notification appears. | ||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Not Now || Verify clicking "Not Now" from the notification permissions doorhanger causes the permissions popup to appear again. | | <small>Not Now</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 170: | Line 170: | ||
5. Verify notification doorhanger appears again. | 5. Verify notification doorhanger appears again. | ||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Permission Changes || Verify changing notification permissions in the address bar causes the notification permissions screen to reappear. | | <small>Permission Changes</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 208: | Line 208: | ||
17. Verify notification appears. | 17. Verify notification appears. | ||
18. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | 18. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Programmatic Close || | | <small>Programmatic Close</small> || V<small>erify 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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 222: | Line 222: | ||
5. Verify notification is immediately dismissed. | 5. Verify notification is immediately dismissed. | ||
6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Title Characters & Numbers || Verify title can contain special characters like % or /. | | <small>Title Characters & Numbers</small> || <small>Verify title can contain special characters like % or /. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 236: | Line 236: | ||
5. teardown() = Click on lock icon in the address bar. | 5. teardown() = Click on lock icon in the address bar. | ||
Set Show Notifications permission to "Always Ask". | Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Swipe to Close || Verify notification can be manually dismissed by swiping it (OS X only). | | <small>Swipe to Close</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 246: | Line 246: | ||
3. Click and drag notification to dismiss it. | 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". | 4. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Require Interaction = True || Verify setting `requireInteraction` to true causes the notification to remain open until explicitly closed (OS X only). | | <small>Require Interaction = True</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 260: | Line 260: | ||
5. Verify that the notification persists until explicitly closed. | 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". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Require Interaction = False || Verify setting `requireInteraction` to false (default) causes the notification to auto-close after X seconds. | | <small>Require Interaction = False</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 274: | Line 274: | ||
5. Verify the notification auto dismisses after X seconds. | 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". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Redirection = New Tab || Description: Verify clicking on a notification opens a specified URL. | | <small>Redirection = New Tab</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 286: | Line 286: | ||
4. Verify that https://www.mozilla.org/en-US/ opens in a new tab. | 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". | 5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Redirection = Current Tab || Verify setting target opens specified URL in the specified window. | | <small>Redirection = Current Tab</small> || <small>Verify setting target opens specified URL in the specified window. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 300: | Line 300: | ||
5. Verify that https://www.mozilla.org/en-US/ opens in the current tab. | 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". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Redirection = Same Window New Tab || Verify setting a target causes a notification to open in the same window. | | <small>Redirection = Same Window New Tab</small> || <small>Verify setting a target causes a notification to open in the same window. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 318: | Line 318: | ||
7. Verify that https://www.mozilla.org/en-US/ opens in the same tab as step 5. | 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". | 8. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Target = _blank || Verify setting a _blank target causes a notification to open in the new window. | | <small>Target = _blank</small> || <small>Verify setting a _blank target causes a notification to open in the new window. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 336: | Line 336: | ||
7. Verify that https://www.mozilla.org/en-US/ opens in a new tab. | 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". | 8. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Multi/Repeat Message (Stacking) || Verify clicking the pop Notification button causes the notification to display multiple times. | | <small>Multi/Repeat Message (Stacking)</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 350: | Line 350: | ||
5. Verify there are 11 notifications in the OSX notifications tray. | 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". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Hover Over Notification || Verify the notification is not dismissed when hovering over the notification. | | <small>Hover Over Notification</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 364: | Line 364: | ||
5. Verify that the notification disappears after X seconds. | 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". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Hover Over Submenu || Verify the notification is not dismissed when hovering over an item in the submenu (OS X only). | | <small>Hover Over Submenu</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 380: | Line 380: | ||
6. Verify notification doorhanger appears. | 6. Verify notification doorhanger appears. | ||
7. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask". | 7. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Preferences - Choose || Verify allowing notifications reports correctly in about:preferences#content | | <small>Preferences - Choose</small> || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 394: | Line 394: | ||
5. Verify that https://pdehaan.github.io/ appears in site list and it's status is set to "Allow". | 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". | 6.teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Notification Settings: <br /> | | <small>Notification Settings: <br /> | ||
Preferences - Blocking | Preferences - Blocking</small> | ||
|| Verify clicking Notification Settings in the notification causes the preferences page to appear. | || <small>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. | 1. setup() = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 410: | Line 410: | ||
5. Verify that about:preferences#content opens in a new tab. | 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". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Notification: Preferences - Blocking || Verify blocking notifications reports correctly in about:preferences#content | | <small>Notification: Preferences - Blocking</small> || <small>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. | 1. setup()) = Open https://pdehaan.github.io/push-notification-test/ and then Click pop Notification button. | ||
| Line 424: | Line 424: | ||
5. Verify that https://pdehaan.github.io/ appears in site list and it's status is set to "Block". | 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". | 6. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Notification: Title > Size and Text Wrapping || Verify a long "Title" doesn't cause the notification to re-size. | | <small>Notification: Title > Size and Text Wrapping</small> || <small>Verify a long "Title" doesn't cause the notification to re-size. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 436: | Line 436: | ||
4. Verify the title text displays and doesn't re-size notification popup. Width remains static, length may adjust. | 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". | 5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Notification: Body > Size and Text Wrapping || Verify a long "Body Text" doesn't cause the notification to re-size. | | <small>Notification: Body > Size and Text Wrapping</small> || <small>Verify a long "Body Text" doesn't cause the notification to re-size. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 448: | Line 448: | ||
4. Verify the body text displays text and doesn't re-size notification popup. Width remains static, length may adjust. | 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". | 5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Notification: Title Characters & Numbers || Verify title can contain special characters like % or /. | | <small>Notification: Title Characters & Numbers</small> || <small>Verify title can contain special characters like % or /. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 460: | Line 460: | ||
4. Verify the title text is accurately displayed. | 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". | 5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
| Notification: Body Text Characters & Numbers || Verify body can contain special characters like % or /. | | <small>Notification: Body Text Characters & Numbers</small> || <small>Verify body can contain special characters like % or /. | ||
1. Open https://pdehaan.github.io/push-notification-test/ | 1. Open https://pdehaan.github.io/push-notification-test/ | ||
| Line 472: | Line 472: | ||
4. Verify the body text is accurately displayed. | 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". | 5. teardown() = Click on lock icon in the address bar & Set Show Notifications permission to "Always Ask".</small> | ||
|| || || || || || || | || || || || || || || | ||
|- | |- | ||
edits