mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[affected:*][ci:force] Wrong setting page
This commit is contained in:
@@ -102,7 +102,6 @@ export class SettingsPage {
|
|||||||
await this.setSilentLogin(silentLogin);
|
await this.setSilentLogin(silentLogin);
|
||||||
await this.setCodeFlow(false);
|
await this.setCodeFlow(false);
|
||||||
await this.setImplicitFlow(implicitFlow);
|
await this.setImplicitFlow(implicitFlow);
|
||||||
await this.setCodeFlow(codeFlow);
|
|
||||||
await this.setClientId(clientId);
|
await this.setClientId(clientId);
|
||||||
await this.setLogoutUrl(logoutUrl);
|
await this.setLogoutUrl(logoutUrl);
|
||||||
await this.clickApply();
|
await this.clickApply();
|
||||||
@@ -135,7 +134,7 @@ export class SettingsPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async setSilentLogin(enableToggle) {
|
async setSilentLogin(enableToggle) {
|
||||||
await BrowserVisibility.waitUntilElementIsVisible(this.silentLoginToggleButton);
|
await BrowserVisibility.waitUntilElementIsVisible(this.silentLoginToggleElement);
|
||||||
|
|
||||||
const isChecked = (await BrowserActions.getAttribute(this.silentLoginToggleElement, 'class')).includes(materialLocators.Checked.root);
|
const isChecked = (await BrowserActions.getAttribute(this.silentLoginToggleElement, 'class')).includes(materialLocators.Checked.root);
|
||||||
|
|
||||||
@@ -145,7 +144,7 @@ export class SettingsPage {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async setImplicitFlow(enableToggle) {
|
async setImplicitFlow(enableToggle) {
|
||||||
await BrowserVisibility.waitUntilElementIsVisible(this.implicitFlowButton);
|
await BrowserVisibility.waitUntilElementIsVisible(this.implicitFlowElement);
|
||||||
|
|
||||||
const isChecked = (await BrowserActions.getAttribute(this.implicitFlowElement, 'class')).includes(materialLocators.Checked.root);
|
const isChecked = (await BrowserActions.getAttribute(this.implicitFlowElement, 'class')).includes(materialLocators.Checked.root);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user