Page Comments Extension - Authentication Test
Testing Authentication Flow
This page is for testing the authentication flow of the Page Comments extension.
Test Steps:
- Click the floating comment button (bottom right)
- The overlay should open showing "Please login to post comments"
- Click the "login" link
- The auth overlay should appear with login/register forms
- Try registering a new account or logging in
- After successful auth, you should be able to post comments
Test Accounts:
You can create a new test account or use any existing accounts you've created.
Expected Behavior
- Not Logged In: Shows "Please login to post comments" message
- Login Link: Opens auth overlay with login form
- Register Link: Switches to registration form
- After Login: Shows username and comment input area
- Logout: Returns to login prompt state
Common Issues
- If auth overlay doesn't appear, check browser console for errors
- If login fails, verify API is running at https://abbr.us/api/
- Clear extension storage if experiencing persistent auth issues