diff --git a/uitests/Application_Index_with_App.html b/uitests/Application_Index_with_App.html new file mode 100644 index 00000000..67f34a53 --- /dev/null +++ b/uitests/Application_Index_with_App.html @@ -0,0 +1,761 @@ + + + +
+ + +Application Index with App | +||
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=.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 | +*Create New Portfolio* | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=#name | ++ |
type | +css=#name | +Tatooine Energy Maintenance Systems | +
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=.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=#environment_roles-0-role-None | ++ |
type | +css=#environment_roles-0-role-None | +Basic Access | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=#environment_roles-1-role-None | ++ |
type | +css=#environment_roles-1-role-None | +Network Admin | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=input[type="submit"] | ++ |
click | +css=input[type="submit"] | ++ |
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=span.action-group-footer > a.usa-button | ++ |
click | +css=span.action-group-footer > 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.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* | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=.icon--applications | ++ |
click | +css=.icon--applications | ++ |
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=.sticky-cta-text > h3 | ++ |
assertText | +css=.sticky-cta-text > h3 | +*Applications* | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=.accordion-list | ++ |
assertElementPresent | +css=.accordion-list | ++ |
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=button.usa-accordion-button | ++ |
click | +css=button.usa-accordion-button | ++ |
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(1) > .row > .col.col--grow | ++ |
assertText | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(1) > .row > .col.col--grow | +*Development* | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(2) > .row > .col.col--grow | ++ |
assertText | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(2) > .row > .col.col--grow | +*Production* | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(3) > .row > .col.col--grow | ++ |
assertText | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(3) > .row > .col.col--grow | +*Staging* | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(4) > .row > .col.col--grow | ++ |
assertText | +css=.usa-accordion-content > .accordion__content--list-item:nth-of-type(4) > .row > .col.col--grow | +*Testing* | +
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=button.usa-accordion-button | ++ |
click | +css=button.usa-accordion-button | ++ |
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=button.usa-accordion-button | ++ |
click | +css=button.usa-accordion-button | ++ |
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=a.accordion-list__collapse | ++ |
click | +css=a.accordion-list__collapse | ++ |
waitForPageToLoad | ++ | + |
waitForElementPresent | +css=button.usa-accordion-button | ++ |
click | +css=button.usa-accordion-button | ++ |