public void ExecuteTest_CloseTopMenu() { TopMenu topMenuInstance = mainPageInstance.MoveToTopMenu(); wait.Until((d) => topMenuInstance.IsOpened()); Thread.Sleep(1000); Actions act = new Actions(driver); act.MoveByOffset(0, 200).Build().Perform(); Thread.Sleep(10000); Assert.IsFalse(topMenuInstance.IsOpened()); }
public void ExecuteTest_OpenTopMenu() { TopMenu topMenuInstance = mainPageInstance.MoveToTopMenu(); Assert.IsTrue(topMenuInstance.IsOpened()); }