Exemple #1
0
        public void Test5_AddAndDeleteRoom()
        {
            Rooms rooms = new Rooms(selenium);

            rooms.Add(secretRoom, true);
            Assert.IsTrue(rooms.IsPresented(secretRoom));
            Assert.IsTrue(rooms.IsAllowed(secretRoom));
            rooms.Remove(secretRoom);
            Assert.IsFalse(rooms.IsPresented(secretRoom));
            rooms.Logout();
        }
Exemple #2
0
        public void Test7_NoRoomsDuplicates()
        {
            Rooms rooms = new Rooms(selenium);

            rooms.Add(secretRoom, true);
            rooms.GoBack();
            rooms.Add(secretRoom, false);
            rooms.Remove(secretRoom);
            Assert.IsFalse(rooms.IsPresented(secretRoom));
            rooms.Logout();
        }
 public void Test7_NoRoomsDuplicates()
 {
     Rooms rooms = new Rooms(selenium);
     rooms.Add(secretRoom, true);
     rooms.GoBack();
     rooms.Add(secretRoom, false);
     rooms.Remove(secretRoom);
     Assert.IsFalse(rooms.IsPresented(secretRoom));
     rooms.Logout();
 }
 public void Test5_AddAndDeleteRoom()
 {
     Rooms rooms = new Rooms(selenium);
     rooms.Add(secretRoom, true);
     Assert.IsTrue(rooms.IsPresented(secretRoom));
     Assert.IsTrue(rooms.IsAllowed(secretRoom));
     rooms.Remove(secretRoom);
     Assert.IsFalse(rooms.IsPresented(secretRoom));
     rooms.Logout();
 }