Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove test setup manual step #143

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
- Add "Create New Flow" shortcut
- Update pop-up release note link to github pages
- Detect SObject on listview page [feature 121](https://github.com/tprouvot/Salesforce-Inspector-reloaded/issues/121) (idea by [Mehdi Cherfaoui](https://github.com/mehdisfdc))
- Automate test setup manual step of contact to multiple accounts [aidan](https://github.com/aimaj)

# Version 1.19

Expand Down
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -111,9 +111,8 @@ Linting : to assure indentation, formatting and best practices coherence, please

1. Set up an org (e.g. a Developer Edition) and apply the following customizations:
1. Everything described in metadata in `test/`. Push to org with `sfdx force:source:deploy -p test/ -u [your-test-org-alias]`
2. Ensure _Allow users to relate a contact to multiple accounts_ is enabled (Setup→Account Settings)
3. Ensure the org has no _namespace prefix_ (Setup→Package Manager)
4. Assign PermissionSet SfInspector
2. Ensure the org has no _namespace prefix_ (Setup→Package Manager)
3. Assign PermissionSet SfInspector
2. Navigate to one of the extension pages and replace the file name with `test-framework.html`, for example `chrome-extension://example/test-framework.html?host=example.my.salesforce.com`.
3. Wait until "Salesforce Inspector unit test finished successfully" is shown.
4. If the test fails, open your browser's developer tools console to see error messages.
Expand Down
6 changes: 5 additions & 1 deletion test/main/default/package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,9 @@
<members>SalesforceInspectorTest</members>
<name>ApexClass</name>
</types>
<version>47.0</version>
<types>
<members>Account</members>
<name>Settings</name>
</types>
<version>58.0</version>
</Package>
4 changes: 4 additions & 0 deletions test/main/default/settings/Account.settings-meta.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<AccountSettings xmlns="http://soap.sforce.com/2006/04/metadata">
<enableRelateContactToMultipleAccounts>true</enableRelateContactToMultipleAccounts>
</AccountSettings>