New User Flow
waitForPageToLoad |  |
open | /dev-new-user?first_name=Sim&last_name=Aloo&dod_id=1234567896 |
waitForPageToLoad |  |
waitForElementPresent | css=a[href="/user"] > .topbar__link-label |
assertText | css=a[href="/user"] > .topbar__link-label | *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: 1234567896*
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 | Air Force, Department of the
waitForPageToLoad |  |
waitForElementPresent | css=#service_branch > option:nth-of-type(2) |
click | css=#service_branch > option:nth-of-type(2) |
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=.sticky-cta-text > h3 |
assertText | css=.sticky-cta-text > h3 | *Get Started*
waitForPageToLoad |  |
waitForElementPresent | css=h3.usa-alert-heading |
assertText | css=h3.usa-alert-heading | *User information updated.*
waitForPageToLoad |  |
waitForElementPresent | css=.about-cloud > h1 |
assertText | css=.about-cloud > h1 | *About Cloud Services*