You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -33,24 +33,24 @@ To run this extension from the repo (and not from a pre-built package) on a loca
33
33
34
34
## Testing Push Notifications
35
35
36
-
Testing push notifications necessitates user-to-user interactions to observe the notification behavior accurately. Follow the steps outlined below to effectively test push notifications:
36
+
Testing push notifications necessitates user-to-user interactions to observe the notification behavior accurately. Follow the steps outlined below to effectively test push notifications (the browser recommendations are what we have seen work in local environments):
37
37
38
38
1.**User Account Setup:**
39
-
- Create at least two distinct user accounts for testing purposes.
40
-
- In the notifications preferences for _**User Account 1**_, subscribe to receive Push Notifications (and assign web push notification types if necessary).
39
+
- Create at least two distinct board user accounts for testing purposes.
40
+
- Using Google Chrome, visit `UCP -> Board Preferences -> Edit notification options` for _**User Account 1**_ and enable Push Notifications (and enable all web push notification types if necessary). Your browser may ask you to allow notifications, which you should accept. Leave Chrome open and running the background.
41
41
42
42
2.**Message, Quote, or Reply Interaction:**
43
-
- Initiate a user-to-user interaction by performing one of the following actions using _**User Account 2**_:
43
+
- Initiate a user-to-user interaction by performing one of the following actions using _**User Account 2**_ in separate browser such as Firefox, Edge or Safari:
44
44
- **Private Message:** Send a direct message from _**User Account 2**_ to _**User Account 1**_.
45
45
- **Quote:** Quote a post or message authored by _**User Account 1**_ using _**User Account 2**_.
46
46
- **Reply:** Respond to a post or message authored by _**User Account 1**_ using _**User Account 2**_.
47
47
48
48
3.**Observing Push Notifications:**
49
-
- Once the interaction is performed from _**User Account 2**_ to engage with _**User Account 1**_, you promptly should see a notification for _**User Account 1**_.
49
+
- Once the interaction is performed from _**User Account 2**_ to engage with _**User Account 1**_, you promptly should see a notification from Google Chrome for _**User Account 1**_.
50
50
51
51
4.**Caveats for Local Testing**
52
-
- Local testing of Push Notifications only works from a `localhost` address or if your local server has a secure SSL certificate.
53
-
-We have seen success on Windows using manually installed PHP, Apache and MySQL. However, for reasons not yet known we do not see success on Mac using MAMP.
52
+
- Local testing of Push Notifications only works from a `http://localhost` address or if your local test server has a secure SSL certificate, e.g.: `https://local.phpbb.board`.
53
+
-Depending on your local server's setup, operating system, and browsers, it is still possible that testing push notifications may not work (for example, in a local environment running on macOS, only Chrome will show notifications).
0 commit comments