Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 3
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();
 }
Exemplo n.º 4
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();
 }