Skip to content

Commit 5915002

Browse files
authored
Merge pull request #742 from amtrack/chore/update-cpq-package
fix(CPQ): refine locator for save button Allow vs. Deny
2 parents faed0dc + e1989e5 commit 5915002

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

scripts/develop.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,9 @@ _main() {
3838
--set-default \
3939
${POSITIONAL_ARGS[@]}
4040
if [[ "${CPQ}" == "true" ]]; then
41-
# Salesforce CPQ (SBQQ) 252.3.0.1
42-
sf package install --package "04t6T000000t6QXQAY" --no-prompt --wait 30
41+
# Salesforce CPQ (SBQQ) 260.2
42+
# https://install.steelbrick.com/
43+
sf package install --package "04tKh000001zrocIAA" --no-prompt --wait 30
4344
fi
4445
}
4546

src/plugins/salesforce-cpq-config/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const GENERATE_INTEGRATION_USER_PERMISSIONS_SELECTOR =
99
'input[name="page:form:pb:j_id185:j_id197:setupIntegrationUserPermissions"]';
1010
const SAVE_SELECTOR = 'input[name="page:form:j_id2:j_id3:j_id11"]';
1111
const AUTHORIZE_NEW_CALCULATION_SERVICE_SELECTOR = 'span#page\\:form\\:pb\\:calculatorOptions\\:j_id201\\:j_id203 a';
12-
const ALLOW_SELECTOR = 'input[name="save"]';
12+
const ALLOW_SELECTOR = 'input[name="save"][id!="oadeny"]';
1313

1414
export type Config = any;
1515

0 commit comments

Comments
 (0)