Example #1
0
            public void Echo_ValidateNewSatatusFilter()
            {
                _browser.Navigate(_config.ConfigObject.Echo);
                Auth0LoginPage loginPage    = new Auth0LoginPage(_browser);
                NewsRoomPage   newsRoomPage = loginPage.LoginNewsRoom(_config.ConfigObject.Users.AdminUser);
                EchoPage       echoPage     = new EchoPage(_browser);

                echoPage.ClickOnSatusFilter();
                echoPage = echoPage.ClickOnStatus("New");
                Assert.True(echoPage.ValidateStatusses("New"), "The satatus of the post is wrong");
            }
Example #2
0
            public void Echo_ValidateStatusFilterList()
            {
                var status = _params["StatusList"].AsBsonArray;

                _browser.Navigate(_config.ConfigObject.Echo);
                Auth0LoginPage loginPage    = new Auth0LoginPage(_browser);
                NewsRoomPage   newsRoomPage = loginPage.LoginNewsRoom(_config.ConfigObject.Users.AdminUser);
                EchoPage       echoPage     = new EchoPage(_browser);

                echoPage.ClickOnSatusFilter();
                Assert.True(echoPage.ValidateStatusFilterList(status), "The status in dropdown didn't match the expected result.");
            }