From a71ae3f6f03fe8dae57d4b5bf50d0e06fc2966bb Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Wed, 11 Dec 2019 16:59:21 -0500 Subject: [PATCH 1/9] File removed; was renamed in Ghost Inspector last week --- uitests/Resend_App_User_Invite.html | 1422 --------------------------- 1 file changed, 1422 deletions(-) delete mode 100644 uitests/Resend_App_User_Invite.html diff --git a/uitests/Resend_App_User_Invite.html b/uitests/Resend_App_User_Invite.html deleted file mode 100644 index f1b01f4e..00000000 --- a/uitests/Resend_App_User_Invite.html +++ /dev/null @@ -1,1422 +0,0 @@ - - - - - - -Resend App User Invite - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Resend App User Invite
waitForPageToLoad
open/login-dev?username=brandon
waitForPageToLoad
waitForElementPresentcss=a[href="/user"] > .topbar__link-label
assertTextcss=a[href="/user"] > .topbar__link-label*Brandon Buchannan*
waitForPageToLoad
waitForElementPresentcss=a[href="/logout"] > .topbar__link-label
clickcss=a[href="/logout"] > .topbar__link-label
waitForPageToLoad
waitForElementPresentcss=.col > .usa-alert.usa-alert-info:nth-of-type(2) > .usa-alert-body > h3.usa-alert-heading
assertTextcss=.col > .usa-alert.usa-alert-info:nth-of-type(2) > .usa-alert-body > h3.usa-alert-heading*Logged out*
waitForPageToLoad
open/login-dev
waitForPageToLoad
waitForElementPresentcss=a[href="/portfolios/new"]
clickcss=a[href="/portfolios/new"]
waitForPageToLoad
waitForElementPresentcss=main.usa-section > h1
assertTextcss=main.usa-section > h1*New Portfolio Form*
waitForPageToLoad
waitForElementPresentcss=#name
typecss=#nameTatooine Energy Maintenance Systems
waitForPageToLoad
waitForElementPresentcss=#defense_component
typecss=#defense_componentDefense Logistics Agency
waitForPageToLoad
waitForElementPresentcss=#defense_component > option:nth-of-type(14)
clickcss=#defense_component > option:nth-of-type(14)
waitForPageToLoad
waitForElementPresentcss=#description
typecss=#descriptionMaintenance and monitoring of the energy grid
waitForPageToLoad
waitForElementPresentcss=#app_migration > li:nth-of-type(3) > label
clickcss=#app_migration > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresentcss=#native_apps > li:nth-of-type(1) > label
clickcss=#native_apps > li:nth-of-type(1) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(1) > label
clickcss=#portfolio-create > .usa-input:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(1) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(4) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(4) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
clickcss=#portfolio-create > .usa-input:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresentcss=#team_experience > li:nth-of-type(5) > label
clickcss=#team_experience > li:nth-of-type(5) > label
waitForPageToLoad
waitForElementPresentcss=input[type="submit"]
assertTextcss=input[type="submit"]Save
waitForPageToLoad
waitForElementPresentcss=input[type="submit"]
clickcss=input[type="submit"]
waitForPageToLoad
waitForElementPresentcss=.portfolio-header__name > h1
assertTextcss=.portfolio-header__name > h1*Tatooine Energy Maintenance Systems*
waitForPageToLoad
waitForElementPresentcss=.empty-state__message
assertTextcss=.empty-state__message*This portfolio doesn’t have any applications*
waitForPageToLoad
waitForElementPresentcss=a.usa-button.usa-button-big
clickcss=a.usa-button.usa-button-big
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-text > h3
assertTextcss=.sticky-cta-text > h3*Name and Describe New Application*
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-context
assertTextcss=.sticky-cta-context*Step 1 of 3*
waitForPageToLoad
waitForElementPresentcss=#name
typecss=#nameStarter Application
waitForPageToLoad
waitForElementPresentcss=#description
typecss=#descriptionAny basic application
waitForPageToLoad
waitForElementPresentcss=button[type="submit"]
clickcss=button[type="submit"]
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-text > h3
assertTextcss=.sticky-cta-text > h3*Add Environments to Starter Application*
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-context
assertTextcss=.sticky-cta-context*Step 2 of 3*
waitForPageToLoad
waitForElementPresentcss=h3.usa-alert-heading
assertTextcss=h3.usa-alert-heading*Application Saved*
waitForPageToLoad
waitForElementPresentcss=button[type="submit"]
clickcss=button[type="submit"]
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-text > h3
assertTextcss=.sticky-cta-text > h3*Add Members to Starter Application*
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-context
assertTextcss=.sticky-cta-context*Step 3 of 3*
waitForPageToLoad
waitForElementPresentcss=h3.usa-alert-heading
assertTextcss=h3.usa-alert-heading*Application environments updated*
waitForPageToLoad
waitForElementPresentcss=.empty-state__message
assertTextcss=.empty-state__message*This Application has no members*
waitForPageToLoad
waitForElementPresentcss=a.usa-button.usa-button-secondary.add-new-button
clickcss=a.usa-button.usa-button-secondary.add-new-button
waitForPageToLoad
waitForElementPresentcss=#add-app-mem > div > div:nth-of-type(1) > h1
assertElementPresentcss=#add-app-mem > div > div:nth-of-type(1) > h1
waitForPageToLoad
waitForElementPresentcss=#user_data-first_name
typecss=#user_data-first_nameBrandon
waitForPageToLoad
waitForElementPresentcss=#user_data-last_name
typecss=#user_data-last_nameBuchannan
waitForPageToLoad
waitForElementPresentcss=#user_data-email
typecss=#user_data-emailbrandon@example.com
waitForPageToLoad
waitForElementPresentcss=#user_data-phone_number
typecss=#user_data-phone_number(206) 555-2342
waitForPageToLoad
waitForElementPresentcss=#user_data-dod_id
typecss=#user_data-dod_id3456789012
waitForPageToLoad
waitForElementPresentcss=#add-app-mem > div > div:nth-of-type(1) > .action-group > input[type="button"].action-group__action.usa-button
clickcss=#add-app-mem > div > div:nth-of-type(1) > .action-group > input[type="button"].action-group__action.usa-button
waitForPageToLoad
waitForElementPresentcss=#add-app-mem > div > div:nth-of-type(2) > h2
assertElementPresentcss=#add-app-mem > div > div:nth-of-type(2) > h2
waitForPageToLoad
waitForElementPresentcss=.application-perms > div:nth-of-type(1) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
clickcss=.application-perms > div:nth-of-type(1) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresentcss=.application-perms > div:nth-of-type(2) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
clickcss=.application-perms > div:nth-of-type(2) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresentcss=.application-perms > div:nth-of-type(3) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
clickcss=.application-perms > div:nth-of-type(3) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-0-role]
typecss=[name=environment_roles-0-role]Basic Access
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-0-role] > option:nth-of-type(1)
clickcss=[name=environment_roles-0-role] > option:nth-of-type(1)
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-1-role]
typecss=[name=environment_roles-1-role]Network Admin
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-1-role] > option:nth-of-type(2)
clickcss=[name=environment_roles-1-role] > option:nth-of-type(2)
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-2-role]
typecss=[name=environment_roles-2-role]Business Read-only
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-2-role] > option:nth-of-type(3)
clickcss=[name=environment_roles-2-role] > option:nth-of-type(3)
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-3-role]
typecss=[name=environment_roles-3-role]Technical Read-only
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-3-role] > option:nth-of-type(4)
clickcss=[name=environment_roles-3-role] > option:nth-of-type(4)
waitForPageToLoad
waitForElementPresentcss=input[type="submit"]
clickcss=input[type="submit"]
waitForPageToLoad
waitForElementPresentcss=table.atat-table > tbody > tr > td:nth-of-type(1) > strong
assertTextcss=table.atat-table > tbody > tr > td:nth-of-type(1) > strong*Brandon Buchannan*
waitForPageToLoad
waitForElementPresentcss=.label
assertTextcss=.label*INVITE PENDING*
waitForPageToLoad
waitForElementPresentcss=section.member-list.application-list
assertElementPresentcss=section.member-list.application-list
waitForPageToLoad
waitForElementPresentcss=h3.usa-alert-heading
assertTextcss=h3.usa-alert-heading*Brandon's invitation has been sent*
waitForPageToLoad
waitForElementPresentcss=span.action-group-footer > a.usa-button
clickcss=span.action-group-footer > a.usa-button
waitForPageToLoad
waitForElementPresentcss=.usa-input.usa-input--validation--anything > input[id="name"][type="text"]
assertTextcss=.usa-input.usa-input--validation--anything > input[id="name"][type="text"]*Starter Application*
waitForPageToLoad
waitForElementPresentcss=#description
assertTextcss=#description*Any basic application*
waitForPageToLoad
waitForElementPresentcss=.label
assertTextcss=.label*INVITE PENDING*
waitForPageToLoad
waitForElementPresentcss=.accordion-table__items > .accordion-table__item:nth-of-type(1) > .accordion-table__item-content > .environment-list__item > .label.label--below
assertElementPresentcss=.accordion-table__items > .accordion-table__item:nth-of-type(1) > .accordion-table__item-content > .environment-list__item > .label.label--below
waitForPageToLoad
waitForElementPresentcss=#delete-application
assertTextcss=#delete-application*Delete application*
waitForPageToLoad
waitForElementPresentcss=svg.svg-inline--fa.fa-ellipsis-h
clickcss=svg.svg-inline--fa.fa-ellipsis-h
waitForPageToLoad
waitForElementPresentcss=.accordion-table__item-toggle-content > a:nth-of-type(2)
assertTextcss=.accordion-table__item-toggle-content > a:nth-of-type(2)*Resend Invite*
waitForPageToLoad
waitForElementPresentcss=.accordion-table__item-toggle-content > a:nth-of-type(2)
clickcss=.accordion-table__item-toggle-content > a:nth-of-type(2)
waitForPageToLoad
waitForElementPresentcss=.panel > div:nth-of-type(2) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > .modal__form--header > h1
assertTextcss=.panel > div:nth-of-type(2) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > .modal__form--header > h1*Verify Member Information*
waitForPageToLoad
waitForElementPresentcss=.application-member__user-info > .usa-input.usa-input--validation--requiredField:nth-of-type(1) > input[id="first_name"][type="text"]
assertTextcss=.application-member__user-info > .usa-input.usa-input--validation--requiredField:nth-of-type(1) > input[id="first_name"][type="text"]*Brandon*
waitForPageToLoad
waitForElementPresentcss=.panel > div:nth-of-type(2) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > form[action] > .action-group > button[type="submit"]
assertTextcss=.panel > div:nth-of-type(2) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > form[action] > .action-group > button[type="submit"]*Resend Invite*
waitForPageToLoad
waitForElementPresentcss=.panel > div:nth-of-type(2) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > form[action] > .action-group > button[type="submit"]
clickcss=.panel > div:nth-of-type(2) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > form[action] > .action-group > button[type="submit"]
waitForPageToLoad
waitForElementPresentcss=.usa-alert.usa-alert-success > .usa-alert-body > h3.usa-alert-heading
assertTextcss=.usa-alert.usa-alert-success > .usa-alert-body > h3.usa-alert-heading*Application invitation resent*
waitForPageToLoad
waitForElementPresentcss=.usa-alert.usa-alert-success > .usa-alert-body > .usa-alert-text
assertTextcss=.usa-alert.usa-alert-success > .usa-alert-body > .usa-alert-text*You have successfully resent the invite for Brandon Buchannan*
- - \ No newline at end of file From 2d0fa113c383f7941183f9fe8c8b985ed435e3da Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:45:56 -0500 Subject: [PATCH 2/9] Rename report to reflect test purpose more accurately --- ...Report_Summary.html => Report_Basics.html} | 75 ++++++++++++++----- 1 file changed, 56 insertions(+), 19 deletions(-) rename uitests/{Report_Summary.html => Report_Basics.html} (97%) diff --git a/uitests/Report_Summary.html b/uitests/Report_Basics.html similarity index 97% rename from uitests/Report_Summary.html rename to uitests/Report_Basics.html index 6e92127c..129b17e9 100644 --- a/uitests/Report_Summary.html +++ b/uitests/Report_Basics.html @@ -4,7 +4,7 @@ -Report Summary +Report Basics @@ -22,7 +22,7 @@ - + @@ -496,13 +496,13 @@ Imported from: AT-AT CI - TO Step 2 Imported from: AT-AT CI - TO Step 1--> - + - - + + @@ -675,7 +675,7 @@ Imported from: AT-AT CI - TO Step 2--> - + @@ -1101,9 +1101,9 @@ Imported from: AT-AT CI - TO Step 4--> - + - + @@ -1177,17 +1177,6 @@ Imported from: AT-AT CI - TO Step 4--> - - - - - - - - - - - @@ -1205,6 +1194,22 @@ Imported from: AT-AT CI - TO Step 4--> + + + + + + + + + + + + + + + + @@ -1218,6 +1223,38 @@ Imported from: AT-AT CI - TO Step 4--> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + From f900fd39b6bd667e7feb76a7b0f8d45738bc2cd2 Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:47:04 -0500 Subject: [PATCH 3/9] New test --- uitests/Revoke_Environment_Access.html | 1322 ++++++++++++++++++++++++ 1 file changed, 1322 insertions(+) create mode 100644 uitests/Revoke_Environment_Access.html diff --git a/uitests/Revoke_Environment_Access.html b/uitests/Revoke_Environment_Access.html new file mode 100644 index 00000000..30feb757 --- /dev/null +++ b/uitests/Revoke_Environment_Access.html @@ -0,0 +1,1322 @@ + + + + + + +Revoke Environment Access + + + + + + + + + + + + + + +
Report SummaryReport Basics
waitForElementPresentcss=.empty-state h3css=.sticky-cta-text h3
assertTextcss=.empty-state h3*Add approved task orders*css=.sticky-cta-text h3*Task Orders*
waitForPageToLoad
type css=#number1234567890123${timestamp}
waitForPageToLoad
assertTextassertElementPresent css=.col.task-order__details > div:nth-of-type(2)*1234567890123*
waitForPageToLoad
captureEntirePageScreenshot
waitForPageToLoad
waitForElementPresent css=input[type="submit"]
waitForElementPresentcss=h3.usa-alert-heading
assertTextcss=h3.usa-alert-heading*Your Task Order has been uploaded successfully.*
waitForPageToLoad
waitForElementPresent css=.usa-alert-text
waitForElementPresentcss=.portfolio-funding
assertElementPresentcss=.portfolio-funding
waitForPageToLoad
waitForElementPresentcss=.action-group
assertElementPresentcss=.action-group
waitForPageToLoad
waitForElementPresent css=.icon.icon--chart-pie > svg
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Revoke Environment Access
waitForPageToLoad
open/login-dev?username=brandon
waitForPageToLoad
waitForElementPresentcss=a[href="/user"] > .topbar__link-label
assertTextcss=a[href="/user"] > .topbar__link-label*Brandon Buchannan*
waitForPageToLoad
waitForElementPresentcss=a[href="/logout"] > .topbar__link-label
clickcss=a[href="/logout"] > .topbar__link-label
waitForPageToLoad
waitForElementPresentcss=.col > .usa-alert.usa-alert-info:nth-of-type(2) > .usa-alert-body > h3.usa-alert-heading
assertTextcss=.col > .usa-alert.usa-alert-info:nth-of-type(2) > .usa-alert-body > h3.usa-alert-heading*Logged out*
waitForPageToLoad
open/login-dev
waitForPageToLoad
waitForElementPresentcss=.about-cloud > h1
assertTextcss=.about-cloud > h1About Cloud Services
waitForPageToLoad
waitForElementPresentcss=a[href="/portfolios/new"]
clickcss=a[href="/portfolios/new"]
waitForPageToLoad
waitForElementPresentcss=main.usa-section > h1
assertTextcss=main.usa-section > h1*New Portfolio Form*
waitForPageToLoad
waitForElementPresentcss=#name
typecss=#nameTatooine Energy Maintenance Systems
waitForPageToLoad
waitForElementPresentcss=#defense_component
typecss=#defense_componentDefense Logistics Agency
waitForPageToLoad
waitForElementPresentcss=#description
typecss=#descriptionMaintenance and monitoring of the energy grid
waitForPageToLoad
waitForElementPresentcss=#app_migration > li:nth-of-type(3) > label
clickcss=#app_migration > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresentcss=#native_apps > li:nth-of-type(1) > label
clickcss=#native_apps > li:nth-of-type(1) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(1) > label
clickcss=#portfolio-create > .usa-input:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(1) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(4) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(4) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(6) > fieldset.usa-input__choices > ul > li:nth-of-type(5) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
clickcss=#portfolio-create > .usa-input:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(2) > label
waitForPageToLoad
waitForElementPresentcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
clickcss=#portfolio-create > .usa-input.usa-input--success:nth-of-type(7) > fieldset.usa-input__choices > ul > li:nth-of-type(3) > label
waitForPageToLoad
waitForElementPresentcss=#team_experience > li:nth-of-type(5) > label
clickcss=#team_experience > li:nth-of-type(5) > label
waitForPageToLoad
waitForElementPresentcss=input[type="submit"]
assertTextcss=input[type="submit"]Save
waitForPageToLoad
waitForElementPresentcss=input[type="submit"]
clickcss=input[type="submit"]
waitForPageToLoad
waitForElementPresentcss=.portfolio-header__name > h1
assertTextcss=.portfolio-header__name > h1*Tatooine Energy Maintenance Systems*
waitForPageToLoad
waitForElementPresentcss=.empty-state h3
assertTextcss=.empty-state h3*You don't have any Applications yet*
waitForPageToLoad
waitForElementPresentcss=a.usa-button.usa-button-primary
clickcss=a.usa-button.usa-button-primary
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-text > h3
assertTextcss=.sticky-cta-text > h3*Name and Describe New Application*
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-context
assertTextcss=.sticky-cta-context*Step 1 of 3*
waitForPageToLoad
waitForElementPresentcss=#name
typecss=#nameStarter Application
waitForPageToLoad
waitForElementPresentcss=#description
typecss=#descriptionAny basic application
waitForPageToLoad
waitForElementPresentcss=button[type="submit"]
clickcss=button[type="submit"]
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-text > h3
assertTextcss=.sticky-cta-text > h3*Add Environments to Starter Application*
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-context
assertTextcss=.sticky-cta-context*Step 2 of 3*
waitForPageToLoad
waitForElementPresentcss=h3.usa-alert-heading
assertTextcss=h3.usa-alert-heading*Application Saved*
waitForPageToLoad
waitForElementPresentcss=button[type="submit"]
clickcss=button[type="submit"]
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-text > h3
assertTextcss=.sticky-cta-text > h3*Add Members to Starter Application*
waitForPageToLoad
waitForElementPresentcss=.sticky-cta-context
assertTextcss=.sticky-cta-context*Step 3 of 3*
waitForPageToLoad
waitForElementPresentcss=h3.usa-alert-heading
assertTextcss=h3.usa-alert-heading*Application environments updated*
waitForPageToLoad
waitForElementPresentcss=.empty-state__message
assertTextcss=.empty-state__message*This Application has no members*
waitForPageToLoad
waitForElementPresentcss=a.usa-button.usa-button-secondary.add-new-button
clickcss=a.usa-button.usa-button-secondary.add-new-button
waitForPageToLoad
waitForElementPresentcss=#add-app-mem > div > div:nth-of-type(1) > h1
assertElementPresentcss=#add-app-mem > div > div:nth-of-type(1) > h1
waitForPageToLoad
waitForElementPresentcss=#user_data-first_name
typecss=#user_data-first_nameBrandon
waitForPageToLoad
waitForElementPresentcss=#user_data-last_name
typecss=#user_data-last_nameBuchannan
waitForPageToLoad
waitForElementPresentcss=#user_data-email
typecss=#user_data-emailbrandon@example.com
waitForPageToLoad
waitForElementPresentcss=#user_data-phone_number
typecss=#user_data-phone_number(206) 555-2342
waitForPageToLoad
waitForElementPresentcss=#user_data-dod_id
typecss=#user_data-dod_id3456789012
waitForPageToLoad
waitForElementPresentcss=#add-app-mem > div > div:nth-of-type(1) > .action-group > input[type="button"].action-group__action.usa-button
clickcss=#add-app-mem > div > div:nth-of-type(1) > .action-group > input[type="button"].action-group__action.usa-button
waitForPageToLoad
waitForElementPresentcss=#add-app-mem > div > div:nth-of-type(2) > h2
assertElementPresentcss=#add-app-mem > div > div:nth-of-type(2) > h2
waitForPageToLoad
waitForElementPresentcss=.application-perms > div:nth-of-type(1) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
clickcss=.application-perms > div:nth-of-type(1) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresentcss=.application-perms > div:nth-of-type(2) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
clickcss=.application-perms > div:nth-of-type(2) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresentcss=.application-perms > div:nth-of-type(3) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
clickcss=.application-perms > div:nth-of-type(3) > .usa-input.input__inline-fields > fieldset.usa-input__choices > legend > label
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-0-role]
typecss=[name=environment_roles-0-role]Basic Access
waitForPageToLoad
waitForElementPresentcss=[name=environment_roles-1-role]
typecss=[name=environment_roles-1-role]Network Admin
waitForPageToLoad
waitForElementPresentcss=input[type="submit"]
clickcss=input[type="submit"]
waitForPageToLoad
waitForElementPresentcss=table.atat-table > tbody > tr > td:nth-of-type(1) > strong
assertTextcss=table.atat-table > tbody > tr > td:nth-of-type(1) > strong*Brandon Buchannan*
waitForPageToLoad
waitForElementPresentcss=.label
assertTextcss=.label*INVITE PENDING*
waitForPageToLoad
waitForElementPresentcss=section.member-list.application-list
assertElementPresentcss=section.member-list.application-list
waitForPageToLoad
waitForElementPresentcss=h3.usa-alert-heading
assertTextcss=h3.usa-alert-heading*Brandon's invitation has been sent*
waitForPageToLoad
waitForElementPresentcss=span.action-group-footer > a.usa-button
clickcss=span.action-group-footer > a.usa-button
waitForPageToLoad
waitForElementPresentcss=.usa-input.usa-input--validation--anything > input[id="name"][type="text"]
assertTextcss=.usa-input.usa-input--validation--anything > input[id="name"][type="text"]*Starter Application*
waitForPageToLoad
waitForElementPresentcss=#description
assertTextcss=#description*Any basic application*
waitForPageToLoad
waitForElementPresentcss=.label
assertTextcss=.label*INVITE PENDING*
waitForPageToLoad
waitForElementPresentcss=.accordion-table__items > .accordion-table__item:nth-of-type(1) > .accordion-table__item-content > .environment-list__item > .label.label--below
assertElementPresentcss=.accordion-table__items > .accordion-table__item:nth-of-type(1) > .accordion-table__item-content > .environment-list__item > .label.label--below
waitForPageToLoad
waitForElementPresentcss=#delete-application
assertTextcss=#delete-application*Delete application*
waitForPageToLoad
waitForElementPresentcss=svg.svg-inline--fa.fa-ellipsis-h.fa-w-16
clickcss=svg.svg-inline--fa.fa-ellipsis-h.fa-w-16
waitForPageToLoad
waitForElementPresentcss=.accordion-table__item-toggle-content.app-member-menu__toggle > a:nth-of-type(1)
clickcss=.accordion-table__item-toggle-content.app-member-menu__toggle > a:nth-of-type(1)
waitForPageToLoad
waitForElementPresentcss=.panel > div:nth-of-type(1) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > .modal__form--header > h1
assertTextcss=.panel > div:nth-of-type(1) > .modal.form-content--app-mem > .modal__container > .modal__dialog > .modal__body > .modal__form--header > h1*Manage Brandon Buchannan's Access*
waitForPageToLoad
waitForElementPresentcss=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
clickcss=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
waitForPageToLoad
waitForElementPresentcss=.usa-alert-text > .form-row > .form-col.form-col--two-thirds > .usa-input__help
assertTextcss=.usa-alert-text > .form-row > .form-col.form-col--two-thirds > .usa-input__help*Save changes to revoke access*
waitForPageToLoad
waitForElementPresentcss=label.link
clickcss=label.link
waitForPageToLoad
waitForElementPresentcss=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
clickcss=.environment_roles.environment-roles-new > fieldset.usa-input__choices.revoke-button:nth-of-type(1) > .form-row > .form-col.form-col--third > label.usa-button.button-danger-outline
waitForPageToLoad
waitForElementPresentcss=.action-group > input[type="submit"].usa-button.usa-button-primary.action-group__action
clickcss=.action-group > input[type="submit"].usa-button.usa-button-primary.action-group__action
waitForPageToLoad
waitForElementPresentcss=table.atat-table > tbody > tr:nth-of-type(1) > td.env_role--td > .row:nth-of-type(1) > .env-role__role
assertTextcss=table.atat-table > tbody > tr:nth-of-type(1) > td.env_role--td > .row:nth-of-type(1) > .env-role__role*None*
+ + \ No newline at end of file From 258b9df4eb273a4e78446e66d0bc2e7405506992 Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:47:59 -0500 Subject: [PATCH 4/9] Adjust for new index design --- uitests/TO_Step_1.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uitests/TO_Step_1.html b/uitests/TO_Step_1.html index f1c42b68..f8536744 100644 --- a/uitests/TO_Step_1.html +++ b/uitests/TO_Step_1.html @@ -381,13 +381,13 @@ Imported from: AT-AT CI - login--> waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad From 8a2de3c4a3d72162709bf8cbc5e32acecba82ebd Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:48:37 -0500 Subject: [PATCH 5/9] Randomize TO number --- uitests/TO_Step_2.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/uitests/TO_Step_2.html b/uitests/TO_Step_2.html index 30cd6c58..4dd7f908 100644 --- a/uitests/TO_Step_2.html +++ b/uitests/TO_Step_2.html @@ -404,13 +404,13 @@ Imported from: AT-AT CI - New Portfolio--> waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad @@ -547,7 +547,7 @@ This is Ghost Inspector flow control. The test will wait until the file is uploa type css=#number -1234567890123 +${timestamp} waitForPageToLoad From 7a73be4bc4ae34e52d151d7c5f614aa03d14066f Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:49:23 -0500 Subject: [PATCH 6/9] Adjust for random TO number --- uitests/TO_Step_4.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/uitests/TO_Step_4.html b/uitests/TO_Step_4.html index 1ea441eb..bd2e0450 100644 --- a/uitests/TO_Step_4.html +++ b/uitests/TO_Step_4.html @@ -450,13 +450,13 @@ Imported from: AT-AT CI - TO Step 2 Imported from: AT-AT CI - TO Step 1--> waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad @@ -611,7 +611,7 @@ Imported from: AT-AT CI - TO Step 2--> type css=#number -1234567890123 +${timestamp} waitForPageToLoad @@ -989,9 +989,9 @@ Imported from: AT-AT CI - TO Step 2--> -assertText +assertElementPresent css=.col.task-order__details > div:nth-of-type(2) -*1234567890123* + waitForPageToLoad From df4458b27b5011f9e7ae9261286f96c0829b178f Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:49:56 -0500 Subject: [PATCH 7/9] Changes to TO index page --- uitests/TO_Step_5.html | 67 ++++++++++++++++++++++++++++++++---------- 1 file changed, 51 insertions(+), 16 deletions(-) diff --git a/uitests/TO_Step_5.html b/uitests/TO_Step_5.html index c52df676..4e932c50 100644 --- a/uitests/TO_Step_5.html +++ b/uitests/TO_Step_5.html @@ -473,13 +473,13 @@ Imported from: AT-AT CI - TO Step 2 Imported from: AT-AT CI - TO Step 1--> waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad @@ -643,7 +643,7 @@ Imported from: AT-AT CI - TO Step 2--> type css=#number -1234567890123 +${timestamp} waitForPageToLoad @@ -1045,9 +1045,9 @@ Imported from: AT-AT CI - TO Step 3--> -assertText +assertElementPresent css=.col.task-order__details > div:nth-of-type(2) -*1234567890123* + waitForPageToLoad @@ -1116,16 +1116,6 @@ Imported from: AT-AT CI - TO Step 3--> -captureEntirePageScreenshot - - - - -waitForPageToLoad - - - - waitForElementPresent css=input[type="submit"] @@ -1142,6 +1132,21 @@ Imported from: AT-AT CI - TO Step 3--> waitForElementPresent +css=h3.usa-alert-heading + + + +assertText +css=h3.usa-alert-heading +*Your Task Order has been uploaded successfully.* + + +waitForPageToLoad + + + + +waitForElementPresent css=.usa-alert-text @@ -1150,6 +1155,36 @@ Imported from: AT-AT CI - TO Step 3--> css=.usa-alert-text *Your task order form for Tatooine Energy Maintenance Systems has been submitted.* + +waitForPageToLoad + + + + +waitForElementPresent +css=.portfolio-funding + + + +assertElementPresent +css=.portfolio-funding + + + +waitForPageToLoad + + + + +waitForElementPresent +css=.action-group + + + +assertElementPresent +css=.action-group + + From 6909cb7edc087db8857f88a49629659e5c45a835 Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:50:31 -0500 Subject: [PATCH 8/9] Adjust for random TO number --- uitests/Reports_-_Follow_TO_link.html | 213 +++++++++++++++----------- 1 file changed, 126 insertions(+), 87 deletions(-) diff --git a/uitests/Reports_-_Follow_TO_link.html b/uitests/Reports_-_Follow_TO_link.html index fa3662db..c55ace64 100644 --- a/uitests/Reports_-_Follow_TO_link.html +++ b/uitests/Reports_-_Follow_TO_link.html @@ -31,7 +31,7 @@ - - - - - - - - - - - - - - - - - - - - - - - waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad - - - - - - - - type css=#number -1234567890123 +${timestamp} waitForPageToLoad - - @@ -753,7 +753,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -772,7 +772,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -791,7 +791,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -810,7 +810,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -829,7 +829,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -848,7 +848,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -867,7 +867,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -886,7 +886,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -905,7 +905,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -924,7 +924,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -943,7 +943,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -962,7 +962,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -981,7 +981,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1000,7 +1000,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1019,7 +1019,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1038,7 +1038,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1057,7 +1057,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1076,7 +1076,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1094,7 +1094,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1112,7 +1112,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1130,7 +1130,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1148,7 +1148,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1157,16 +1157,16 @@ Imported from: AT-AT CI - TO Step 4--> -assertText +assertElementPresent css=.col.task-order__details > div:nth-of-type(2) -*1234567890123* + waitForPageToLoad - @@ -1184,7 +1184,7 @@ Imported from: AT-AT CI - TO Step 4--> - waitForElementPresent @@ -1201,7 +1201,7 @@ Imported from: AT-AT CI - TO Step 5--> - waitForElementPresent @@ -1218,7 +1218,7 @@ Imported from: AT-AT CI - TO Step 5--> - waitForElementPresent @@ -1235,19 +1235,7 @@ Imported from: AT-AT CI - TO Step 5--> - - -captureEntirePageScreenshot - - - - -waitForPageToLoad - - - - waitForElementPresent @@ -1264,7 +1252,24 @@ Imported from: AT-AT CI - TO Step 5--> - + +waitForElementPresent +css=h3.usa-alert-heading + + + +assertText +css=h3.usa-alert-heading +*Your Task Order has been uploaded successfully.* + + +waitForPageToLoad + + + + waitForElementPresent @@ -1281,7 +1286,41 @@ Imported from: AT-AT CI - TO Step 5--> - + + +waitForElementPresent +css=.portfolio-funding + + + +assertElementPresent +css=.portfolio-funding + + + +waitForPageToLoad + + + + + +waitForElementPresent +css=.action-group + + + +assertElementPresent +css=.action-group + + + +waitForPageToLoad + + + + waitForElementPresent css=.icon.icon--chart-pie > svg @@ -1297,7 +1336,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.sticky-cta-text > h3 @@ -1313,7 +1352,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.row > .col.col--grow.reporting-summary-item:nth-of-type(1) > .reporting-summary-item__value @@ -1329,7 +1368,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.row > .col.col--grow.reporting-summary-item:nth-of-type(2) > .reporting-summary-item__value @@ -1347,7 +1386,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.row > .col.col--grow.reporting-summary-item:nth-of-type(3) > h5.reporting-summary-item__header > .reporting-summary-item__header-text @@ -1429,9 +1468,9 @@ Imported from: AT-AT CI - TO Step 5--> -assertText +assertElementPresent css=.col.task-order__details > div:nth-of-type(2) -*1234567890123* + From 0b163de7e5afaadeea6977c6991631966fcd41cf Mon Sep 17 00:00:00 2001 From: "Jay R. Newlin (PromptWorks)" Date: Fri, 13 Dec 2019 13:50:53 -0500 Subject: [PATCH 9/9] Minor changes --- uitests/Reports_-_Follow_Add_App_Button.html | 209 +++++++++++-------- uitests/TO_Step_3.html | 8 +- uitests/TO_Step_3_-_Add_CLIN.html | 8 +- 3 files changed, 132 insertions(+), 93 deletions(-) diff --git a/uitests/Reports_-_Follow_Add_App_Button.html b/uitests/Reports_-_Follow_Add_App_Button.html index e556ef71..0c1b3bc5 100644 --- a/uitests/Reports_-_Follow_Add_App_Button.html +++ b/uitests/Reports_-_Follow_Add_App_Button.html @@ -31,7 +31,7 @@ - - - - - - - - - - - - - - - - - - - - - - - waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad - - - - - - - - type css=#number -1234567890123 +${timestamp} waitForPageToLoad - - @@ -753,7 +753,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -772,7 +772,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -791,7 +791,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -810,7 +810,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -829,7 +829,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -848,7 +848,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -867,7 +867,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -886,7 +886,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -905,7 +905,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -924,7 +924,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -943,7 +943,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -962,7 +962,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -981,7 +981,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1000,7 +1000,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1019,7 +1019,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1038,7 +1038,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1057,7 +1057,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1076,7 +1076,7 @@ Imported from: AT-AT CI - TO Step 3--> - @@ -1094,7 +1094,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1112,7 +1112,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1130,7 +1130,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1148,7 +1148,7 @@ Imported from: AT-AT CI - TO Step 4--> - @@ -1157,16 +1157,16 @@ Imported from: AT-AT CI - TO Step 4--> -assertText +assertElementPresent css=.col.task-order__details > div:nth-of-type(2) -*1234567890123* + waitForPageToLoad - @@ -1184,7 +1184,7 @@ Imported from: AT-AT CI - TO Step 4--> - waitForElementPresent @@ -1201,7 +1201,7 @@ Imported from: AT-AT CI - TO Step 5--> - waitForElementPresent @@ -1218,7 +1218,7 @@ Imported from: AT-AT CI - TO Step 5--> - waitForElementPresent @@ -1235,19 +1235,7 @@ Imported from: AT-AT CI - TO Step 5--> - - -captureEntirePageScreenshot - - - - -waitForPageToLoad - - - - waitForElementPresent @@ -1264,7 +1252,24 @@ Imported from: AT-AT CI - TO Step 5--> - + +waitForElementPresent +css=h3.usa-alert-heading + + + +assertText +css=h3.usa-alert-heading +*Your Task Order has been uploaded successfully.* + + +waitForPageToLoad + + + + waitForElementPresent @@ -1281,7 +1286,41 @@ Imported from: AT-AT CI - TO Step 5--> - + + +waitForElementPresent +css=.portfolio-funding + + + +assertElementPresent +css=.portfolio-funding + + + +waitForPageToLoad + + + + + +waitForElementPresent +css=.action-group + + + +assertElementPresent +css=.action-group + + + +waitForPageToLoad + + + + waitForElementPresent css=.icon.icon--chart-pie > svg @@ -1297,7 +1336,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.sticky-cta-text > h3 @@ -1313,7 +1352,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.row > .col.col--grow.reporting-summary-item:nth-of-type(1) > .reporting-summary-item__value @@ -1329,7 +1368,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.row > .col.col--grow.reporting-summary-item:nth-of-type(2) > .reporting-summary-item__value @@ -1347,7 +1386,7 @@ Imported from: AT-AT CI - TO Step 5--> - + waitForElementPresent css=.row > .col.col--grow.reporting-summary-item:nth-of-type(3) > h5.reporting-summary-item__header > .reporting-summary-item__header-text diff --git a/uitests/TO_Step_3.html b/uitests/TO_Step_3.html index 346d68b3..08a12033 100644 --- a/uitests/TO_Step_3.html +++ b/uitests/TO_Step_3.html @@ -427,13 +427,13 @@ Imported from: AT-AT CI - TO Step 1--> Imported from: AT-AT CI - TO Step 1--> waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad @@ -579,7 +579,7 @@ Imported from: AT-AT CI - TO Step 1--> type css=#number -1234567890123 +${timestamp} waitForPageToLoad diff --git a/uitests/TO_Step_3_-_Add_CLIN.html b/uitests/TO_Step_3_-_Add_CLIN.html index d7ec07cf..c9230826 100644 --- a/uitests/TO_Step_3_-_Add_CLIN.html +++ b/uitests/TO_Step_3_-_Add_CLIN.html @@ -450,13 +450,13 @@ Imported from: AT-AT CI - TO Step 2 Imported from: AT-AT CI - TO Step 1--> waitForElementPresent -css=.empty-state h3 +css=.sticky-cta-text h3 assertText -css=.empty-state h3 -*Add approved task orders* +css=.sticky-cta-text h3 +*Task Orders* waitForPageToLoad @@ -611,7 +611,7 @@ Imported from: AT-AT CI - TO Step 2--> type css=#number -1234567890123 +${timestamp} waitForPageToLoad