Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbf47c77

Browse files
committed
fix failing tests in pgAdmin_spec
1 parent2de9e1f commitbf47c77

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

‎app/client/cypress/support/Pages/DataSources.ts‎

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,8 +1187,6 @@ export class DataSources {
11871187

11881188
ToggleUsePreparedStatement(enable=true||false){
11891189
this.pluginActionForm.toolbar.toggleSettings();
1190-
1191-
// Determine current checkbox state before toggling to avoid unnecessary actions
11921190
this.agHelper
11931191
.GetElement(this._usePreparedStatement)
11941192
.then(($checkbox)=>$checkbox.is(":checked"))
@@ -1200,29 +1198,20 @@ export class DataSources {
12001198
return;
12011199
}
12021200

1203-
// If already disabled, no modal will appear, so short-circuit here
12041201
if(!isCurrentlyEnabled){
12051202
return;
12061203
}
12071204

1208-
// When disabling, a confirmation modal will appear
1209-
// Break up the chain to avoid DOM detachment issues when modal appears
12101205
this.agHelper.GetElement(this._usePreparedStatement).uncheck({
12111206
force:true,
12121207
});
1213-
1214-
// Small wait for modal to appear
12151208
this.agHelper.Sleep(200);
1216-
1217-
// Wait for and confirm the security warning modal
12181209
this.agHelper.AssertElementVisibility(
12191210
"[data-testid='t--disable-prepared-statement-confirm-button']",
12201211
);
12211212
this.agHelper.GetNClick(
12221213
"[data-testid='t--disable-prepared-statement-confirm-button']",
12231214
);
1224-
1225-
// Wait for modal to close and state to update
12261215
this.agHelper.Sleep(200);
12271216
});
12281217
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp