Exemple #1
0
        public void ThenConfirm_Display_By_(string elementName, string expectedValue, string tag)
        {
            var elementSelector = ElementSelectorOnPageObjects.GetElementSelectorOnTwitchPageObjects(elementName);
            var actual          = CommonController.ConfirmElementTextIncludeExpectedValue(elementSelector, expectedValue, tag);

            if (!actual)
            {
                var gg = DateTime.Now.ToString("MMddHHmmss.ffff");
                CommonController.SnapShotProcess($"[{gg}]_RESULT_IsTrue(FALSE)");
            }
            Assert.IsTrue(actual);
        }