зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1378072
- Update entity name of the warning note and its string as the meaning is slightly changed in the latest UX spec. r=lchang
MozReview-Commit-ID: JVITqjQXBxJ --HG-- extra : rebase_source : 0f1ca7cc0596c778cf54ee6698bb14e6a1d55013
This commit is contained in:
Родитель
ca58c30b23
Коммит
c6edee451f
|
@ -29,5 +29,5 @@ fieldNameSeparator = ,\u0020
|
|||
# text that is displayed for informing users what categories are about to be filled.
|
||||
# "%S" will be replaced with a list generated from the pre-defined categories.
|
||||
# The text would be e.g. Also fill company, phone, email
|
||||
phishingWarningMessage = Also fill %S
|
||||
phishingWarningMessage2 = Fill %S
|
||||
phishingWarningMessage = Also autofills %S
|
||||
phishingWarningMessage2 = Autofills %S
|
||||
|
|
|
@ -69,14 +69,14 @@ add_task(async function test_phishing_warning() {
|
|||
await openPopupOn(browser, "#street-address");
|
||||
const warningBox = itemsBox.querySelector(".autocomplete-richlistitem:last-child")._warningTextBox;
|
||||
ok(warningBox, "Got phishing warning box");
|
||||
await expectWarningText(browser, "Also fill company, phone, email");
|
||||
await expectWarningText(browser, "Also autofills company, phone, email");
|
||||
await BrowserTestUtils.synthesizeKey("VK_DOWN", {}, browser);
|
||||
await expectWarningText(browser, "Also fill company, phone, email");
|
||||
await expectWarningText(browser, "Also autofills company, phone, email");
|
||||
await BrowserTestUtils.synthesizeKey("VK_DOWN", {}, browser);
|
||||
await expectWarningText(browser, "Fill address");
|
||||
await expectWarningText(browser, "Autofills address");
|
||||
await BrowserTestUtils.synthesizeKey("VK_DOWN", {}, browser);
|
||||
await BrowserTestUtils.synthesizeKey("VK_DOWN", {}, browser);
|
||||
await expectWarningText(browser, "Also fill company, phone, email");
|
||||
await expectWarningText(browser, "Also autofills company, phone, email");
|
||||
|
||||
// Ensure the popup is closed before entering the next test.
|
||||
await ContentTask.spawn(browser, {}, async function() {
|
||||
|
|
Загрузка…
Ссылка в новой задаче