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*