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=.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=th.table-cell--third |
|
assertElementPresent |
css=th.table-cell--third |
|
waitForPageToLoad |
|
|
waitForElementPresent |
css=button.usa-button.usa-button-primary |
|
assertText |
css=button.usa-button.usa-button-primary |
Save Changes |
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-portfolio-manager > div > div > div.member-form > h2 |
|
assertText |
css=#add-portfolio-manager > div > div > div.member-form > h2 |
*Add Manager* |
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-portfolio-manager > div > div > div.member-form > h2 |
|
assertText |
css=#add-portfolio-manager > div > div > div.member-form > h2 |
*Set Portfolio Permissions* |
waitForPageToLoad |
|
|
waitForElementPresent |
css=#perms_app_mgmt-None |
|
click |
css=#perms_app_mgmt-None |
|
waitForPageToLoad |
|
|
waitForElementPresent |
css=#perms_funding-None |
|
click |
css=#perms_funding-None |
|
waitForPageToLoad |
|
|
waitForElementPresent |
css=#perms_reporting-None |
|
click |
css=#perms_reporting-None |
|
waitForPageToLoad |
|
|
waitForElementPresent |
css=#perms_portfolio_mgmt-None |
|
type |
css=#perms_portfolio_mgmt-None |
edit_portfolio_admin |
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 > td > span.label.label--success.label--below |
|
assertText |
css=table.atat-table > tbody > tr > td > span.label.label--success.label--below |
*invite pending* |
waitForPageToLoad |
|
|
waitForElementPresent |
css=.usa-alert-body |
|
assertText |
css=.usa-alert-body |
*Brandon Buchannan's invitation has been sent
Brandon Buchannan's access to this Portfolio is pending until they sign in for the first time.* |