-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #47 from SalesforceFoundation/feature/232
232 Major Release / Summer '21 π β΅ π
- Loading branch information
Showing
10 changed files
with
98 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Outbound Funds Module NPSP | ||
|
||
## Latest Release | ||
|
||
Summer '21 π β΅ π |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
force-app/main/default/lwc/gauExpenditureRow/gauExpenditureRow.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
.custom-percent-style { | ||
padding-top: 0.25rem; | ||
padding-left: 0.25rem; | ||
padding-top: 0.25rem; | ||
padding-left: 0.25rem; | ||
} | ||
|
||
.slds-form-element__label { | ||
display: none; | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
.slds-combobox__input, | ||
.slds-combobox_container { | ||
transition: border 0.1s linear, box-shadow 0.1 linear; | ||
transition: border 0.1s linear, box-shadow 0.1 linear; | ||
} | ||
|
||
.slds-combobox__input { | ||
box-shadow: none; | ||
box-shadow: none; | ||
} | ||
|
||
.slds-combobox__input.has-custom-border { | ||
box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px rgb(221, 219, 218) inset; | ||
box-shadow: 0 0 0 2px #fff inset, 0 0 0 3px rgb(221, 219, 218) inset; | ||
} | ||
|
||
.slds-combobox__input.has-custom-error { | ||
border: 1px solid rgb(194, 57, 52); | ||
box-shadow: rgb(194, 57, 52) 0 0 0 1px inset; | ||
border: 1px solid rgb(194, 57, 52); | ||
box-shadow: rgb(194, 57, 52) 0 0 0 1px inset; | ||
} | ||
|
||
.slds-combobox_container.has-custom-error { | ||
border: none !important; | ||
border: none !important; | ||
} | ||
|
||
.slds-combobox__input.has-custom-height { | ||
height: 32px !important; | ||
height: 32px !important; | ||
} | ||
|
||
.form-error { | ||
color: rgb(194, 57, 52); | ||
display: block; | ||
color: rgb(194, 57, 52); | ||
display: block; | ||
} | ||
|
||
.truncate { | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
} | ||
|
||
label { | ||
display: none; | ||
display: none; | ||
} |
4 changes: 2 additions & 2 deletions
4
force-app/main/default/lwc/manageExpenditures/manageExpenditures.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
.VALID { | ||
color: black; | ||
color: black; | ||
} | ||
|
||
.INVALID { | ||
color: red; | ||
color: red; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,57 +1,6 @@ | ||
# Spring '21 locators | ||
outboundfundsnpsp_lex_locators = { | ||
"app_launcher": { | ||
"view_all_button": "//button[text()='View All']", | ||
"app_link": "//p[contains(@title,'{}')]", | ||
"app_link_search_result": "//mark[contains(text(),'{}')]", | ||
"search_input": "//input[contains(@placeholder,'Search apps or items...')]", | ||
}, | ||
"new_record": { | ||
"label": "//label[text()='{}']", | ||
"title": "//h2[contains(@class, 'inlineTitle') and text()='{}']", | ||
"field_label": "//div[./*/*[text()='{}']]", | ||
"edit_title": "//h2[contains(@class, 'title') and text()='{}']", | ||
"list": "//div[contains(@class,'forcePageBlockSectionRow')]/div[contains(@class,'forcePageBlockItem')]/div[contains(@class,'slds-hint-parent')]/div[@class='slds-form-element__control']/div[.//span[text()='{}']][//div[contains(@class,'uiMenu')]//a[@class='select']]", | ||
"text_field": "//div[contains(@class, 'uiInput')][.//label[contains(@class, 'uiLabel')][.//span[text()='{}']]]//*[self::input or self::textarea]", | ||
"dropdown_field": "//lightning-combobox[./label[text()='{}']]/div//input[contains(@class,'combobox__input')]", | ||
"dropdown_popup": "//div[contains(@class, 'slds-dropdown-trigger')]/div[contains(@class, 'slds-listbox')]", | ||
"dropdown_value": "//div[contains(@class,'slds-listbox')]//lightning-base-combobox-item//span[text()='{}']", | ||
"dd_selection": "//lightning-base-combobox-item[@data-value='{}']", | ||
"button": "//button[contains(@class, 'slds-button') and text()='{}']", | ||
"lookup_field": "//div[contains(@class, 'autocompleteWrapper')]//input[@title='{}']", | ||
"lightning_lookup": "//label[text()='{}']/following-sibling::div//input", | ||
"lookup_value": "//div[contains(@class, 'listContent')]//div[contains(@class, 'slds-truncate') and @title='{}']", | ||
"checkbox": "//div[contains(@class,'uiInputCheckbox')]/label/span[text()='{}']/../following-sibling::input[@type='checkbox']", | ||
"field_input": '//label[text()="{}"]/following-sibling::div//*[self::input or self::textarea]', | ||
"date_field": "//div[contains(@class,'slds-dropdown-trigger')][./label[text()='{}']]/div/input", | ||
"select_date": "//div[contains(@class,'uiDatePickerGrid')]/table[@class='calGrid']//*[text()='{}']", | ||
"text-field": "//label/span[text()='{}']/../following-sibling::input", | ||
"footer_button": "//lightning-button//button[text()='{}']", | ||
}, | ||
"confirm": { | ||
"check_value": "//div[contains(@class, 'forcePageBlockItem') or contains(@class, 'slds-form-element_stacked')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]//*[text()='{}']", | ||
"check_status": "//div[contains(@class, 'field-label-container')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]/span//lightning-formatted-text[text()='{}']", | ||
"check_numbers": "//div[contains(@class, 'field-label-container')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]/span//lightning-formatted-number[text()='{}']", | ||
}, | ||
"tab": { | ||
"tab_header": "//a[@class='slds-tabs_default__link' and text()='{}']", | ||
"record_detail_tab": "//a[contains(@data-label,'{}')]", | ||
"verify_header": "//div[contains(@class, 'entityNameTitle')]", | ||
"verify_details": "//div[contains(@class, 'slds-form-element')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]/span", | ||
}, | ||
"related": { | ||
"title": '//div[contains(@class, "slds-card")]/header[.//span[@title="{}"]]', | ||
"button": "//div[contains(@class, 'forceRelatedListSingleContainer')][.//img][.//span[@title='{}']]//a[@title='{}']", | ||
"count": "//tbody/tr/td[1]", | ||
"flexi_button": "//div[@lst-listviewmanagerheader_listviewmanagerheader][.//span[@title='{}']]//lightning-button//button[text()='{}']", | ||
"flexi_link": "//a//span[contains(text(),'{}')]", | ||
}, | ||
"details": { | ||
"button": "//button[contains(@class, 'slds-button') and text() = '{}']", | ||
"header": "//h1//div[contains(@class, 'entityNameTitle') and contains(text(),'{}')]", | ||
}, | ||
"link": "//a[contains(text(),'{}')]", | ||
"id": "//input[@type='text' and @inputmode='decimal' and @step='0.01']", | ||
"button-with-text": "//button[contains(text(),'{}')]", | ||
"error_locator": "//div[@class='INVALID']//lightning-formatted-number[contains(text(),'-')]", | ||
} | ||
""" Locators for Spring '21 """ | ||
|
||
from locators_52 import outboundfundsnpsp_lex_locators | ||
import copy | ||
|
||
outboundfundsnpsp_lex_locators = copy.deepcopy(outboundfundsnpsp_lex_locators) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
# Summer '21 locators | ||
outboundfundsnpsp_lex_locators = { | ||
"app_launcher": { | ||
"view_all_button": "//button[text()='View All']", | ||
"app_link": "//p[contains(@title,'{}')]", | ||
"app_link_search_result": "//mark[contains(text(),'{}')]", | ||
"search_input": "//input[contains(@placeholder,'Search apps or items...')]", | ||
}, | ||
"new_record": { | ||
"label": "//label[text()='{}']", | ||
"title": "//h2[contains(@class, 'inlineTitle') and text()='{}']", | ||
"field_label": "//div[./*/*[text()='{}']]", | ||
"edit_title": "//h2[contains(@class, 'title') and text()='{}']", | ||
"list": "//div[contains(@class,'forcePageBlockSectionRow')]/div[contains(@class,'forcePageBlockItem')]/div[contains(@class,'slds-hint-parent')]/div[@class='slds-form-element__control']/div[.//span[text()='{}']][//div[contains(@class,'uiMenu')]//a[@class='select']]", | ||
"text_field": "//div[contains(@class, 'uiInput')][.//label[contains(@class, 'uiLabel')][.//span[text()='{}']]]//*[self::input or self::textarea]", | ||
"dropdown_field": "//lightning-combobox[./label[text()='{}']]/div//input[contains(@class,'combobox__input')]", | ||
"dropdown_popup": "//div[contains(@class, 'slds-dropdown-trigger')]/div[contains(@class, 'slds-listbox')]", | ||
"dropdown_value": "//div[contains(@class,'slds-listbox')]//lightning-base-combobox-item//span[text()='{}']", | ||
"dd_selection": "//lightning-base-combobox-item[@data-value='{}']", | ||
"button": "//button[contains(@class, 'slds-button') and text()='{}']", | ||
"lookup_field": "//div[contains(@class, 'autocompleteWrapper')]//input[@title='{}']", | ||
"lightning_lookup": "//label[text()='{}']/following-sibling::div//input", | ||
"lookup_value": "//div[contains(@class, 'listContent')]//div[contains(@class, 'slds-truncate') and @title='{}']", | ||
"checkbox": "//div[contains(@class,'uiInputCheckbox')]/label/span[text()='{}']/../following-sibling::input[@type='checkbox']", | ||
"field_input": '//label[text()="{}"]/following-sibling::div//*[self::input or self::textarea]', | ||
"date_field": "//div[contains(@class,'slds-dropdown-trigger')][./label[text()='{}']]/div/input", | ||
"select_date": "//div[contains(@class,'uiDatePickerGrid')]/table[@class='calGrid']//*[text()='{}']", | ||
"text-field": "//label/span[text()='{}']/../following-sibling::input", | ||
"footer_button": "//lightning-button//button[text()='{}']", | ||
}, | ||
"confirm": { | ||
"check_value": "//div[contains(@class, 'forcePageBlockItem') or contains(@class, 'slds-form-element_stacked')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]//*[text()='{}']", | ||
"check_status": "//div[contains(@class, 'field-label-container')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]/span//lightning-formatted-text[text()='{}']", | ||
"check_numbers": "//div[contains(@class, 'field-label-container')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]/span//lightning-formatted-number[text()='{}']", | ||
}, | ||
"tab": { | ||
"tab_header": "//a[@class='slds-tabs_default__link' and text()='{}']", | ||
"record_detail_tab": "//a[contains(@data-label,'{}')]", | ||
"verify_header": "//div[contains(@class, 'entityNameTitle')]", | ||
"verify_details": "//div[contains(@class, 'slds-form-element')][.//span[text()='{}']]//following-sibling::div[.//span[contains(@class, 'test-id__field-value')]]/span", | ||
}, | ||
"related": { | ||
"title": '//div[contains(@class, "slds-card")]/header[.//span[@title="{}"]]', | ||
"button": "//div[contains(@class, 'forceRelatedListSingleContainer')][.//img][.//span[@title='{}']]//a[@title='{}']", | ||
"count": "//tbody/tr/td[1]", | ||
"flexi_button": "//div[@lst-listviewmanagerheader_listviewmanagerheader][.//span[@title='{}']]//lightning-button//button[text()='{}']", | ||
"flexi_link": "//a//span[contains(text(),'{}')]", | ||
}, | ||
"details": { | ||
"button": "//button[contains(@class, 'slds-button') and text() = '{}']", | ||
"header": "//h1//div[contains(@class, 'entityNameTitle') and contains(text(),'{}')]", | ||
}, | ||
"link": "//a[contains(text(),'{}')]", | ||
"id": "//input[@type='text' and @inputmode='decimal' and @step='0.01']", | ||
"button-with-text": "//button[contains(text(),'{}')]", | ||
"error_locator": "//div[@class='INVALID']//lightning-formatted-number[contains(text(),'-')]", | ||
} |