зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1438702 - Skip test_credit_card_autofill_section when CC autofill is disabled. r=jaws
MozReview-Commit-ID: B1qa9BhIa05 --HG-- extra : rebase_source : 90c896bb1ebe84b687cc1b1d1698542fd0c69aa0
This commit is contained in:
Родитель
181642ad79
Коммит
05f00ac1ee
|
@ -1,4 +1,7 @@
|
|||
[DEFAULT]
|
||||
prefs =
|
||||
extensions.formautofill.available='on'
|
||||
extensions.formautofill.creditCards.available=true
|
||||
support-files =
|
||||
head.js
|
||||
privacypane_tests_perwindow.js
|
||||
|
|
|
@ -25,6 +25,9 @@ add_task(async function test_address_autofill_section() {
|
|||
});
|
||||
|
||||
add_task(async function test_credit_card_autofill_section() {
|
||||
if (!Services.prefs.getBoolPref("extensions.formautofill.creditCards.available")) {
|
||||
return;
|
||||
}
|
||||
let prefs = await openPreferencesViaOpenPreferencesAPI("privacy-credit-card-autofill", {leaveOpen: true});
|
||||
is(prefs.selectedPane, "panePrivacy", "Privacy pane is selected by default");
|
||||
let doc = gBrowser.contentDocument;
|
||||
|
|
Загрузка…
Ссылка в новой задаче