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

Merge master into feature/unmanaged-test-experiment #62

Open
wants to merge 6 commits into
base: feature/unmanaged-test-experiment
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ robot/CCI-Food-Bank/results/

# Misc
.DS_Store

# Omnistudio Files
vlocity-temp
VlocityBuildErrors.log
VlocityBuildLog.yaml
.sf
27 changes: 16 additions & 11 deletions cumulusci.yml
Original file line number Diff line number Diff line change
@@ -1,35 +1,30 @@
minimum_cumulusci_version: "3.1.0"
minimum_cumulusci_version: 3.1.0
project:
name: CCI-Food-Bank
package:
name: CumulusCI Food Bank Demo
namespace: ccifb1
api_version: "47.0"
api_version: '47.0'
source_format: sfdx
git:
repo_url: "https://github.com/SFDO-Tooling/CCI-Food-Bank"

repo_url: https://github.com/SFDO-Tooling/CCI-Food-Bank
sources:
omni:
github: https://github.com/SalesforceFoundation/omni-cci

tasks:
robot:
options:
suites: robot/CCI-Food-Bank/tests
options:
outputdir: robot/CCI-Food-Bank/results

robot_testdoc:
options:
path: robot/CCI-Food-Bank/tests
output: robot/CCI-Food-Bank/doc/CCI-Food-Bank_tests.html

deploy_qa:
class_path: cumulusci.tasks.salesforce.Deploy
options:
path: unpackaged/config/qa

flows:
config_qa:
steps:
Expand All @@ -43,7 +38,14 @@ flows:
flow: dev_org
4:
flow: omni:install_omnistudio

test_omni:
steps:
1:
flow: omni_org
2:
task: vlocity_pack_deploy
options:
job_file: job.yaml
orgs:
scratch:
trial:
Expand All @@ -52,13 +54,16 @@ orgs:
config_file: orgs/omni.json
setup_flow: omni_org
days: 7

test_omni:
config_file: orgs/omni.json
setup_flow: test_omni
days: 7
plans:
install:
slug: install
title: Install CCI Food Bank
tier: primary
is_listed: True
is_listed: true
steps:
1:
flow: install_prod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<SharingRules xmlns="http://soap.sforce.com/2006/04/metadata"/>

Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<SharingRules xmlns="http://soap.sforce.com/2006/04/metadata"/>

3 changes: 3 additions & 0 deletions job.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
projectPath: vlocity
queries:
- FlexCard
52 changes: 52 additions & 0 deletions vlocity/FlexCard/test/test.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"dataSource": {
"contextVariables": [],
"orderBy": {},
"type": null,
"value": {}
},
"enableLwc": true,
"isFlex": true,
"selectableMode": "Multi",
"states": [
{
"conditions": {
"group": [],
"id": "state-condition-object",
"isParent": true
},
"definedActions": {
"actions": []
},
"fields": [],
"isSmartAction": false,
"name": "Active",
"smartAction": {},
"styleObject": {
"class": "slds-card slds-p-around_x-small slds-m-bottom_x-small",
"container": {
"class": "slds-card"
},
"margin": [
{
"size": "x-small",
"type": "bottom"
}
],
"padding": [
{
"size": "x-small",
"type": "around"
}
],
"size": {
"default": "12",
"isResponsive": false
},
"sizeClass": "slds-size_12-of-12"
}
}
],
"theme": "slds",
"title": "test"
}
25 changes: 25 additions & 0 deletions vlocity/FlexCard/test/test_DataPack.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"AuthorName": "test",
"ClonedFromOmniUiCardKey": "",
"DataSourceConfig": {
"contextVariables": [],
"orderBy": {},
"type": null,
"value": {}
},
"Description": "",
"IsTrackingEnabled": false,
"Name": "test",
"Namespace": "",
"OmniUiCardKey": "test/test/1.0",
"OmniUiCardType": "Parent",
"OverrideKey": "",
"PropertySetConfig": "test.json",
"SampleDataSourceResponse": "",
"StylingConfiguration": "",
"UniqueName": "",
"VersionNumber": 1,
"VlocityDataPackType": "SObject",
"VlocityRecordSObjectType": "OmniUiCard",
"VlocityRecordSourceKey": "OmniUiCard/test"
}