Revoke Environment Access
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=.usa-button.usa-button-primary
click css=.usa-button.usa-button-primary
waitForPageToLoad
waitForElementPresent css=#name
type css=#name Starter Application
waitForPageToLoad
waitForElementPresent css=button[type="submit"]
click css=button[type="submit"]
waitForPageToLoad
waitForElementPresent css=button[type="submit"]
click css=button[type="submit"]
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=#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 jay+brandon@promptworks.com
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=.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=#environment_roles-0-role-None
type css=#environment_roles-0-role-None ADMIN
waitForPageToLoad
waitForElementPresent css=#environment_roles-1-role-None
type css=#environment_roles-1-role-None BILLING_READ
waitForPageToLoad
waitForElementPresent css=input[type="submit"]
click css=input[type="submit"]
waitForPageToLoad
waitForElementPresent css=.action-group-footer > .action-group-footer--container > a.usa-button
click css=.action-group-footer > .action-group-footer--container > a.usa-button
waitForPageToLoad
waitForElementPresent css=.sticky-cta-text > h3
assertText css=.sticky-cta-text > h3 *Starter 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
assertElementPresent css=.accordion-table__items > .accordion-table__item:nth-of-type(1) > .accordion-table__item-content > .environment-list__item > .label
waitForPageToLoad
waitForElementPresent css=svg.svg-inline--fa.fa-ellipsis-h.fa-w-16
click css=svg.svg-inline--fa.fa-ellipsis-h.fa-w-16
waitForPageToLoad
waitForElementPresent css=.accordion-table__item-toggle-content.toggle-menu__toggle > a:nth-of-type(1)
click css=.accordion-table__item-toggle-content.toggle-menu__toggle > a:nth-of-type(1)
waitForPageToLoad
waitForElementPresent css=.panel > div:nth-of-type(1) > .modal.form-content--member-form > .modal__container > .modal__dialog > .modal__body > .modal__form--header > h1
assertText css=.panel > div:nth-of-type(1) > .modal.form-content--member-form > .modal__container > .modal__dialog > .modal__body > .modal__form--header > h1 *Manage Brandon Buchannan's Access*
waitForPageToLoad
waitForElementPresent css=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
click css=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
waitForPageToLoad
waitForElementPresent css=.usa-alert-text > .form-row > .form-col.form-col--two-thirds > .usa-input__help
assertText css=.usa-alert-text > .form-row > .form-col.form-col--two-thirds > .usa-input__help *Save changes to revoke access*
waitForPageToLoad
waitForElementPresent css=label.link
click css=label.link
waitForPageToLoad
waitForElementPresent css=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
click css=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
waitForPageToLoad
waitForElementPresent css=.action-group > input[type="submit"].usa-button.action-group__action
click css=.action-group > input[type="submit"].usa-button.action-group__action
waitForPageToLoad
waitForElementPresent css=table.atat-table > tbody > tr:nth-of-type(1) > td.toggle-menu__container > .row:nth-of-type(1) > .env-role__role
assertText css=table.atat-table > tbody > tr:nth-of-type(1) > td.toggle-menu__container > .row:nth-of-type(1) > .env-role__role *None*