Ejemplo n.º 1
0
        public void _06_TouchedInActive()
        {
            indexPage = new IndexPage(Driver);
            indexPage.MoveToActive();
            var activeList = indexPage.UnCompletedTasksList.ToList();
            var completedList = indexPage.CompletedTasksList.ToList();
            bool result = true;
            foreach (var al in activeList)
            {
                foreach (var cl in completedList)
                {
                    if (al.Text == cl.Text)
                        result = false;
                }
            }

            Assert.AreEqual(result, true);
        }
Ejemplo n.º 2
0
 public void _11_ToggleAll()
 {
     List<IWebElement> list = indexPage.CompletedTasksList.ToList();
     indexPage = new IndexPage(Driver);
     indexPage.ToggleAll.Click();
     indexPage.MoveToActive();
     Assert.AreEqual(CountOfUncompletedTasks(), 0);
 }