public void Test3_EditComputer() { Computers computers = new Computers(selenium); computers.Clean(secretIP); computers.Add(secretIP); Assert.IsFalse(computers.IsPresented(secretUser)); computers.Edit(secretIP, false, true, secretUser); Assert.IsTrue(computers.IsPresented(secretUser)); Assert.IsTrue(computers.IsBanned(secretIP)); computers.Delete(secretIP); computers.Logout(); }
public void Test3_EditComputer() { Computers computers = new Computers(selenium); computers.Clean(secretIP); computers.Add(secretIP); Assert.IsFalse(computers.IsPresented(secretUser)); computers.Edit(secretIP, false, true, secretUser); Assert.IsTrue(computers.IsPresented(secretUser)); Assert.IsTrue(computers.IsBanned(secretIP)); computers.Delete(secretIP); computers.Logout(); }