mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 01:05:45 +00:00
Bug 1480900 follow-up: Fix lint failure
Landed on a CLOSED TREE
This commit is contained in:
parent
fe0d617191
commit
7013faf184
@ -81,8 +81,8 @@ add_task(async function test_autofillCheckboxes() {
|
||||
"Checkbox should be unchecked when Autofill Addresses is disabled");
|
||||
is(content.document.querySelector(selectors.creditCardAutofillCheckbox).checked, false,
|
||||
"Checkbox should be unchecked when Autofill Credit Cards is disabled");
|
||||
content.document.querySelector(selectors.addressAutofillCheckbox).
|
||||
scrollIntoView({block: "center", behavior: "instant"});
|
||||
content.document.querySelector(selectors.addressAutofillCheckbox)
|
||||
.scrollIntoView({block: "center", behavior: "instant"});
|
||||
});
|
||||
|
||||
info("test toggling the checkboxes");
|
||||
@ -91,8 +91,8 @@ add_task(async function test_autofillCheckboxes() {
|
||||
"Check address autofill is now enabled");
|
||||
|
||||
await ContentTask.spawn(browser, SELECTORS, (selectors) => {
|
||||
content.document.querySelector(selectors.creditCardAutofillCheckbox).
|
||||
scrollIntoView({block: "center", behavior: "instant"});
|
||||
content.document.querySelector(selectors.creditCardAutofillCheckbox)
|
||||
.scrollIntoView({block: "center", behavior: "instant"});
|
||||
});
|
||||
await BrowserTestUtils.synthesizeMouseAtCenter(SELECTORS.creditCardAutofillCheckbox, {}, browser);
|
||||
is(Services.prefs.getBoolPref(ENABLED_AUTOFILL_CREDITCARDS_PREF), true,
|
||||
|
Loading…
Reference in New Issue
Block a user