Set the registrar WHOIS email in the web console creation endpoint

We set the initial value to the "icann referral email", but registrars can change it later if they want.

Although this value isn't strictly required, we assume it exists in the spec11 report.

Also changed the name of the contact email from "email" to "consoleUserEmail"

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=235734200
This commit is contained in:
guyben 2019-02-26 09:21:44 -08:00 committed by Weimin Yu
parent 92458f4363
commit e9f2a49e9a
5 changed files with 35 additions and 26 deletions

View file

@ -65,7 +65,7 @@ public class RegistrarCreateConsoleScreenshotTest {
driver.findElement(By.id("driveId")).sendKeys("drive-id");
driver.findElement(By.id("ianaId")).sendKeys("15263");
driver.findElement(By.id("referralEmail")).sendKeys("email@icann.example");
driver.findElement(By.id("email")).sendKeys("my-name@registry.example");
driver.findElement(By.id("consoleUserEmail")).sendKeys("my-name@registry.example");
driver.findElement(By.id("street1")).sendKeys("123 Street st.");
driver.findElement(By.id("city")).sendKeys("Citysville");
driver.findElement(By.id("countryCode")).sendKeys("fr");
@ -92,7 +92,7 @@ public class RegistrarCreateConsoleScreenshotTest {
driver.findElement(By.id("driveId")).sendKeys("drive-id");
driver.findElement(By.id("ianaId")).sendKeys("15263");
driver.findElement(By.id("referralEmail")).sendKeys("email@icann.example");
driver.findElement(By.id("email")).sendKeys("bad email");
driver.findElement(By.id("consoleUserEmail")).sendKeys("bad email");
driver.findElement(By.id("street1")).sendKeys("123 Street st.");
driver.findElement(By.id("city")).sendKeys("Citysville");
driver.findElement(By.id("countryCode")).sendKeys("fr");