diff --git a/uitests/New_Portfolio_-_No_optional_fields.html b/uitests/New_Portfolio_-_No_optional_fields.html new file mode 100644 index 00000000..eae79a14 --- /dev/null +++ b/uitests/New_Portfolio_-_No_optional_fields.html @@ -0,0 +1,179 @@ + + + +
+ + +New Portfolio - No optional fields | +||
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=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* | +