예제 #1
0
        public async Task addRealm()
        {
            await LoginHelper.AMloginAsyncSuccess("admin", "123456");

            string realmName = "realmtest" + rnd.Next(100000);
            await AMRealmHelper.addRealm(realmName);

            Assert.IsTrue(AMRealmHelper.checkRealmExist(realmName), "Realm " + realmName + " not Exist");
            Assert.IsTrue(AMRealmHelper.checkRealmIsActive(realmName), "Realm " + realmName + " is not active");
            await LoginHelper.AMlogOutAsync();
        }
예제 #2
0
        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();
        }