New User Flow
waitForPageToLoad
open /dev-new-user?first_name=Sim&last_name=Aloo&dod_id=1234567654
waitForPageToLoad
waitForElementPresent css=div.h2
assertText css=div.h2 *Sim Aloo*
waitForPageToLoad
waitForElementPresent css=h3.usa-alert-heading
assertText css=h3.usa-alert-heading *You must complete your profile*
waitForPageToLoad
waitForElementPresent css=.h3
assertText css=.h3 *DoD ID: 1234567654*
waitForPageToLoad
waitForElementPresent css=#email
type css=#email jay+sim@promptworks.com
waitForPageToLoad
waitForElementPresent css=#phone_number
type css=#phone_number (215) 555-0933
waitForPageToLoad
waitForElementPresent css=#service_branch
type css=#service_branch army
waitForPageToLoad
waitForElementPresent css=#citizenship > li:nth-of-type(1) > label
click css=#citizenship > li:nth-of-type(1) > label
waitForPageToLoad
waitForElementPresent css=#designation > li:nth-of-type(2) > label
click css=#designation > li:nth-of-type(2) > label
waitForPageToLoad
waitForElementPresent css=input[name="date-month"]
type css=input[name="date-month"] 10
waitForPageToLoad
waitForElementPresent css=input[name="date-day"]
type css=input[name="date-day"] 01
waitForPageToLoad
waitForElementPresent css=#date-year
type css=#date-year 2019
waitForPageToLoad
waitForElementPresent css=input[name="date-day"]
click css=input[name="date-day"]
waitForPageToLoad
waitForElementPresent css=button[type="submit"]
click css=button[type="submit"]
waitForPageToLoad
waitForElementPresent css=h3.usa-alert-heading
assertText css=h3.usa-alert-heading *User information updated.*
waitForPageToLoad
waitForElementPresent css=.home__content > h1
assertText css=.home__content > h1 *JEDI Cloud Services*