blob: 41d57c20df3c47a9e4494c0ae420626eec563518 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
"use strict";
const URL =
"http://example.org/browser/browser/extensions/formautofill/test/browser/autocomplete_basic.html";
add_task(async function setup_storage() {
await setStorage(TEST_ADDRESS_1, TEST_ADDRESS_2, TEST_ADDRESS_3);
});
add_task(async function test_address_dropdown() {
await BrowserTestUtils.withNewTab(
{ gBrowser, url: URL },
async function (browser) {
const focusInput = "#organization";
await openPopupOn(browser, focusInput);
const firstItem = getDisplayedPopupItems(browser)[0];
is(firstItem.getAttribute("ac-image"), "", "Should not show icon");
await closePopup(browser);
}
);
});
|