- Extension loads without errors in Chrome
- Extension icon appears in Chrome toolbar
- No errors in Chrome DevTools console
- Extension shows as active in
chrome://extensions/
Test Scenarios:
-
Regular PR (Open)
- Navigate to: Any open GitHub pull request
- Expected: "Copy PR Link" button appears next to PR title
- Action: Click the button
- Expected:
- Text copied to clipboard in format:
{PR Title}: {PR URL} - Button shows "Copied!" with green checkmark
- Button returns to normal state after 2 seconds
- Text copied to clipboard in format:
-
Draft PR
- Navigate to: Any draft GitHub pull request
- Expected: Same behavior as regular PR for Feature 1
-
Closed/Merged PR
- Navigate to: A closed or merged pull request
- Expected: Same behavior - button should still work
Test Scenarios:
-
Draft PR with Copilot Available
- Navigate to: A draft pull request where Copilot is available
- Expected: "Request Review" button appears next to Copilot reviewer link
- Action: Click the button
- Expected:
- Attempts to open reviewer selection UI
- Button shows "Requested!" with green checkmark
- Button returns to normal state after 2 seconds
-
Non-Draft PR
- Navigate to: An open (non-draft) pull request
- Expected: "Request Review" button does NOT appear
- Reason: Feature only activates on draft PRs
-
Draft PR without Copilot
- Navigate to: A draft PR where Copilot is not listed as a reviewer option
- Expected: Button does not appear (no Copilot link to attach to)
- Chrome (primary target)
- Microsoft Edge (Chromium-based)
- Brave (Chromium-based)
- Button positioning is correct and doesn't break layout
- Buttons don't duplicate on dynamic page updates
- Extension works with GitHub's dark and light themes
- Extension works on private repositories
- Extension works on organization repositories
- Copy function works correctly with special characters in PR title
- Extension doesn't interfere with other GitHub functionality
- Browser: _____________
- Browser Version: _____________
- Date Tested: _____________
- Tester: _____________
| Test Case | Status | Notes |
|---|---|---|
| Button appears | ⬜ Pass / ⬜ Fail | |
| Copy to clipboard works | ⬜ Pass / ⬜ Fail | |
| Format is correct | ⬜ Pass / ⬜ Fail | |
| Visual feedback works | ⬜ Pass / ⬜ Fail |
| Test Case | Status | Notes |
|---|---|---|
| Button appears on draft PR | ⬜ Pass / ⬜ Fail | |
| Button hidden on non-draft PR | ⬜ Pass / ⬜ Fail | |
| Click action works | ⬜ Pass / ⬜ Fail | |
| Visual feedback works | ⬜ Pass / ⬜ Fail |
- Check that Developer mode is enabled in
chrome://extensions/ - Verify all files (manifest.json, content.js, icons) are present
- Check for errors in the Extensions page
- Try removing and re-adding the extension
- Open DevTools console (F12) and check for JavaScript errors
- Verify you're on a GitHub pull request page (URL: github.com///pull/*)
- Refresh the page
- Check if GitHub has changed their DOM structure (selectors might need updating)
- Check browser permissions for clipboard access
- Try on a different GitHub PR page
- Check DevTools console for errors
- Ensure the page is loaded over HTTPS
- Verify the PR is actually in draft status
- Check that Copilot reviewer is available on the repository
- Check DevTools console for errors
- May need to manually adjust based on GitHub's current UI structure
- Go to
chrome://extensions/ - Find "GitHub UI Mods"
- Click "Inspect views: background page" or inspect the content script from DevTools
- Open any GitHub PR page
- Open DevTools (F12)
- Go to Console tab
- Look for messages from the extension
- Use Sources tab to set breakpoints in content.js
- Open
test.htmlin your browser - Verify buttons appear on the simulated GitHub page
- This tests the extension logic without needing actual GitHub access
-
Request Review functionality: This feature attempts to automate clicking through GitHub's UI. If GitHub changes their DOM structure, this may break and require updates to the selectors in content.js.
-
Dynamic content: GitHub uses dynamic content loading. The extension uses MutationObserver to handle this, but there may be edge cases where buttons don't appear immediately.
-
Permissions: The extension only has access to GitHub pull request pages (for security and performance).
If you encounter issues:
- Check the Troubleshooting section above
- Document the issue with:
- Browser and version
- GitHub page URL (without sensitive info)
- Steps to reproduce
- Console errors (if any)
- Screenshots (if applicable)