diff --git a/uitests/Application_Settings.html b/uitests/Application_Settings.html index 08ab153d..76557d2d 100644 --- a/uitests/Application_Settings.html +++ b/uitests/Application_Settings.html @@ -97,7 +97,8 @@ Imported from: AT-AT CI - Login Brandon--> +Imported from: AT-AT CI - New Portfolio +Imported from: AT-AT CI - login-->
Delete 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(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=.about-cloud > h1 | ++ |
assertText | +css=.about-cloud > h1 | +About Cloud Services | +
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=#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 h3 | ++ |
assertText | +css=.empty-state h3 | +*You don't have any Applications yet* | +
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=.usa-alert-body > p:nth-of-type(2) | ++ |
assertText | +css=.usa-alert-body > p:nth-of-type(2) | +*You have successfully invited Brandon Buchannan to the portfolio.* | +
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=form[action] > button.usa-button.usa-button-danger | ++ |
click | +css=form[action] > 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.* | +