*** Settings ***

Resource        tests/NPSP.robot
Suite Setup     Open Test Browser
Suite Teardown  Delete Records and Close Browser

*** Test Cases ***

Delete Contact from Household
    &{contact1} =  API Create Contact    Email=skristem@robot.com
    Go To Record Home  &{contact1}[AccountId]
    ${contact_id2} =  New Contact for HouseHold
    &{contact2} =  Salesforce Get  Contact  ${contact_id2}
    Header Field Value    Account Name    &{contact1}[LastName] and &{contact2}[LastName] Household
    Go To Object Home    Contact
    Select Row    &{Contact2}[FirstName] &{Contact2}[LastName]
    Click Link    title=Delete
    #Sleep    5
    Go To Object Home    Account
    Reload Page
    Page Should Contain Link   link=&{contact1}[LastName] Household

*** Settings ***

Resource        tests/NPSP.robot
Suite Setup     Open Test Browser
Suite Teardown  Delete Records and Close Browser

*** Test Cases ***

Delete Contact from Household
    [tags]  unstable
    &{contact1} =  API Create Contact    Email=skristem@robot.com
    Go To Record Home  &{contact1}[AccountId]
    ${contact_id2} =  New Contact for HouseHold
    &{contact2} =  Salesforce Get  Contact  ${contact_id2}
    Header Field Value    Account Name    &{contact1}[LastName] and &{contact2}[LastName] Household
    Go To Object Home    Contact
    Select Row    &{Contact2}[FirstName] &{Contact2}[LastName]
    Click Link    title=Delete
    #Sleep    5
    Go To Object Home    Account
    Reload Page
    Page Should Contain Link   link=&{contact1}[LastName] Household

Tag a test that is frequently failing as unstable
Tag a test that is frequently failing as unstable

SalesforceFoundation/Cumulus,Zosoled/Cumulus,Zosoled/Cumulus,Zosoled/Cumulus,Zosoled/Cumulus,SalesforceFoundation/Cumulus,SalesforceFoundation/Cumulus,SalesforceFoundation/Cumulus