@ubox-tools/deploy-xperience 1.1.14 → 1.1.15
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.
- package/deploy.js +3 -3
- package/package.json +1 -1
package/deploy.js
CHANGED
|
@@ -608,9 +608,6 @@ async function configureParameters(page, params) {
|
|
|
608
608
|
|
|
609
609
|
console.log(` [params] Creating ${toCreate.length} new parameter(s) (${existingKeys.length} already exist)...`);
|
|
610
610
|
|
|
611
|
-
// Accept any confirm() dialogs that Save triggers
|
|
612
|
-
page.on('dialog', async d => { await d.accept(); });
|
|
613
|
-
|
|
614
611
|
await clickByText(page, 'Edit', 'button');
|
|
615
612
|
await sleep(1000);
|
|
616
613
|
|
|
@@ -1133,6 +1130,9 @@ async function main() {
|
|
|
1133
1130
|
const state = {};
|
|
1134
1131
|
|
|
1135
1132
|
try {
|
|
1133
|
+
// Always accept any confirm() dialogs the studio may show during deployment
|
|
1134
|
+
page.on('dialog', async d => { await d.accept(); });
|
|
1135
|
+
|
|
1136
1136
|
// Phase 1 — Login
|
|
1137
1137
|
await login(page, email, password);
|
|
1138
1138
|
|
package/package.json
CHANGED