From 79818c9cbe399e272760d5d505c8bf908919e4f2 Mon Sep 17 00:00:00 2001 From: Dimi Date: Tue, 6 Sep 2022 17:54:07 +0000 Subject: [PATCH] Bug 1789419 - Remove credit card test that depends on build setting. r=sgalich The test fails on beta simulation because release build and late beta use a higher confidence threshold. We can remvoe this test since the test is already covered by the next two testcases (low confidence & high confidence) Differential Revision: https://phabricator.services.mozilla.com/D156571 --- .../creditCard/browser_creditCard_heuristics.js | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_heuristics.js b/browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_heuristics.js index 6cd17c1caba3..d4c6b881b919 100644 --- a/browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_heuristics.js +++ b/browser/extensions/formautofill/test/browser/creditCard/browser_creditCard_heuristics.js @@ -32,14 +32,8 @@ const TESTCASES = [ idsToShowPopup: ["cc-number"], }, { - description: "one input field cc-number without autocomplete", - document: `
- -
`, - idsToShowPopup: ["cc-number"], - }, - { - description: "one input field cc-number high confidence", + description: + "one input field cc-number without autocomplete (high confidence)", document: `
`, @@ -53,7 +47,8 @@ const TESTCASES = [ idsToShowPopup: ["cc-number"], }, { - description: "one input field cc-number low confidence", + description: + "one input field cc-number without autocomplete (low confidence)", document: `
`,