Application Settings
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(3) > .usa-alert-body > h3.usa-alert-heading
assertText css=.col > .usa-alert.usa-alert-info:nth-of-type(3) > .usa-alert-body > h3.usa-alert-heading *Logged out*
waitForPageToLoad
open /login-dev
waitForPageToLoad
waitForElementPresent css=a[href="/portfolios/new"]
click css=a[href="/portfolios/new"]
waitForPageToLoad
waitForElementPresent css=main.usa-section > h1
assertText css=main.usa-section > h1 *New Portfolio Form*
waitForPageToLoad
waitForElementPresent css=#name
type css=#name Tatooine Energy Maintenance Systems
waitForPageToLoad
waitForElementPresent css=#defense_component
type css=#defense_component Defense Logistics Agency
waitForPageToLoad
waitForElementPresent css=#defense_component > option:nth-of-type(14)
click css=#defense_component > option:nth-of-type(14)
waitForPageToLoad
waitForElementPresent css=#description
type css=#description Maintenance and monitoring of the energy grid
waitForPageToLoad
waitForElementPresent css=#app_migration > li:nth-of-type(3) > label
click css=#app_migration > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresent css=#native_apps > li:nth-of-type(1) > label
click css=#native_apps > li:nth-of-type(1) > label
waitForPageToLoad
waitForElementPresent css=#portfolio-create > .usa-input:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(1) > label
click css=#portfolio-create > .usa-input:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(1) > label
waitForPageToLoad
waitForElementPresent css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
click css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
waitForPageToLoad
waitForElementPresent css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
click css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresent css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(4) > label
click css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(4) > label
waitForPageToLoad
waitForElementPresent css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
click css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
waitForPageToLoad
waitForElementPresent css=#portfolio-create > .usa-input:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
click css=#portfolio-create > .usa-input:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
waitForPageToLoad
waitForElementPresent css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
click css=#portfolio-create > .usa-input.usa-input--success:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresent css=#team_experience > li:nth-of-type(5) > label
click css=#team_experience > li:nth-of-type(5) > label
waitForPageToLoad
waitForElementPresent css=input[type="submit"]
click css=input[type="submit"]
waitForPageToLoad
waitForElementPresent css=.portfolio-header__name > h1
assertText css=.portfolio-header__name > h1 *Tatooine Energy Maintenance Systems*
waitForPageToLoad
waitForElementPresent css=.empty-state__message
assertText css=.empty-state__message *This portfolio doesn’t have any applications*
waitForPageToLoad
waitForElementPresent css=a.usa-button.usa-button-big
click css=a.usa-button.usa-button-big
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:nth-of-type(1) > h1
assertElementPresent css=#add-app-mem > div > div:nth-of-type(1) > h1
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:nth-of-type(2) > h2
assertElementPresent css=#add-app-mem > 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=.application-perms > div:nth-of-type(3) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
click css=.application-perms > div:nth-of-type(3) > .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] Basic Access
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-0-role] > option:nth-of-type(1)
click css=[name=environment_roles-0-role] > option:nth-of-type(1)
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-1-role]
type css=[name=environment_roles-1-role] Network Admin
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-1-role] > option:nth-of-type(2)
click css=[name=environment_roles-1-role] > option:nth-of-type(2)
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-2-role]
type css=[name=environment_roles-2-role] Business Read-only
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-2-role] > option:nth-of-type(3)
click css=[name=environment_roles-2-role] > option:nth-of-type(3)
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-3-role]
type css=[name=environment_roles-3-role] Technical Read-only
waitForPageToLoad
waitForElementPresent css=[name=environment_roles-3-role] > option:nth-of-type(4)
click css=[name=environment_roles-3-role] > option:nth-of-type(4)
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*
waitForPageToLoad
waitForElementPresent css=span.action-group-footer > a.usa-button
click css=span.action-group-footer > a.usa-button
waitForPageToLoad
waitForElementPresent css=.usa-input.usa-input--validation--anything > input[id="name"][type="text"]
assertText css=.usa-input.usa-input--validation--anything > input[id="name"][type="text"] *Starter Application*
waitForPageToLoad
waitForElementPresent css=#description
assertText css=#description *Any basic application*
waitForPageToLoad
waitForElementPresent css=.label
assertText css=.label *INVITE PENDING*
waitForPageToLoad
waitForElementPresent css=.accordion-table__items > .accordion-table__item:nth-of-type(1) > .accordion-table__item-content > .environment-list__item > .label.label--below
assertElementPresent css=.accordion-table__items > .accordion-table__item:nth-of-type(1) > .accordion-table__item-content > .environment-list__item > .label.label--below
waitForPageToLoad
waitForElementPresent css=#delete-application
assertText css=#delete-application *Delete application*