public async Task deleteRealm() { await LoginHelper.AMloginAsyncSuccess("admin", "123456"); string realmName = "realmtest" + rnd.Next(100000); //await AMRealmHelper.addRealm(realmName); await AMRealmHelper.deleteRealm("realmtest37012"); Assert.IsFalse(AMRealmHelper.checkRealmExist(realmName), "Realm " + realmName + " is not deleted"); await LoginHelper.AMlogOutAsync(); }
public async Task updateActiveRealm() { await LoginHelper.AMloginAsyncSuccess("admin", "123456"); string realmName = "realmtest" + rnd.Next(100000); await AMRealmHelper.addRealm(realmName); Assert.IsTrue(AMRealmHelper.checkRealmExist(realmName), "Realm " + realmName + " not Exist"); await AMRealmHelper.updateRealm(realmName); Assert.IsFalse(AMRealmHelper.checkRealmIsActive(realmName), "Realm " + realmName + " is active"); await AMRealmHelper.deleteRealm(realmName); }
public async Task addRealmSameName() { await LoginHelper.AMloginAsyncSuccess("admin", "123456"); string realmName = "realmtest" + rnd.Next(100000); await AMRealmHelper.addRealm(realmName); await AMRealmHelper.addRealmSameName(realmName); await AMRealmHelper.deleteRealm(realmName); await LoginHelper.AMlogOutAsync(); }