sfdx-browserforce-plugin 2.8.1 → 2.8.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -34,6 +34,7 @@ class DeferSharingCalculation extends plugin_1.BrowserforcePlugin {
|
|
|
34
34
|
await page.click(button);
|
|
35
35
|
if (!config.suspend) {
|
|
36
36
|
const refreshedPage = await this.browserforce.openPage(PATHS.BASE);
|
|
37
|
+
await page.waitForSelector(SELECTORS.RECALCULATE_BUTTON);
|
|
37
38
|
await refreshedPage.click(SELECTORS.RECALCULATE_BUTTON);
|
|
38
39
|
}
|
|
39
40
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/plugins/defer-sharing-calculation/index.ts"],"names":[],"mappings":";;;AAAA,yCAAkD;AAElD,MAAM,KAAK,GAAG;IACZ,IAAI,EAAE,6BAA6B;CACpC,CAAC;AACF,MAAM,SAAS,GAAG;IAChB,cAAc,EAAE,4BAA4B;IAC5C,aAAa,EAAE,2BAA2B;IAC1C,kBAAkB,EAAE,2BAA2B;CAChD,CAAC;AAMF,MAAa,uBAAwB,SAAQ,2BAAkB;IAC7D,6DAA6D;IACtD,KAAK,CAAC,QAAQ,CAAC,UAAmB;QACvC,MAAM,IAAI,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAC1D,MAAM,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,cAAc,CAAC,CAAC;QACrD,MAAM,IAAI,CAAC,eAAe,CAAC,SAAS,CAAC,aAAa,CAAC,CAAC;QAEpD,MAAM,iBAAiB,GAAG,MAAM,IAAI,CAAC,KAAK,CACxC,SAAS,CAAC,cAAc,EACxB,CAAC,EAAoB,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,CACtC,CAAC;QACF,MAAM,gBAAgB,GAAG,MAAM,IAAI,CAAC,KAAK,CACvC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,CAAC;YACzD,MAAM,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,kBAAkB,CAAC,CAAC;SACzD;IACH,CAAC;CACF;AAtCD,0DAsCC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"2.8.
|
|
1
|
+
{"version":"2.8.2","commands":{"browserforce:apply":{"id":"browserforce:apply","description":"apply a plan from a definition file","usage":"<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx browserforce:apply -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Applying definition file ./config/setup-admin-login-as-any.json to org myOrg@example.com\n [Security] retrieving state... done\n [Security] changing 'loginAccessPolicies' to '{\"administratorsCanLogInAsAnyUser\":true}'... done\n logging out... done\n "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values."},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file"},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file"}},"args":[]},"browserforce:plan":{"id":"browserforce:plan","description":"retrieve state and generate plan file","usage":"<%= command.id %> [-f <string>] [-p <string>] [-s <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]","pluginName":"sfdx-browserforce-plugin","pluginType":"core","aliases":[],"examples":["$ sfdx browserforce:plan -f ./config/setup-admin-login-as-any.json --targetusername myOrg@example.com\n logging in... done\n Generating plan with definition file ./config/setup-admin-login-as-any.json from org myOrg@example.com\n [Security] retrieving state... done\n [Security] generating plan... done\n logging out... done\n "],"flags":{"json":{"name":"json","type":"boolean","description":"format output as json","allowNo":false},"loglevel":{"name":"loglevel","type":"option","description":"logging level for this command invocation","required":false,"helpValue":"(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)","options":["trace","debug","info","warn","error","fatal","TRACE","DEBUG","INFO","WARN","ERROR","FATAL"],"default":"warn"},"targetusername":{"name":"targetusername","type":"option","char":"u","description":"username or alias for the target org; overrides default target org"},"apiversion":{"name":"apiversion","type":"option","description":"override the api version used for api requests made by this command"},"definitionfile":{"name":"definitionfile","type":"option","char":"f","description":"path to a browserforce definition file\nThe schema is similar to the scratch org definition file.\nSee https://github.com/amtrack/sfdx-browserforce-plugin#supported-org-preferences for supported values."},"planfile":{"name":"planfile","type":"option","char":"p","description":"path to a browserforce plan file"},"statefile":{"name":"statefile","type":"option","char":"s","description":"path to a browserforce state file"}},"args":[]}}}
|