From e047b206d0aeb71b6073651a95da986151d434cb Mon Sep 17 00:00:00 2001 From: Tim Nguyen Date: Sat, 27 Jul 2019 04:14:41 +0300 Subject: [PATCH] Bug 1569341 - Update test_login_item.html expectations to be correct. r=bustage-fix on a CLOSED TREE --HG-- extra : amend_source : f028020d0e27315bd680714c80f6330474c05dc1 --- .../components/aboutlogins/tests/chrome/test_login_item.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser/components/aboutlogins/tests/chrome/test_login_item.html b/browser/components/aboutlogins/tests/chrome/test_login_item.html index 68da867a07de..3a6f0f74d8f2 100644 --- a/browser/components/aboutlogins/tests/chrome/test_login_item.html +++ b/browser/components/aboutlogins/tests/chrome/test_login_item.html @@ -98,7 +98,7 @@ add_task(async function test_edit_login() { is(document.l10n.getAttributes(gLoginItem.shadowRoot.querySelector(".time-changed")).args.timeChanged, TEST_LOGIN_1.timePasswordChanged, "time-changed should be populated"); is(document.l10n.getAttributes(gLoginItem.shadowRoot.querySelector(".time-used")).args.timeUsed, TEST_LOGIN_1.timeLastUsed, "time-used should be populated"); let copyButtons = [...gLoginItem.shadowRoot.querySelectorAll(".copy-button")]; - ok(copyButtons.every(button => !isHidden(button)), "The copy buttons should be visible when editing a login"); + ok(copyButtons.every(button => isHidden(button)), "The copy buttons should be visible when editing a login"); gLoginItem.shadowRoot.querySelector("input[name='username']").value = "newUsername"; gLoginItem.shadowRoot.querySelector("input[name='password']").value = "newPassword";