summaryrefslogtreecommitdiffstats
path: root/browser/extensions/formautofill/test/mochitest/test_autofocus_form.html
diff options
context:
space:
mode:
Diffstat (limited to 'browser/extensions/formautofill/test/mochitest/test_autofocus_form.html')
-rw-r--r--browser/extensions/formautofill/test/mochitest/test_autofocus_form.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/browser/extensions/formautofill/test/mochitest/test_autofocus_form.html b/browser/extensions/formautofill/test/mochitest/test_autofocus_form.html
index e2240474c8..2aa34f0c54 100644
--- a/browser/extensions/formautofill/test/mochitest/test_autofocus_form.html
+++ b/browser/extensions/formautofill/test/mochitest/test_autofocus_form.html
@@ -39,8 +39,12 @@ add_task(async function check_autocomplete_on_autofocus_field() {
synthesizeKey("KEY_ArrowDown");
await expectPopup();
checkMenuEntries(MOCK_STORAGE.map(address =>
- JSON.stringify({primary: address.organization, secondary: address["street-address"]})
- ));
+ makeAddressLabel({
+ primary: address.organization,
+ secondary: address["street-address"],
+ status: "Also autofills address, phone"
+ })
+ ), 2);
});
</script>