Journal entry
Bridging Test Plans at Firefox: What Did We Miss?
Eight Firefox features. Two hundred AI-generated test scenarios. Fifty-four useful ideas missing from the existing plans. Here’s what worked, what went sideways, and why the QA engineers made the difference.
A browser has a remarkable talent for turning one simple feature into a hundred different ways someone might use it. Could an LLM help us spot the ones we missed?
You’re watching a video. You switch tabs. The video pops into a floating window. Nice.
Now try it with a video behind a subscription. Or one that needs a login. Does it still behave the way you expect?
That small detour is where this story gets interesting. In our study with Mozilla, GPT-4 Turbo suggested checking those situations for Firefox’s automatic Picture-in-Picture feature. QA reviewers judged them useful additions to the existing test plan.
The question behind our research was just as practical: could an LLM help experienced testers think of scenarios they hadn’t already written down?
First, what’s a test plan?
Think of it as a feature’s preflight checklist. Before a browser feature reaches users, QA engineers work out what should happen, how to check it, and which awkward situations deserve attention.
These are human-readable scenarios, rather than executable unit tests. A scenario might ask a tester to check a PDF viewer in a different theme, restore a browser session after an update, or see what happens when a website interferes with a right-click menu.
At Mozilla, a feature’s plan typically contains 10 to 30 high-level cases. Writing them takes product knowledge and imagination. You have to picture the ordinary user, the impatient user, and the user whose browser has somehow become a museum of open tabs.
Even a carefully written checklist can leave something out. That made test planning an appealing place to try a second source of ideas.
Eight features, 200 suggestions
We gave GPT-4 Turbo the description and testing scope of eight Firefox features under development. They covered a useful mix: translating selected text, generating image descriptions in PDFs, restoring sessions on macOS, and automatically opening Picture-in-Picture, among others.
We also supplied existing plans for three separate Firefox features as examples. Those showed the model what a Mozilla test plan should look and sound like.
Then we asked for 25 cases per feature, with one generation run for each. Eight features, 200 suggestions, and no endless rerolling until the output looked impressive.
Three Mozilla QA leads took part in the evaluation. Each feature’s lead reviewed its generated cases against the feature’s requirements and existing plan. I independently assessed the cases too; our agreement score was 0.91 using kappa, a measure that accounts for agreement by chance.
The reviewers sorted the suggestions into four groups: useful new cases, cases already covered, invalid cases, and cases that didn’t fit the testing scope.
The number that made this interesting: 54
Here’s how the 200 suggestions landed:
- 54 were new, valid, and relevant: 27% of all generated cases.
- 101 covered scenarios already in the existing plans: 50.5%.
- 29 were invalid: 14.5%.
- 16 were out of scope or otherwise unsuitable: 8%.
By the numbers
200 suggestions, four outcomes
200 generated scenarios · share of total
- New and useful54 · 27%
- Already covered101 · 50.5%
- Invalid29 · 14.5%
- Out of scope or otherwise unsuitable16 · 8%
That gave us 54 useful additions for reviewers to consider. The 27% figure describes the share of generated suggestions judged novel and useful; the study did not measure a 27% increase in test coverage or a reduction in shipped bugs.
The examples make the result easier to appreciate. Alongside the subscription-video cases, the model suggested checking that the selected-text translation option stays absent on sites that take control of the right-click menu. That’s a very browser-shaped problem: a feature meeting the messy behavior of an actual website.
Results varied considerably. Picture-in-Picture and macOS session resume each produced 12 novel cases out of 25. Back button intervention produced zero. The average tells a useful story, but it doesn’t promise every feature the same outcome.
And then the model tested the wrong browser platform
Some suggestions sounded reasonable right up until someone checked the details.
For back button intervention, six cases were invalid because the model aimed them at Firefox on Android when the work concerned Desktop. A plausible test for the wrong platform is still the wrong test.
The text input event feature caused another kind of trouble. The model misread the relationship between the beforeinput and input events, producing cases built on a faulty technical assumption. Thirteen of that feature’s 25 suggestions were invalid.
Other ideas wandered beyond the assignment. Performance checks and network-condition scenarios might be useful elsewhere, but they didn’t belong in the functional testing scope being evaluated.
These failures show why a tidy list of confident sentences needs a knowledgeable reviewer. Formatting is easy to admire. Technical assumptions take more work to inspect.
Even the familiar ideas had something to offer
Just over half the suggestions overlapped with existing cases. For a study looking for missing scenarios, that limits the number of additions. It also raises an interesting possibility: a generated plan could give a QA engineer something to work from when facing a blank page.
We didn’t measure that potential time saving. We did see a smaller, concrete benefit: for macOS session resume, QA engineers preferred some generated summaries enough to replace their own wording.
Even an invalid suggestion could spark a useful thought. Back button intervention yielded no valid novel cases, yet one rejected idea prompted the team to consider a different, valid way to stress-test history behavior.
A reviewer could sometimes take an imperfect suggestion somewhere worthwhile.
What I’d carry into the next experiment
I’d start by making the boundaries unmistakable: target platform, intended behavior, and what this round of testing excludes. I’d include representative plans so the output fits the team’s working style, then leave room for engineers to challenge every assumption.
I’d also explore supplying the current feature’s test plan and asking specifically for gaps. Our paper proposes that direction; the evaluated workflow generated plans from feature descriptions, scope, and examples for other features.
This was a study of one model and eight Firefox features, with one generation run per feature. It gives us a promising result to investigate further, rather than a universal score for AI-assisted QA.
What stays with me is the subscription video. It’s such a small question: have we tried this when a login is involved? Small questions are often exactly what a good test plan needs. In this study, an LLM helped bring more of them to the table, and the QA engineers decided which deserved a place on the checklist.