Esempio n. 1
0
        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());
        }
Esempio n. 2
0
        public void ExecuteTest_OpenTopMenu()
        {
            TopMenu topMenuInstance = mainPageInstance.MoveToTopMenu();

            Assert.IsTrue(topMenuInstance.IsOpened());
        }