From 4e14cd6ffb5846de7200c85f705924982f3bd18f Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 6 Dec 2019 09:58:50 -0500 Subject: [PATCH] Accommodate empty-state changes --- uitests/New_App_Step_1.html | 46 ++++++++++--------- uitests/New_Portfolio.html | 38 +++++++-------- .../New_Portfolio_-_No_optional_fields.html | 6 +-- 3 files changed, 47 insertions(+), 43 deletions(-) diff --git a/uitests/New_App_Step_1.html b/uitests/New_App_Step_1.html index d2d15a5d..0a36b66c 100644 --- a/uitests/New_App_Step_1.html +++ b/uitests/New_App_Step_1.html @@ -31,7 +31,8 @@ - + open /login-dev @@ -42,6 +43,23 @@ + + +waitForElementPresent +css=.about-cloud > h1 + + + +assertText +css=.about-cloud > h1 +About Cloud Services + + +waitForPageToLoad + + + waitForElementPresent @@ -109,22 +127,6 @@ waitForElementPresent -css=#defense_component > option:nth-of-type(14) - - - -click -css=#defense_component > option:nth-of-type(14) - - - -waitForPageToLoad - - - - - -waitForElementPresent css=#description @@ -349,13 +351,13 @@ waitForElementPresent -css=.empty-state__message +css=.empty-state h3 assertText -css=.empty-state__message -*This portfolio doesn’t have any applications* +css=.empty-state h3 +*You don't have any Applications yet* waitForPageToLoad @@ -364,12 +366,12 @@ waitForElementPresent -css=a.usa-button.usa-button-big +css=a.usa-button.usa-button-primary click -css=a.usa-button.usa-button-big +css=a.usa-button.usa-button-primary diff --git a/uitests/New_Portfolio.html b/uitests/New_Portfolio.html index b385698a..356cb2b3 100644 --- a/uitests/New_Portfolio.html +++ b/uitests/New_Portfolio.html @@ -31,6 +31,7 @@ + open /login-dev @@ -41,6 +42,22 @@ + + +waitForElementPresent +css=.about-cloud > h1 + + + +assertText +css=.about-cloud > h1 +About Cloud Services + + +waitForPageToLoad + + + waitForElementPresent css=a[href="/portfolios/new"] @@ -103,21 +120,6 @@ waitForElementPresent -css=#defense_component > option:nth-of-type(14) - - - -click -css=#defense_component > option:nth-of-type(14) - - - -waitForPageToLoad - - - - -waitForElementPresent css=#description @@ -328,13 +330,13 @@ waitForElementPresent -css=.empty-state__message +css=.empty-state h3 assertText -css=.empty-state__message -*This portfolio doesn’t have any applications* +css=.empty-state h3 +*You don't have any Applications yet* diff --git a/uitests/New_Portfolio_-_No_optional_fields.html b/uitests/New_Portfolio_-_No_optional_fields.html index eae79a14..269f96df 100644 --- a/uitests/New_Portfolio_-_No_optional_fields.html +++ b/uitests/New_Portfolio_-_No_optional_fields.html @@ -165,13 +165,13 @@ waitForElementPresent -css=.empty-state__message +css=.empty-state h3 assertText -css=.empty-state__message -*This portfolio doesn’t have any applications* +css=.empty-state h3 +*You don't have any Applications yet*