summaryrefslogtreecommitdiffstats
path: root/browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js
diff options
context:
space:
mode:
Diffstat (limited to 'browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js')
-rw-r--r--browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js b/browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js
index 5de499b942..09c2f7e195 100644
--- a/browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js
+++ b/browser/extensions/formautofill/test/browser/creditCard/browser_insecure_form.js
@@ -55,28 +55,28 @@ add_task(async function test_insecure_form() {
urlPath: TEST_URL_PATH,
protocol: "https",
focusInput: "#organization",
- expectedType: "autofill-profile",
- expectedResultLength: 2,
+ expectedType: "autofill",
+ expectedResultLength: 3, // add one for the status row
},
{
urlPath: TEST_URL_PATH,
protocol: "http",
focusInput: "#organization",
- expectedType: "autofill-profile",
- expectedResultLength: 2,
+ expectedType: "autofill",
+ expectedResultLength: 3, // add one for the status row
},
{
urlPath: TEST_URL_PATH_CC,
protocol: "https",
focusInput: "#cc-name",
- expectedType: "autofill-profile",
- expectedResultLength: 3,
+ expectedType: "autofill",
+ expectedResultLength: 3, // no status row here
},
{
urlPath: TEST_URL_PATH_CC,
protocol: "http",
focusInput: "#cc-name",
- expectedType: "autofill-insecureWarning", // insecure warning field
+ expectedType: "insecureWarning", // insecure warning field
expectedResultLength: 1,
},
];