From 3a9070c1544b9c5c7a670797fd3b592f12881dac Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 8 Nov 2019 10:39:37 -0500 Subject: [PATCH] Weekly updates or additions to Ghost Inspector tests --- uitests/Add_CCPO_User.html | 47 +++++++++++++++++- uitests/Application_Settings.html | 21 +++++++- uitests/Edit_Portfolio_Member.html | 71 ++++++++++++++++++++++++++- uitests/Login_Brandon.html | 2 +- uitests/New_App_Step_1.html | 18 ++++++- uitests/New_App_Step_2.html | 19 ++++++- uitests/New_App_Step_2_-_Add_Env.html | 20 +++++++- uitests/New_App_Step_3.html | 20 +++++++- uitests/New_Portfolio.html | 17 ++++++- uitests/New_Portfolio_Member.html | 67 ++++++++++++++++++++++++- uitests/New_User_Flow.html | 2 +- uitests/Portfolio_Settings.html | 63 +++++++++++++++++++++++- uitests/Remove_Portfolio_Member.html | 71 ++++++++++++++++++++++++++- uitests/TO_Step_1.html | 18 ++++++- uitests/TO_Step_2.html | 19 ++++++- uitests/TO_Step_3.html | 20 +++++++- uitests/TO_Step_3_-_Add_CLIN.html | 21 +++++++- uitests/TO_Step_4.html | 21 +++++++- uitests/TO_Step_5.html | 22 ++++++++- uitests/login.html | 2 +- 20 files changed, 541 insertions(+), 20 deletions(-) diff --git a/uitests/Add_CCPO_User.html b/uitests/Add_CCPO_User.html index b670d504..9f2a6ca2 100644 --- a/uitests/Add_CCPO_User.html +++ b/uitests/Add_CCPO_User.html @@ -12,7 +12,7 @@ - + @@ -240,6 +240,51 @@ css=.usa-alert.usa-alert-success > .usa-alert-body > .usa-alert-text *You have successfully given Brandon Buchannan CCPO permissions.* + +waitForPageToLoad + + + + +waitForElementPresent +css=.col > table > tbody > tr:nth-of-type(1) > td:nth-of-type(1) + + + +assertText +css=.col > table > tbody > tr:nth-of-type(1) > td:nth-of-type(1) +*Brandon Buchannan* + + +waitForPageToLoad + + + + +waitForElementPresent +css=a.usa-button.button-danger-outline + + + +assertElementPresent +css=a.usa-button.button-danger-outline + + + +waitForPageToLoad + + + + +waitForElementPresent +css=.global-panel-container > div:nth-of-type(2) > .modal > .modal__container > .modal__dialog > .modal__body > div:nth-of-type(2) > .action-group > a.action-group__action.icon-link.icon-link--default + + + +assertElementPresent +css=.global-panel-container > div:nth-of-type(2) > .modal > .modal__container > .modal__dialog > .modal__body > div:nth-of-type(2) > .action-group > a.action-group__action.icon-link.icon-link--default + + diff --git a/uitests/Application_Settings.html b/uitests/Application_Settings.html index aa891d46..73161739 100644 --- a/uitests/Application_Settings.html +++ b/uitests/Application_Settings.html @@ -12,7 +12,7 @@ - + @@ -422,6 +422,25 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/Edit_Portfolio_Member.html b/uitests/Edit_Portfolio_Member.html index 942ef544..816c1d51 100644 --- a/uitests/Edit_Portfolio_Member.html +++ b/uitests/Edit_Portfolio_Member.html @@ -12,7 +12,7 @@ - + @@ -404,6 +404,24 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] @@ -517,6 +535,57 @@ Imported from: AT-AT CI - Portfolio Settings--> + + +waitForElementPresent +css=button.usa-button.usa-button-primary.usa-button-big + + + +assertText +css=button.usa-button.usa-button-primary.usa-button-big +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=button.usa-button.usa-button-primary + + + +assertText +css=button.usa-button.usa-button-primary +*Update* + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input.usa-button.usa-button-primary + + + +assertText +css=input.usa-button.usa-button-primary +Save + + +waitForPageToLoad + + + waitForElementPresent diff --git a/uitests/Login_Brandon.html b/uitests/Login_Brandon.html index 72f19c09..3f38139c 100644 --- a/uitests/Login_Brandon.html +++ b/uitests/Login_Brandon.html @@ -12,7 +12,7 @@ - + diff --git a/uitests/New_App_Step_1.html b/uitests/New_App_Step_1.html index ffbdd5c8..48b6f86a 100644 --- a/uitests/New_App_Step_1.html +++ b/uitests/New_App_Step_1.html @@ -12,7 +12,7 @@ - + @@ -305,6 +305,22 @@ +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/New_App_Step_2.html b/uitests/New_App_Step_2.html index 1f184126..12226948 100644 --- a/uitests/New_App_Step_2.html +++ b/uitests/New_App_Step_2.html @@ -12,7 +12,7 @@ - + @@ -323,6 +323,23 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/New_App_Step_2_-_Add_Env.html b/uitests/New_App_Step_2_-_Add_Env.html index f4006d6c..4648ebd1 100644 --- a/uitests/New_App_Step_2_-_Add_Env.html +++ b/uitests/New_App_Step_2_-_Add_Env.html @@ -12,7 +12,7 @@ - + @@ -341,6 +341,24 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/New_App_Step_3.html b/uitests/New_App_Step_3.html index 5ed6e900..a1c791ea 100644 --- a/uitests/New_App_Step_3.html +++ b/uitests/New_App_Step_3.html @@ -12,7 +12,7 @@ - + @@ -400,6 +400,24 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/New_Portfolio.html b/uitests/New_Portfolio.html index 435f680f..11c031e0 100644 --- a/uitests/New_Portfolio.html +++ b/uitests/New_Portfolio.html @@ -12,7 +12,7 @@ - + @@ -287,6 +287,21 @@ +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/New_Portfolio_Member.html b/uitests/New_Portfolio_Member.html index 56f4c682..25ce4cd3 100644 --- a/uitests/New_Portfolio_Member.html +++ b/uitests/New_Portfolio_Member.html @@ -12,7 +12,7 @@ - + @@ -382,6 +382,23 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] @@ -489,6 +506,54 @@ Imported from: AT-AT CI - New Portfolio--> + + +waitForElementPresent +css=button.usa-button.usa-button-primary.usa-button-big + + + +assertText +css=button.usa-button.usa-button-primary.usa-button-big +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=button.usa-button.usa-button-primary + + + +assertText +css=button.usa-button.usa-button-primary +*Update* + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input.usa-button.usa-button-primary + + + +assertText +css=input.usa-button.usa-button-primary +Save + + +waitForPageToLoad + + + waitForElementPresent css=a.icon-link.modal-link diff --git a/uitests/New_User_Flow.html b/uitests/New_User_Flow.html index 22ec1935..e9be95f7 100644 --- a/uitests/New_User_Flow.html +++ b/uitests/New_User_Flow.html @@ -12,7 +12,7 @@ - + diff --git a/uitests/Portfolio_Settings.html b/uitests/Portfolio_Settings.html index 428c201d..517e323b 100644 --- a/uitests/Portfolio_Settings.html +++ b/uitests/Portfolio_Settings.html @@ -12,7 +12,7 @@ - + @@ -305,6 +305,22 @@ +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] @@ -401,6 +417,51 @@ css=td.name + +waitForPageToLoad + + + + +waitForElementPresent +css=button.usa-button.usa-button-primary.usa-button-big + + + +assertText +css=button.usa-button.usa-button-primary.usa-button-big +Save + + +waitForPageToLoad + + + + +waitForElementPresent +css=button.usa-button.usa-button-primary + + + +assertText +css=button.usa-button.usa-button-primary +*Update* + + +waitForPageToLoad + + + + +waitForElementPresent +css=input.usa-button.usa-button-primary + + + +assertText +css=input.usa-button.usa-button-primary +Save + diff --git a/uitests/Remove_Portfolio_Member.html b/uitests/Remove_Portfolio_Member.html index a5206f7b..50927d94 100644 --- a/uitests/Remove_Portfolio_Member.html +++ b/uitests/Remove_Portfolio_Member.html @@ -12,7 +12,7 @@ - + @@ -404,6 +404,24 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] @@ -517,6 +535,57 @@ Imported from: AT-AT CI - Portfolio Settings--> + + +waitForElementPresent +css=button.usa-button.usa-button-primary.usa-button-big + + + +assertText +css=button.usa-button.usa-button-primary.usa-button-big +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=button.usa-button.usa-button-primary + + + +assertText +css=button.usa-button.usa-button-primary +*Update* + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input.usa-button.usa-button-primary + + + +assertText +css=input.usa-button.usa-button-primary +Save + + +waitForPageToLoad + + + waitForElementPresent diff --git a/uitests/TO_Step_1.html b/uitests/TO_Step_1.html index ddaaf100..5a6ba893 100644 --- a/uitests/TO_Step_1.html +++ b/uitests/TO_Step_1.html @@ -12,7 +12,7 @@ - + @@ -305,6 +305,22 @@ +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/TO_Step_2.html b/uitests/TO_Step_2.html index 9893d7b8..44749bb5 100644 --- a/uitests/TO_Step_2.html +++ b/uitests/TO_Step_2.html @@ -12,7 +12,7 @@ - + @@ -323,6 +323,23 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/TO_Step_3.html b/uitests/TO_Step_3.html index d718f15c..62a18cee 100644 --- a/uitests/TO_Step_3.html +++ b/uitests/TO_Step_3.html @@ -12,7 +12,7 @@ - + @@ -341,6 +341,24 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/TO_Step_3_-_Add_CLIN.html b/uitests/TO_Step_3_-_Add_CLIN.html index 0158fe45..d770868e 100644 --- a/uitests/TO_Step_3_-_Add_CLIN.html +++ b/uitests/TO_Step_3_-_Add_CLIN.html @@ -12,7 +12,7 @@ - + @@ -359,6 +359,25 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/TO_Step_4.html b/uitests/TO_Step_4.html index 49e8a940..d4f2a80c 100644 --- a/uitests/TO_Step_4.html +++ b/uitests/TO_Step_4.html @@ -12,7 +12,7 @@ - + @@ -359,6 +359,25 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/TO_Step_5.html b/uitests/TO_Step_5.html index e00b79c0..9c1c926b 100644 --- a/uitests/TO_Step_5.html +++ b/uitests/TO_Step_5.html @@ -12,7 +12,7 @@ - + @@ -377,6 +377,26 @@ Imported from: AT-AT CI - New Portfolio--> +assertText +css=input[type="submit"] +Save + + +waitForPageToLoad + + + + + +waitForElementPresent +css=input[type="submit"] + + + click css=input[type="submit"] diff --git a/uitests/login.html b/uitests/login.html index baf6099a..559826e2 100644 --- a/uitests/login.html +++ b/uitests/login.html @@ -12,7 +12,7 @@ - +