refactor(app-config): rename allowCustomConnection as customConnectionAllowed

This commit is contained in:
Ali BARIN
2024-10-09 12:03:57 +00:00
committed by Faruk AYDIN
parent 0bbe362660
commit 73edb45ff7
9 changed files with 17 additions and 12 deletions

View File

@@ -8,11 +8,15 @@ export class AdminApplicationSettingsPage extends AuthenticatedPage {
constructor(page) {
super(page);
this.allowCustomConnectionsSwitch = this.page.locator('[name="allowCustomConnection"]');
this.allowCustomConnectionsSwitch = this.page.locator(
'[name="customConnectionAllowed"]'
);
this.allowSharedConnectionsSwitch = this.page.locator('[name="shared"]');
this.disableConnectionsSwitch = this.page.locator('[name="disabled"]');
this.saveButton = this.page.getByTestId('submit-button');
this.successSnackbar = this.page.getByTestId('snackbar-save-admin-apps-settings-success');
this.successSnackbar = this.page.getByTestId(
'snackbar-save-admin-apps-settings-success'
);
}
async allowCustomConnections() {