From eb03f73bc28750da808de2f8410b9942ecc11849 Mon Sep 17 00:00:00 2001 From: Safiya B Date: Sat, 11 Mar 2023 22:02:00 -0800 Subject: [PATCH] Fix a few locators for Q3 robot tests --- .../resources/CustomizableRollupsPageObject.py | 3 +-- .../resources/EngagementPlanTemplatesPageObject.py | 4 ++-- robot/Cumulus/resources/NPSP.py | 13 +++++-------- robot/Cumulus/resources/locators_55.py | 9 +++++---- .../asc_primary_contact_organization_gift.robot | 2 -- .../deletebehaviors_household.robot | 2 +- .../contacts_accounts/deletecontact_household.robot | 2 +- .../browser/crlps/total_current_year_payments.robot | 1 - .../create_donation_and_payment.robot | 2 +- .../browser/donations_payments/create_grant.robot | 2 +- .../create_matching_donation.robot | 2 +- .../browser/donations_payments/data_imports.robot | 2 +- .../donations_payments/lead_conversion.robot | 2 +- .../engagement_plans/create_engagement_plan.robot | 2 +- .../engagement_plans/edit_engagement_plan.robot | 2 +- robot/Cumulus/tests/browser/gaus/create_gau.robot | 2 +- .../browser/levels/create_edit_delete_level.robot | 2 +- .../manage_households/add_address_managehh.robot | 2 +- .../add_existingcontact_managehh.robot | 2 +- .../manage_households/add_newcontact_managehh.robot | 2 +- .../manage_households/change_naming_managehh.robot | 2 +- .../npsp_settings/edit_and_verify_setting.robot | 2 +- .../verify_payment_allocations_setting.robot | 2 +- .../relationships/create_relationships.robot | 2 +- .../browser/tdtm/tdtm_username_exclude.robot.robot | 2 +- .../check_recurring_auto_naming.robot | 2 +- ..._fixed_length_recurring_donation_divide_by.robot | 2 +- ...ixed_length_recurring_donation_multiply_by.robot | 2 +- ...reate_recurring_donation_and_check_rollups.robot | 2 +- .../create_recurring_donation_ui.robot | 9 +++++++-- .../zcreate_fixed_erd_record.robot | 2 +- .../zcreate_open_erd_for_contact.robot | 2 +- .../zcreate_open_erd_record.robot | 2 +- ...zedit_day_of_month_verify_next_opportunity.robot | 2 +- .../zedit_effective_date_erd_record.robot | 2 +- .../zedit_erd_day_of_month.robot | 2 +- ...t_erd_day_of_month_with_manual_opportunity.robot | 2 +- .../zedit_erd_installment_period.robot | 2 +- .../zedit_open_erd_record.robot | 2 +- 39 files changed, 52 insertions(+), 53 deletions(-) diff --git a/robot/Cumulus/resources/CustomizableRollupsPageObject.py b/robot/Cumulus/resources/CustomizableRollupsPageObject.py index 946ec85b7a..a1a25111ec 100644 --- a/robot/Cumulus/resources/CustomizableRollupsPageObject.py +++ b/robot/Cumulus/resources/CustomizableRollupsPageObject.py @@ -10,8 +10,7 @@ class CustomRollupSettingsPage(BaseNPSPPage, BasePage): def navigate_to_crlpsettings(self, filter_name=None): - """ Click on the Navigate CRLP Button and wait for the page to load - """ + """ Click on the Navigate CRLP Button and wait for the page to load """ locator = npsp_lex_locators["id"].format("navigateCRLPs") self.selenium.click_element(locator) self.selenium.wait_until_location_contains( diff --git a/robot/Cumulus/resources/EngagementPlanTemplatesPageObject.py b/robot/Cumulus/resources/EngagementPlanTemplatesPageObject.py index b878f74faa..ae24f533ee 100644 --- a/robot/Cumulus/resources/EngagementPlanTemplatesPageObject.py +++ b/robot/Cumulus/resources/EngagementPlanTemplatesPageObject.py @@ -40,8 +40,8 @@ def click_and_wait_for_task(self, taskname): def enter_task_id_and_subject(self, id, value): """Enter values into corresponding task subject fields based on last 2 digits of id""" - locator = npsp_lex_locators['engagement_plan']['input_box'].format(id) - self.selenium.wait_until_element_is_visible(locator,60) + locator = npsp_lex_locators['engagement_plan']['input_box'].format(id, "Subject") + self.selenium.wait_until_element_is_visible(locator, 60) self.salesforce.scroll_element_into_view(locator) self.selenium.get_webelement(locator).send_keys(value) diff --git a/robot/Cumulus/resources/NPSP.py b/robot/Cumulus/resources/NPSP.py index 18750981d2..53e4e7b7c9 100644 --- a/robot/Cumulus/resources/NPSP.py +++ b/robot/Cumulus/resources/NPSP.py @@ -499,12 +499,10 @@ def verify_occurence(self,title,value): def check_record_related_item(self,title,value): """Verifies that the given value is displayed under the related list identified by title on a record view page""" self.salesforce.load_related_list(title) - locator=npsp_lex_locators['record']['related']['item'].format(title,value) + locator = npsp_lex_locators['record']['related']['item'].format(title) self.selenium.wait_until_page_contains_element(locator) - actual_value=self.selenium.get_webelement(locator).text - assert value == actual_value, "Expected value to be {} but found {}".format( - value, actual_value - ) + actual_value = self.selenium.get_webelement(locator).text + assert value == actual_value, "Expected value to be {} but found {}".format(value, actual_value) def select_related_dropdown(self,title): @@ -571,7 +569,6 @@ def click_special_object_button(self, title): self.selenium.wait_until_element_is_visible(locator,error="Button "+ title +" not found on the page") self.selenium.get_webelement(locator).click() - def check_related_list_values(self,list_name,*args): """Verifies the value of custom related list""" self.salesforce.load_related_list(list_name) @@ -803,9 +800,9 @@ def get_npsp_locator(self, path, *args, **kwargs): return main_loc def wait_for_locator(self, path, *args, **kwargs): - """Waits for 60 sec for the specified locator""" + """Waits for 180 sec for the specified locator""" main_loc = self.get_npsp_locator(path,*args, **kwargs) - self.selenium.wait_until_element_is_visible(main_loc, timeout=60) + self.selenium.wait_until_element_is_visible(main_loc, timeout=180) def wait_for_locator_is_not_visible(self, path, *args, **kwargs): """Waits for 60 sec for the specified locator""" diff --git a/robot/Cumulus/resources/locators_55.py b/robot/Cumulus/resources/locators_55.py index 6563aab704..e6ad652b6b 100644 --- a/robot/Cumulus/resources/locators_55.py +++ b/robot/Cumulus/resources/locators_55.py @@ -42,7 +42,7 @@ 'drop-down':'//div[contains(@class, "slds-card")]/header[.//span[@title="{}"]]/parent::*/div/div/div/a[contains(@class, "slds-button")]', 'title':'//div/h2//a[./span[text()="{}"]]', 'viewall':'//article[contains(@class, "slds-card slds-card_boundary")][.//span[@title="{}"]]//a[.//span[@class="view-all-label"]]', - 'item':"//article[contains(@class, 'slds-card_boundary')][.//img][.//span[@title='{}']]//h3//a", + 'item':"//article[contains(@class, 'slds-card_boundary')][.//img][.//span[@title='{}']]//h3//a//span", 'field_value': '//a[text()="{}"]/ancestor::li//div[contains(@class, "slds-item--detail")]//*[text()="{}"]', 'link':"//article[contains(@class, 'slds-card slds-card_boundary')][.//span[@title='{}']]//table/tbody/tr[.//td//*[text()='{}']]/th//a", 'dd-link':'//a[@name="{}"]', @@ -116,7 +116,7 @@ 'related_list_items':'//article[contains(@class,"slds-card_boundary")][.//a[contains(@class, "slds-card")]/span[text() = "{}"]]//div[contains(@class, "listDisplays")]//*[text()="{}"]', 'span_button':'//span[text()="{}"]', 'modalspan_button':'//div[contains(@class,"modal-body")]//span[text()="{}"]', - 'related_drop_down':'//div/a[contains(@class,"slds-button")]/ancestor::li/div/a', + 'related_drop_down':"//li[contains(@class, 'forceRecordLayout')]//a[contains(text(), '{}')]/ancestor::h3[contains(@class, 'primaryField')]/following-sibling::div//a[@role='button']", 'span':"//span[@title='{}']", 'header_field_value':'//*[contains(@class, "slds-page-header__detail")][.//*[@title="{}"]]//*[text()="{}"]', 'header_datepicker':'//li[contains(@class, "slds-page-header__detail")][.//p[contains(@class, "slds-text-heading--label")][@title="{}"]]//*[@class="uiOutputDate"]', @@ -126,7 +126,7 @@ 'field_lookup_value': "//a[@role='option'][.//div[@title='{}']]", 'field-value':"//div[contains(@class,'slds-form-element')][./label[text()='{}']]/div/span", 'header':'//h1//child::div/span[text()="{}"]', - 'check_related_list_item':'//article[.//span[text() = "{}"]]/descendant::tbody//th/*/*/*/*/*/*/*/*/a/span[text()="{}"]', + 'check_related_list_item': '//article[.//span[text() = "{}"]]/descendant::tbody//th//a//span[text()="{}"]', 'detail_page': { 'section_header':'//h3//span[text()="{}"]', 'address':'//h3[contains(@class, "slds-section__title")][.//span[contains(text(),"Address")]]/../..//div[contains(@class, "test-id")]/span[text()= "{}"]/../following-sibling::div//a//div[contains(@class, "slds")]', @@ -134,6 +134,7 @@ 'field-value':{ 'verify_field_value1':'//div[contains(@class, "forcePageBlockItem")]/div/div//span[text()="{}"]/../../div[2]/span/span[text() = "{}"]', 'verify_field_value2':'//force-record-layout-item//div[./span[text()="{}"]]/following-sibling::div//lightning-formatted-text[text() = "{}"]', + 'verify_field_value3':'//records-record-layout-item//div[./span[text()="{}"]]/following-sibling::div//lightning-formatted-text[text() = "{}"]' }, 'edit_mode':{ 'section_header':'//div[contains(@class,"forcePageBlockSectionEdit")]/h3//span[text()="{}"]', @@ -160,7 +161,7 @@ 'field-value':'//tbody/tr[./th//a[text()="{}"]]/td[.//span[text()="{}"]]', }, 'engagement_plan':{ - 'input_box':'//fieldset[./legend[text()="{}"]]//div[@class="requiredInput"]/input', + 'input_box':'//fieldset[./legend[text()="{}"]]//input[@aria-label="{}"]', 'dropdown':'//div[contains(@class,"slds-p-top_small")]/label[text()="{}"]/following-sibling::div/select', 'checkbox':'//div[contains(@class,"slds-p-top_small")]/label[@class="slds-checkbox"][./span/following-sibling::{}[text()="{}"]/]', 'button':'//div[contains(@class,"slds-button-group")][.//span[text()="toTask {}"]]/button[contains(text(),"{}")]', diff --git a/robot/Cumulus/tests/browser/automated_soft_credits/asc_primary_contact_organization_gift.robot b/robot/Cumulus/tests/browser/automated_soft_credits/asc_primary_contact_organization_gift.robot index c491b0b3d6..023a27ec94 100644 --- a/robot/Cumulus/tests/browser/automated_soft_credits/asc_primary_contact_organization_gift.robot +++ b/robot/Cumulus/tests/browser/automated_soft_credits/asc_primary_contact_organization_gift.robot @@ -20,9 +20,7 @@ Setup Test Data ... Name=${data}[account][Name] $50 donation Amount=50 ${ns}Primary_Contact__c=${data}[contact][Id] Set suite variable &{opportunity} - *** Variables *** - &{contact_fields} Email=test@example.com &{account_fields} Type=Organization diff --git a/robot/Cumulus/tests/browser/contacts_accounts/deletebehaviors_household.robot b/robot/Cumulus/tests/browser/contacts_accounts/deletebehaviors_household.robot index 2da162b8d0..62242df16b 100644 --- a/robot/Cumulus/tests/browser/contacts_accounts/deletebehaviors_household.robot +++ b/robot/Cumulus/tests/browser/contacts_accounts/deletebehaviors_household.robot @@ -7,7 +7,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** Setup Test Data diff --git a/robot/Cumulus/tests/browser/contacts_accounts/deletecontact_household.robot b/robot/Cumulus/tests/browser/contacts_accounts/deletecontact_household.robot index 4449dc7cb4..8e79f999e8 100644 --- a/robot/Cumulus/tests/browser/contacts_accounts/deletecontact_household.robot +++ b/robot/Cumulus/tests/browser/contacts_accounts/deletecontact_household.robot @@ -7,7 +7,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** Setup Test Data diff --git a/robot/Cumulus/tests/browser/crlps/total_current_year_payments.robot b/robot/Cumulus/tests/browser/crlps/total_current_year_payments.robot index 254afdc9ca..3674a6cc1e 100644 --- a/robot/Cumulus/tests/browser/crlps/total_current_year_payments.robot +++ b/robot/Cumulus/tests/browser/crlps/total_current_year_payments.robot @@ -53,7 +53,6 @@ Total Current Year Payments on Prior Year Pledges [Documentation] Calculates Total Current Year Payments on Prior Year opportunity Pledges ... Enables CRLP settings, creates the custom fields on account and payment objects required for rollup ... Creates a filter and crlp setting to rollup the amount of current year payments on a previous year opportunity - [Tags] feature:CRLP unstable api quadrant:q3 # Create a Filter group and CRLP setting after checking prior records do not check if element exists diff --git a/robot/Cumulus/tests/browser/donations_payments/create_donation_and_payment.robot b/robot/Cumulus/tests/browser/donations_payments/create_donation_and_payment.robot index 693a3b3f7a..886522e137 100644 --- a/robot/Cumulus/tests/browser/donations_payments/create_donation_and_payment.robot +++ b/robot/Cumulus/tests/browser/donations_payments/create_donation_and_payment.robot @@ -10,7 +10,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** # Sets test data contact and an opportunity for the contact diff --git a/robot/Cumulus/tests/browser/donations_payments/create_grant.robot b/robot/Cumulus/tests/browser/donations_payments/create_grant.robot index 591236aa60..a3f45e2f6a 100644 --- a/robot/Cumulus/tests/browser/donations_payments/create_grant.robot +++ b/robot/Cumulus/tests/browser/donations_payments/create_grant.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** # Sets test data contact and an opportunity for the contact diff --git a/robot/Cumulus/tests/browser/donations_payments/create_matching_donation.robot b/robot/Cumulus/tests/browser/donations_payments/create_matching_donation.robot index 0aefadce51..610d57191d 100644 --- a/robot/Cumulus/tests/browser/donations_payments/create_matching_donation.robot +++ b/robot/Cumulus/tests/browser/donations_payments/create_matching_donation.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** # Sets test data contact and an opportunity for the contact diff --git a/robot/Cumulus/tests/browser/donations_payments/data_imports.robot b/robot/Cumulus/tests/browser/donations_payments/data_imports.robot index 5f2c37fc50..2f94021dc6 100644 --- a/robot/Cumulus/tests/browser/donations_payments/data_imports.robot +++ b/robot/Cumulus/tests/browser/donations_payments/data_imports.robot @@ -4,7 +4,7 @@ Resource robot/Cumulus/resources/NPSP.robot Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/DataImportPageObject.py Suite Setup Open Test Browser -#Suite Teardown Delete Records and Close Browser +#Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Test Cases *** diff --git a/robot/Cumulus/tests/browser/donations_payments/lead_conversion.robot b/robot/Cumulus/tests/browser/donations_payments/lead_conversion.robot index 16da866a9c..c12d3fddd5 100644 --- a/robot/Cumulus/tests/browser/donations_payments/lead_conversion.robot +++ b/robot/Cumulus/tests/browser/donations_payments/lead_conversion.robot @@ -7,7 +7,7 @@ Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/LeadsPageObject.py Suite Setup Open Test Browser -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Test Cases *** diff --git a/robot/Cumulus/tests/browser/engagement_plans/create_engagement_plan.robot b/robot/Cumulus/tests/browser/engagement_plans/create_engagement_plan.robot index af6ea8247c..68b790d264 100644 --- a/robot/Cumulus/tests/browser/engagement_plans/create_engagement_plan.robot +++ b/robot/Cumulus/tests/browser/engagement_plans/create_engagement_plan.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/NPSP.py Suite Setup Run keywords ... Open Test Browser -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Variables *** diff --git a/robot/Cumulus/tests/browser/engagement_plans/edit_engagement_plan.robot b/robot/Cumulus/tests/browser/engagement_plans/edit_engagement_plan.robot index 85066862be..e748df7b93 100644 --- a/robot/Cumulus/tests/browser/engagement_plans/edit_engagement_plan.robot +++ b/robot/Cumulus/tests/browser/engagement_plans/edit_engagement_plan.robot @@ -9,7 +9,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** # Setup a contact with parameters specified diff --git a/robot/Cumulus/tests/browser/gaus/create_gau.robot b/robot/Cumulus/tests/browser/gaus/create_gau.robot index bed3c8dfcf..05c41086c6 100644 --- a/robot/Cumulus/tests/browser/gaus/create_gau.robot +++ b/robot/Cumulus/tests/browser/gaus/create_gau.robot @@ -4,7 +4,7 @@ Resource robot/Cumulus/resources/NPSP.robot Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/GAUPageObject.py Suite Setup Open Test Browser -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Test Cases *** diff --git a/robot/Cumulus/tests/browser/levels/create_edit_delete_level.robot b/robot/Cumulus/tests/browser/levels/create_edit_delete_level.robot index 298e7c91cb..94e6d56f53 100644 --- a/robot/Cumulus/tests/browser/levels/create_edit_delete_level.robot +++ b/robot/Cumulus/tests/browser/levels/create_edit_delete_level.robot @@ -6,7 +6,7 @@ Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/LevelsPageObject.py ... robot/Cumulus/resources/NPSPSettingsPageObject.py Suite Setup Open Test Browser -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Variables *** diff --git a/robot/Cumulus/tests/browser/manage_households/add_address_managehh.robot b/robot/Cumulus/tests/browser/manage_households/add_address_managehh.robot index ba74b107d4..b41d1139ff 100644 --- a/robot/Cumulus/tests/browser/manage_households/add_address_managehh.robot +++ b/robot/Cumulus/tests/browser/manage_households/add_address_managehh.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** Setup Test Data diff --git a/robot/Cumulus/tests/browser/manage_households/add_existingcontact_managehh.robot b/robot/Cumulus/tests/browser/manage_households/add_existingcontact_managehh.robot index f3bbc05c03..0d22198763 100644 --- a/robot/Cumulus/tests/browser/manage_households/add_existingcontact_managehh.robot +++ b/robot/Cumulus/tests/browser/manage_households/add_existingcontact_managehh.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** diff --git a/robot/Cumulus/tests/browser/manage_households/add_newcontact_managehh.robot b/robot/Cumulus/tests/browser/manage_households/add_newcontact_managehh.robot index 5775882919..4ca656c611 100644 --- a/robot/Cumulus/tests/browser/manage_households/add_newcontact_managehh.robot +++ b/robot/Cumulus/tests/browser/manage_households/add_newcontact_managehh.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** diff --git a/robot/Cumulus/tests/browser/manage_households/change_naming_managehh.robot b/robot/Cumulus/tests/browser/manage_households/change_naming_managehh.robot index 86d7b42761..c324b592e3 100644 --- a/robot/Cumulus/tests/browser/manage_households/change_naming_managehh.robot +++ b/robot/Cumulus/tests/browser/manage_households/change_naming_managehh.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** diff --git a/robot/Cumulus/tests/browser/npsp_settings/edit_and_verify_setting.robot b/robot/Cumulus/tests/browser/npsp_settings/edit_and_verify_setting.robot index c99eda7a0f..ca917d4ced 100644 --- a/robot/Cumulus/tests/browser/npsp_settings/edit_and_verify_setting.robot +++ b/robot/Cumulus/tests/browser/npsp_settings/edit_and_verify_setting.robot @@ -4,7 +4,7 @@ Resource robot/Cumulus/resources/NPSP.robot Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/NPSPSettingsPageObject.py Suite Setup Open Test Browser -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Test Cases *** diff --git a/robot/Cumulus/tests/browser/npsp_settings/verify_payment_allocations_setting.robot b/robot/Cumulus/tests/browser/npsp_settings/verify_payment_allocations_setting.robot index c00775917a..90dfc7de58 100644 --- a/robot/Cumulus/tests/browser/npsp_settings/verify_payment_allocations_setting.robot +++ b/robot/Cumulus/tests/browser/npsp_settings/verify_payment_allocations_setting.robot @@ -4,7 +4,7 @@ Resource robot/Cumulus/resources/NPSP.robot Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/CustomSettingsPageObject.py Suite Setup Open Test Browser -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Test Cases *** diff --git a/robot/Cumulus/tests/browser/relationships/create_relationships.robot b/robot/Cumulus/tests/browser/relationships/create_relationships.robot index 0402bdcde7..5b62395ff5 100644 --- a/robot/Cumulus/tests/browser/relationships/create_relationships.robot +++ b/robot/Cumulus/tests/browser/relationships/create_relationships.robot @@ -9,7 +9,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** diff --git a/robot/Cumulus/tests/browser/tdtm/tdtm_username_exclude.robot.robot b/robot/Cumulus/tests/browser/tdtm/tdtm_username_exclude.robot.robot index 466dea6cfd..8b622417ae 100644 --- a/robot/Cumulus/tests/browser/tdtm/tdtm_username_exclude.robot.robot +++ b/robot/Cumulus/tests/browser/tdtm/tdtm_username_exclude.robot.robot @@ -6,7 +6,7 @@ Library cumulusci.robotframework.PageObjects ... robot/Cumulus/resources/ContactPageObject.py ... robot/Cumulus/resources/RecurringDonationsPageObject.py Suite Setup Open Test Browser -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** API Modify Trigger Handler diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/check_recurring_auto_naming.robot b/robot/Cumulus/tests/browser/zrecurring_donations/check_recurring_auto_naming.robot index a62686a8db..e31e0ed5d2 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/check_recurring_auto_naming.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/check_recurring_auto_naming.robot @@ -7,7 +7,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run Keywords ... Open Test Browser ... Setup Variables -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** Setup Variables diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_divide_by.robot b/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_divide_by.robot index 8083667f6e..29a3d19098 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_divide_by.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_divide_by.robot @@ -7,7 +7,7 @@ Suite Setup Run Keywords ... Open Test Browser ... Setup Variables ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** Setup Variables diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_multiply_by.robot b/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_multiply_by.robot index 8382d03ee3..24a6aa6dc7 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_multiply_by.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/create_a_fixed_length_recurring_donation_multiply_by.robot @@ -11,7 +11,7 @@ Suite Setup Run Keywords ... Open Test Browser ... Setup Variables ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** Setup Variables diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_and_check_rollups.robot b/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_and_check_rollups.robot index d411acd6cb..b781e80381 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_and_check_rollups.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_and_check_rollups.robot @@ -11,7 +11,7 @@ Suite Setup Run Keywords ... Open Test Browser ... Setup Variables ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** Setup Variables diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_ui.robot b/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_ui.robot index 20dadcdbfb..b74814b396 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_ui.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/create_recurring_donation_ui.robot @@ -8,7 +8,7 @@ Library cumulusci.robotframework.PageObjects Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** # Setup a contact with parameters specified @@ -41,7 +41,12 @@ Create Open Recurring Donation With Monthly Installment Reload Page Select Tab Related Current Page Should Be Details Contact - Check Related List Values Recurring Donations Robot Recurring Donation + ##### KNOWN BUG!!! ##### + # 3/10/23: The Recurring Donation name is being overwritten with the default format name + # Since NPSP does not have a future roadmap, the bug won't be fixed. + # The test here is reflecting the current behavior in the product + ${Default_RD_Name} = Set Variable ${data}[contact][FirstName] ${data}[contact][LastName] $100 - Recurring + Check Related List Values Recurring Donations ${Default_RD_Name} Load Related List Opportunities Click ViewAll Related List Opportunities Verify Payment Details 12 \ No newline at end of file diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_fixed_erd_record.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_fixed_erd_record.robot index 820626de1c..18b09e58b7 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_fixed_erd_record.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_fixed_erd_record.robot @@ -10,7 +10,7 @@ Suite Setup Run keywords ... Enable RD2 ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** # Setup a contact with parameters specified diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_for_contact.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_for_contact.robot index ff8966c96c..a77ad35eb8 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_for_contact.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_for_contact.robot @@ -7,7 +7,7 @@ Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_record.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_record.robot index 59956a76b7..583a471175 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_record.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zcreate_open_erd_record.robot @@ -10,7 +10,7 @@ Suite Setup Run keywords ... Enable RD2 ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser ***Keywords*** diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_day_of_month_verify_next_opportunity.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_day_of_month_verify_next_opportunity.robot index 252b1ba91c..6060d847f2 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_day_of_month_verify_next_opportunity.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_day_of_month_verify_next_opportunity.robot @@ -11,7 +11,7 @@ Suite Setup Run keywords ... Enable RD2 ... Open Test Browser ... Setup Test Data -#Suite Teardown Delete Records and Close Browser +#Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_effective_date_erd_record.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_effective_date_erd_record.robot index 432a2fac27..d8ca061519 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_effective_date_erd_record.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_effective_date_erd_record.robot @@ -11,7 +11,7 @@ Suite Setup Run keywords ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** Setup Test Data diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month.robot index fc24fd4518..48e13ebe1c 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month.robot @@ -8,7 +8,7 @@ Suite Setup Run keywords ... Enable RD2 ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month_with_manual_opportunity.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month_with_manual_opportunity.robot index 646c86c5f6..12ccef7a5d 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month_with_manual_opportunity.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_day_of_month_with_manual_opportunity.robot @@ -10,7 +10,7 @@ Suite Setup Run keywords ... Enable RD2 ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_installment_period.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_installment_period.robot index 92f33007f3..0e13161c1b 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_installment_period.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_erd_installment_period.robot @@ -7,7 +7,7 @@ Suite Setup Run keywords ... Enable RD2 ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords *** diff --git a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_open_erd_record.robot b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_open_erd_record.robot index 4f059d2157..bcfe52fc8c 100644 --- a/robot/Cumulus/tests/browser/zrecurring_donations/zedit_open_erd_record.robot +++ b/robot/Cumulus/tests/browser/zrecurring_donations/zedit_open_erd_record.robot @@ -10,7 +10,7 @@ Suite Setup Run keywords ... Enable RD2 ... Open Test Browser ... Setup Test Data -Suite Teardown Delete Records and Close Browser +Suite Teardown Capture Screenshot and Delete Records and Close Browser *** Keywords ***