mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-01 08:42:13 +00:00
Bug 1569341 - Update test_login_item.html expectations to be correct. r=bustage-fix on a CLOSED TREE
--HG-- extra : amend_source : f028020d0e27315bd680714c80f6330474c05dc1
This commit is contained in:
parent
7334e101f1
commit
e047b206d0
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user