Skip to content

Commit

Permalink
Merge pull request #4129 from SalesforceFoundation/feature/robot__don…
Browse files Browse the repository at this point in the history
…ations-rollups

Feature/robot  donations rollups
  • Loading branch information
skristem authored Apr 3, 2019
2 parents 5484454 + 8ea3361 commit 91b0a81
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 2 deletions.
2 changes: 1 addition & 1 deletion robot/Cumulus/resources/NPSP.robot
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ Create Opportunities
Click Link link=${stage}
Populate Lookup Field Account Name ${hh_name}
Open Date Picker Close Date
Pick Date 10
Pick Date Today
Select Lightning Checkbox Do Not Automatically Create Payment
Click Modal Button Save

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,4 @@ Create Donation from a Contact
Select Tab Related
Load Related List Payments
Verify Occurrence Payments 1

Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,10 @@ Create Donation and Opportunity and Create Payment Manually
Pick Date Today
Click Modal Button Save
Verify Occurrence Payments 1
${opp_date} = Get Current Date result_format=%-m/%-d/%Y
Go To Record Home &{contact}[Id]
Scroll Element Into View text:Donation Totals
Confirm Value Last Gift Date ${opp_date} Y
Scroll Element Into View text:Soft Credit Total
Confirm Value Total Gifts $100.00 Y
Confirm Value Total Number of Gifts 1 Y
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ Create Donation from a Contact and Delete Opportunity
Click Modal Button Delete
#Sleep 5
Page Contains Record ${donation_name}
Go To Record Home &{contact}[AccountId]
Select Tab Details
Scroll Element Into View text:Membership Information
Confirm Value Total Gifts $0.00 Y
Confirm Value Total Number of Gifts 0 Y
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,21 @@ Create Donation from Contact and Verify Contact Roles on Opportunity Page
Select Relatedlist Contact Roles
Verify Related List Field Values
... &{contact1}[FirstName] &{contact1}[LastName]=Donor
... &{contact2}[FirstName] &{contact2}[LastName]=Household Member
... &{contact2}[FirstName] &{contact2}[LastName]=Household Member
&{opportunity2} = API Create Opportunity &{Contact2}[AccountId] Donation
... Name=Rollup test $50 donation
... Primary_Contact__c=&{contact2}[Id]
... Amount=50
Go To Record Home &{contact1}[AccountId]
Select Tab Details
Scroll Element Into View text:Membership Information
Confirm Value Total Gifts $150.00 Y
Confirm Value Total Number of Gifts 2 Y
Run Donations Batch Process
Go To Record Home &{contact1}[Id]
Scroll Element Into View text:Soft Credit Total
Confirm Value Total Gifts $100.00 Y
Confirm Value Total Number of Gifts 1 Y
Scroll Element Into View text:Household Donation Info
Confirm Value Soft Credit Total $50.00 Y
Confirm Value Number of Soft Credits 1 Y

0 comments on commit 91b0a81

Please sign in to comment.