Remove Portfolio Member
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"] |
assertText | css=input[type="submit"] | Save
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=.icon.icon--cog > svg |
click | css=.icon.icon--cog > svg |
waitForPageToLoad |  |
waitForElementPresent | css=.portfolio-header__name > h1 |
assertText | css=.portfolio-header__name > h1 | *Tatooine Energy Maintenance Systems*
waitForPageToLoad |  |
waitForElementPresent | css=.panel__content > p:nth-of-type(2) |
assertElementPresent | css=.panel__content > p:nth-of-type(2) |
waitForPageToLoad |  |
waitForElementPresent | css=td.name |
assertElementPresent | css=td.name |
waitForPageToLoad |  |
waitForElementPresent | css=button.usa-button.usa-button-primary.usa-button-big |
assertText | css=button.usa-button.usa-button-primary.usa-button-big | Save
waitForPageToLoad |  |
waitForElementPresent | css=button.usa-button.usa-button-primary |
assertText | css=button.usa-button.usa-button-primary | *Update*
waitForPageToLoad |  |
waitForElementPresent | css=input.usa-button.usa-button-primary |
assertText | css=input.usa-button.usa-button-primary | Save
waitForPageToLoad |  |
waitForElementPresent | css=a.icon-link.modal-link |
click | css=a.icon-link.modal-link |
waitForPageToLoad |  |
waitForElementPresent | css=#add-port-mem > div > div:nth-of-type(1) > h1 |
assertText | css=#add-port-mem > div > div:nth-of-type(1) > h1 | *Invite new portfolio member*
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=input[type="button"] |
click | css=input[type="button"] |
waitForPageToLoad |  |
waitForElementPresent | css=#add-port-mem > div > div:nth-of-type(2) > h1 |
assertText | css=#add-port-mem > div > div:nth-of-type(2) > h1 | *Assign member permissions*
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_app_mgmt |
click | css=#permission_sets-perms_app_mgmt |
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_app_mgmt > option:nth-of-type(1) |
click | css=#permission_sets-perms_app_mgmt > option:nth-of-type(1) |
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_funding |
click | css=#permission_sets-perms_funding |
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_funding > option:nth-of-type(1) |
click | css=#permission_sets-perms_funding > option:nth-of-type(1) |
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_reporting |
click | css=#permission_sets-perms_reporting |
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_reporting > option:nth-of-type(1) |
click | css=#permission_sets-perms_reporting > option:nth-of-type(1) |
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_portfolio_mgmt |
type | css=#permission_sets-perms_portfolio_mgmt | edit_portfolio_admin
waitForPageToLoad |  |
waitForElementPresent | css=#permission_sets-perms_portfolio_mgmt > option:nth-of-type(2) |
click | css=#permission_sets-perms_portfolio_mgmt > option:nth-of-type(2) |
waitForPageToLoad |  |
waitForElementPresent | css=input[type="submit"].action-group__action |
click | css=input[type="submit"].action-group__action |
waitForPageToLoad |  |
waitForElementPresent | css=table.atat-table > tbody > tr:nth-of-type(2) > td.name |
assertElementPresent | css=table.atat-table > tbody > tr:nth-of-type(2) > td.name |
waitForPageToLoad |  |
waitForElementPresent | css=a.usa-button.button-danger-outline |
click | css=a.usa-button.button-danger-outline |
waitForPageToLoad |  |
waitForElementPresent | css=.responsive-table-wrapper > div:nth-of-type(3) > .modal > .modal__container > .modal__dialog > .modal__body > h1 |
assertText | css=.responsive-table-wrapper > div:nth-of-type(3) > .modal > .modal__container > .modal__dialog > .modal__body > h1 | *Are you sure you want to delete this member?*
waitForPageToLoad |  |
waitForElementPresent | css=.responsive-table-wrapper > div:nth-of-type(3) > .modal > .modal__container > .modal__dialog > .modal__body > .usa-alert.usa-alert-warning > .usa-alert-body > h3.usa-alert-heading |
assertText | css=.responsive-table-wrapper > div:nth-of-type(3) > .modal > .modal__container > .modal__dialog > .modal__body > .usa-alert.usa-alert-warning > .usa-alert-body > h3.usa-alert-heading | *Warning! You are about to delete a member from the portfolio.*
waitForPageToLoad |  |
waitForElementPresent | css=button.usa-button.usa-button-danger |
click | css=button.usa-button.usa-button-danger |
waitForPageToLoad |  |
waitForElementPresent | css=.usa-alert.usa-alert-success > .usa-alert-body > h3.usa-alert-heading |
assertText | css=.usa-alert.usa-alert-success > .usa-alert-body > h3.usa-alert-heading | *Portfolio member deleted*
waitForPageToLoad |  |
waitForElementPresent | css=.usa-alert.usa-alert-success > .usa-alert-body > .usa-alert-text |
assertText | css=.usa-alert.usa-alert-success > .usa-alert-body > .usa-alert-text | *You have successfully deleted Brandon Buchannan from the portfolio.*