示例#1
0
        public void CanAddMessageToListAndVerify()
        {
            webDriver.Navigate().GoToUrl(baseUrl);

            var homePage = new HomePage(webDriver);

            var message = "This is a test";

            Thread.Sleep(5000);

            homePage.AddMessage(message);

            Thread.Sleep(10000);

            Assert.True(homePage.IsMessageAppearToList(message));
        }