New App Step 3
waitForPageToLoad
open /login-dev?username=brandon
waitForPageToLoad
waitForElementPresent css=a[href="/user"] > .topbar__link-label
assertText css=a[href="/user"] > .topbar__link-label *Brandon Buchannan*
waitForPageToLoad
waitForElementPresent css=a[href="/logout"] > .topbar__link-label
click css=a[href="/logout"] > .topbar__link-label
waitForPageToLoad
waitForElementPresent css=.col > .usa-alert.usa-alert-info:nth-of-type(2) > .usa-alert-body > h3.usa-alert-heading
assertText css=.col > .usa-alert.usa-alert-info:nth-of-type(2) > .usa-alert-body > h3.usa-alert-heading *Logged out*
waitForPageToLoad
open /login-dev
waitForPageToLoad
waitForElementPresent css=.home__content > h1
assertText css=.home__content > h1 JEDI Cloud Services
waitForPageToLoad
waitForElementPresent css=a[href="/portfolios/new"]
click css=a[href="/portfolios/new"]
waitForPageToLoad
waitForElementPresent css=.portfolio-header__name > h1
assertText css=.portfolio-header__name > h1 *New Portfolio*
waitForPageToLoad
waitForElementPresent css=.sticky-cta-text > h3
assertText css=.sticky-cta-text > h3 *Name and Describe Portfolio*
waitForPageToLoad
waitForElementPresent css=#name
type css=#name Tatooine Energy Maintenance Systems ${alphanumeric}
waitForPageToLoad
waitForElementPresent css=fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
click css=fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
waitForPageToLoad
waitForElementPresent css=input[type="submit"]
click css=input[type="submit"]
waitForPageToLoad
waitForElementPresent css=.empty-state > h3
assertText css=.empty-state > h3 *You don’t have any Applications yet*
waitForPageToLoad
waitForElementPresent css=a.usa-button.usa-button-primary
click css=a.usa-button.usa-button-primary
waitForPageToLoad
waitForElementPresent css=.sticky-cta-text > h3
assertText css=.sticky-cta-text > h3 *Name and Describe New Application*
waitForPageToLoad
waitForElementPresent css=.sticky-cta-context
assertText css=.sticky-cta-context *Step 1 of 3*
waitForPageToLoad
waitForElementPresent css=#name
type css=#name Starter Application
waitForPageToLoad
waitForElementPresent css=#description
type css=#description Any basic application
waitForPageToLoad
waitForElementPresent css=button[type="submit"]
click css=button[type="submit"]
waitForPageToLoad
waitForElementPresent css=.sticky-cta-text > h3
assertText css=.sticky-cta-text > h3 *Add Environments to Starter Application*
waitForPageToLoad
waitForElementPresent css=.sticky-cta-context
assertText css=.sticky-cta-context *Step 2 of 3*
waitForPageToLoad
waitForElementPresent css=h3.usa-alert-heading
assertText css=h3.usa-alert-heading *Application Saved*
waitForPageToLoad
waitForElementPresent css=button[type="submit"]
click css=button[type="submit"]
waitForPageToLoad
waitForElementPresent css=.sticky-cta-text > h3
assertText css=.sticky-cta-text > h3 *Add Members to Starter Application*
waitForPageToLoad
waitForElementPresent css=.sticky-cta-context
assertText css=.sticky-cta-context *Step 3 of 3*
waitForPageToLoad
waitForElementPresent css=h3.usa-alert-heading
assertText css=h3.usa-alert-heading *Application environments updated*
waitForPageToLoad
waitForElementPresent css=.empty-state__message
assertText css=.empty-state__message *This Application has no members*
waitForPageToLoad
waitForElementPresent css=a.usa-button.usa-button-secondary.add-new-button
click css=a.usa-button.usa-button-secondary.add-new-button
waitForPageToLoad
waitForElementPresent css=#add-app-mem > div > div > div.member-form > h2
assertElementPresent css=#add-app-mem > div > div > div.member-form > h2
waitForPageToLoad
waitForElementPresent css=#user_data-first_name
type css=#user_data-first_name Brandon
waitForPageToLoad
waitForElementPresent css=#user_data-last_name
type css=#user_data-last_name Buchannan
waitForPageToLoad
waitForElementPresent css=#user_data-email
type css=#user_data-email brandon@example.com
waitForPageToLoad
waitForElementPresent css=#user_data-phone_number
type css=#user_data-phone_number (206) 555-2342
waitForPageToLoad
waitForElementPresent css=#user_data-dod_id
type css=#user_data-dod_id 3456789012
waitForPageToLoad
waitForElementPresent css=#add-app-mem > div > div:nth-of-type(1) > .action-group > input[type="button"].action-group__action.usa-button
click css=#add-app-mem > div > div:nth-of-type(1) > .action-group > input[type="button"].action-group__action.usa-button
waitForPageToLoad
waitForElementPresent css=#add-app-mem > div > div > div:nth-of-type(2) > h2
assertElementPresent css=#add-app-mem > div > div > div:nth-of-type(2) > h2
waitForPageToLoad
waitForElementPresent css=.application-perms > div:nth-of-type(1) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
click css=.application-perms > div:nth-of-type(1) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresent css=.application-perms > div:nth-of-type(2) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
click css=.application-perms > div:nth-of-type(2) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-0-role]
type css=[name=environment_roles-0-role] ADMIN
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-1-role]
type css=[name=environment_roles-1-role] BILLING_READ
waitForPageToLoad
waitForElementPresent css=input[type="submit"]
click css=input[type="submit"]
waitForPageToLoad
waitForElementPresent css=table.atat-table > tbody > tr > td:nth-of-type(1) > strong
assertText css=table.atat-table > tbody > tr > td:nth-of-type(1) > strong *Brandon Buchannan*
waitForPageToLoad
waitForElementPresent css=.label
assertText css=.label *INVITE PENDING*
waitForPageToLoad
waitForElementPresent css=section.member-list.application-list
assertElementPresent css=section.member-list.application-list
waitForPageToLoad
waitForElementPresent css=h3.usa-alert-heading
assertText css=h3.usa-alert-heading *Brandon's invitation has been sent*