Debugging Checklist - mOrsExtension/mOrs GitHub Wiki
Test Checklist
Bootup
- Uninstall existing version.
- Load Extension.
- Restart Browser.
- Inspect service worker (browse:
chrome://extensions/; clickDetails; clickservice worker):- Seven files successfully loaded
- userInitialData.json unpacked & user variables set
Load simple chapter
- In omnibox (F6) type
ors 96; enter. - Confirm navigation ('https://www.oregonlegislature.gov/bills_laws/ors/ors096.html#96')
- Confirm 'Volume 3, Title 10, Chapter 96: Line and Partition Fences' & '[2023 EDITION]' in heading
- Confirm 'open & highlighted volume (3), title (10) & chapter (96:Line and Partition Fences)'
- Confirm TOC exists
- Confirm no error messages in service worker
Popup
- Locate popup in extensions (puzzle piece) menu & pin to toolbar.
- Confirm default settings:
- Version (should match manifest & \README.md)
- Display mode: Dark (popup should also be dark mode)
- Session lookup source: Ore. Leg.
- Checkboxes:
- true (show repealed)
- true (show source notes)
- false (full width)
- false (collapse by default)
- true (show menu button)
- false (show volume nav)
- Toggle each checkbox twice. For each:
- Confirm operation changes and changes back on page
- Confirm service worker shows "stored user data" & no errors
- Keep one changed.
- Close and reopen popup.
- Confirm that checkmark status stayed saved.
- Reload page (ORS 96).
- Confirm that changed checkmark status implemented.
- Confirm no errors on service worker
- Under Color scheme test "Dark Grey" & "Light"
- From popup, select non-custom option and select
Set Custom Colors- Select a few colors and save.
- Confirm change of colors on popup & on section.
- Return to
Dark(or whatever you want to use)
Repealed Chapters
- In Omnibox type
ors 13; 657A - Confirm in both pages correct chapter number, chapter title, and "Note:"
Complex chapter (ORS 90)
- In omnibox (search bar) enter
ors 90.675 - Confirm correct section is aligned at top of screen under
MANUFACTURED DWELLING ...and(Ownership Change) - Confirm no errors on service worker
- From TOC, click
90.425- Confirm navigation as expected
- Confirm Top Heading
LANDLORD REMEDIES
- Hover, collapse & expand via heading button (hover & click on leadline)
- Check ORS 90.425 (10)(a)(B) & confirm nested indentation on paragraphs (a) through sub-sub-sub paragraph (a)(B)(i)(I)
- Check source note in text & ctrl-click source note for
2001 c.44- Confirm navigation in new tab (
Chapter 44 Oregon Laws 2001 / HB 2031) - Close tab
- Confirm navigation in new tab (
- Scroll down to 90.453 (3) form
- Confirm form div top
QUALIFIED THIRD PARTY VERIFICATION& bottomDate: _: - I.e. No form ending mend line, form does not carry through (4)
- Confirm form headings are formatted bold & heading color
- Confirm text in parenthesis (
Signature of party...) and underlines are normal/unformatted - Click
90.100in form
- Confirm form div top
Table of Contents & Annotations
- Scroll up to Table of Contents:
- Begins: ~16pt
GENERAL PROVISIONS - Followed by: ~12pt
90.100 Definitions - Followed by: ~12pt Note Consumer credit...
- ...Later: ~16pt
MANUFACTURED DWELLING PARKS AND MARINAS - Followed by: ~14pt not italic
(General Provisions) - TOC ends:
90.875 Remedy for failure to give notice - Followed by: closing one 2px box; "Whole ORS Chapter Annotations"; then opening new 2px box starting
GENERAL PROVISIONS
- Begins: ~16pt
- Click on "Whole ORS Chapter Annotations" dropdown
- Check Court of Appeals link
- Check Oregon Supreme Court link
- Check Willamette Law link (WL)
- Ctrl click on link at top; confirm navigation to ORS 90 Annos
- Click TOC link to 90.105; confirm internal navigation in page works.
- Scroll up a bit to "90.100 Annotations" dropdown; confirm 2 bullets (as of 2024)
- From menu or menu button
Collapse all - Scroll to TOC and use internal link to navigate to different ORS section
- Confirm section automatically expands upon scroll
Source Notes:
- Scroll up to bottom of 90.100
- Confirm links for 1999 onward
- In popup:
- Switch lookup source to none; confirm notes disappear
- Switch to Hein; confirm that all have Hein link
- Switch to both; check pre and post 1999 link
- Ctrl-click
1991 c.884; confirm navigation to Hein page (after login) - Scroll to 90.160 source notes.
- Ctrl-click source note for
2020 s.s.3 c.3 - Confirm navigation to 2020 3rd SS, c.3. (HB 4401)
Floating menu button:
- Toggle full width/reading mode back & forth - confirm expected behavior
- Toggle collapse all and expand all - confirm expected behavior
- [TEMP DEPRECIATED Click
Previous Chapter; after loadNext Chapter2x. ThenPrevious Chapteronce more.]
MISC Checks
-
Future Amends
- Scroll to ORS
90.303- Confirm note div follows
- Confirm div contains note and note section & both end before ORS 90.304
- Confirm future amend section expands & collapses
- Confirm date & border are highlighted (green/red = true/false) [doesn't work 7/3/25]
- Ctrl-click on
chapter 39, Oregon Laws 2021- Confirm link works
- Scroll to ORS
-
External links
- Ctrl-Click on link to
105.105(External link test)- Confirm navigation & auto scroll to section
- Close tab
- Ctrl-Click on link to
-
Subparagraph (L) issue
- Scroll to
90.510 - Confirm proper indentation for
90.510 (1)(L)(L is paragraph) - Scroll to
90.643 - Confirm proper indentation for
90.643 (3)(b)(L)(L is subparagraph)
- Scroll to
-
End of Chapter
- Scroll to end of chapter
- Confirm ends with
- [
Former ORS 90.940] - Source note
- Close of both heading & nested subheading div boxes
- [
- Confirm heading & subheading both "stuck" to top of page
TOC Additional Check
- Omnibox
ors 458- TOC ends with:
458.740 Project Facilitation - Followed by:
Note: Definitions... - Followed by: burnt (renumbered) sections for 458.005 through 458.065
- Followed by: new Heading box for
COMMUNITY-BASED HOUSING DEVELOPMENT - Close tab
- TOC ends with:
Omnibox and Complicated Forms
- Omnibox
ors 105.124, 105.464- Should load both in two separate windows
- Both should be scrolled to correct pin cite.
- Scroll down to confirm form
- Under popup menu >
Oregon Session Law Lookup Source>Ore. Legislature - Omnibox
ors 2024 c. 102- Confirm that it takes you to HB 4063 (2024)
- Omnibox
ors 2020 ss2 c.1- Confirm special session source note link works (SB 1701) (Won't directly work in Hein)
- Under popup menu >
Oregon Session Law Lookup Source>HeinOnline - Omnibox
ors 2023 c.549- Confirm link works in Hein (HB 3443)