Gray out the password field for admins (#506)

* Gray out the password field for admins

We don't check it for admins since it's not necessary, so ignore it

* Remove the field entirely
This commit is contained in:
gbrodman 2020-03-10 11:30:20 -04:00 committed by GitHub
parent 499237ac57
commit f2846fc914
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 6 deletions

View file

@ -499,7 +499,6 @@ public class RegistrarConsoleScreenshotTest extends WebDriverTestCase {
@Test
public void registryLock_unlockModal() throws Throwable {
server.setIsAdmin(true);
server.runInAppEngineEnvironment(
() -> {
createDomainAndSaveLock();
@ -527,7 +526,6 @@ public class RegistrarConsoleScreenshotTest extends WebDriverTestCase {
driver.findElement(By.id("button-lock-domain")).click();
driver.waitForElement(By.className("modal-content"));
driver.findElement(By.id("domain-lock-input-value")).sendKeys("somedomain.tld");
driver.findElement(By.id("domain-lock-password")).sendKeys("password");
driver.diffPage("page");
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 52 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 55 KiB

After

Width:  |  Height:  |  Size: 52 KiB

Before After
Before After