Thunderbird/Betterbird add-on (Manifest V3): typing inside a quote splits the quote and inserts your own text with a marker such as [OH]:. - English and German user interface - Licensed under the Mozilla Public License 2.0 - English documentation, JSDoc lint gate, 87 tests (node:test + jsdom)
6.0 KiB
Manual test in Thunderbird
The automated tests run in jsdom without a real mail editor. The cases below check the behaviour in
Thunderbird (and Betterbird). Record the result together with the add-on version, the application
and its version and the date in the daily log (.plan/daily/<date>.md) or in the release issue.
Preparation: load the .xpi as a temporary add-on (see development.md) and
reply to an email with a longer quote, ideally with history, i.e. nested quotes. Compose in HTML
unless a case says otherwise. In the table, XY stands for the initials of the sender identity.
Behaviour
| No. | Step | Expected result |
|---|---|---|
| 1 | Click in the middle of a sentence inside the quote, type "a" | Quote split, [XY]: a in blue in between, caret after "a" |
| 2 | Keep typing, press Enter, keep typing | No new marker, the text stays blue |
| 3 | Ctrl+Z (twice if needed) | Comment gone, quote whole again |
| 4 | Type inside the inner (nested) quote | All quote levels split cleanly, no empty quote remnants |
| 5 | Inside the quote only click, select, Ctrl+C, arrow keys | Quote unchanged |
| 6 | Press Enter inside the quote, then type | The empty line gets the marker |
| 7 | Reply at the very top, above the quote | No marker |
| 8 | AltGr+Q (@ on a German keyboard layout) inside the quote |
Splits, [XY]: @ |
| 9 | Select text inside the quote and type | Selection replaced, comment at this position |
| 10 | Click the "Inline Comment" toolbar button | Badge "off", typing inside the quote behaves normally; click again → "on" |
| 11 | Switch the sender (identity), type inside the quote | Marker of the new identity |
| 12 | Change the options (template {name}:, colour), use the open window |
New values without restart |
| 13 | Send the email to a test mailbox at a webmail provider (Gmail, Outlook) | Colours and marker visible there |
| 14 | Reply in plain-text format, type inside the quote | Quote split, [XY]: a without > in front |
| 15 | Option "Split the quote: by the add-on (fallback)", cases 1 and 4 | Same result (without Ctrl+Z) |
| 16 | Keep the compose window open, reload the add-on, type inside the quote | Works without a new window |
User interface languages
Switch the Thunderbird UI language under Settings > General > Language (install the language
pack or use a localized build if the language is not offered) and restart Thunderbird.
| No. | Step | Expected result |
|---|---|---|
| 17 | English UI: open Add-ons and Themes > Inline Comment > Options, then a compose window |
Add-on listed as "Inline Comment" with the English description; options page, headings, buttons and preview in English; tooltip and badge "on"/"off" in English; no message keys such as __MSG_…__ visible |
| 18 | German UI: same steps as case 17 | Add-on listed as "Inline-Kommentar"; options page in German ("Inline-Kommentar – Einstellungen", "Profil", "Verhalten", …), German preview text, badge "an"/"aus"; no English leftovers, no clipped labels |
Applications and versions
| No. | Step | Expected result |
|---|---|---|
| 19 | Thunderbird 160 (release channel): install the .xpi, run cases 1, 3, 4, 10, 12 and 14 |
All pass; no errors or warnings for the add-on in about:debugging or the console |
| 20 | Thunderbird 153 ESR: install the .xpi, run cases 1, 3, 4, 10, 12 and 14 |
All pass; no errors or warnings for the add-on in about:debugging or the console |
The full list (cases 1 to 18) runs at least once per release in one of these versions. Betterbird is based on Thunderbird ESR; before a release, repeat the selection of case 20 there as well.
If something fails: enable "Diagnostic output in the error console" in the options, copy the
messages starting with [Inline Comment] from the Error Console (Ctrl+Shift+J) and record them with
the case number in the daily log, or open an issue at
https://git.hassio-muc.de/Oliver_Herb/inline-comment/issues.