Esempio n. 1
0
        private void VerifyShowFullLessDesignNameAction(bool expectation)
        {
            var visibility = _oneDesign.CheckShowFullLessDesignNameActionLinkVisibility(expectation);

            Assert.IsTrue(visibility);

            if (visibility)
            {
                var isCorrectBehaviors = _oneDesign.CheckShowFullLessDesignNameActionLinkBehaviors(expectation);
                Assert.IsTrue(isCorrectBehaviors);
            }
        }
Esempio n. 2
0
        private void VerifyShowFullLessDesignNameAction(bool expectation)
        {
            var isVisibilityLinkShowLess = _oneDesign.CheckShowFullLessDesignNameActionLinkVisibility(expectation);

            if (isVisibilityLinkShowLess)
            {
                Assert.IsTrue(isVisibilityLinkShowLess);

                var isCorrectBehaviors = _oneDesign.CheckShowFullLessDesignNameActionLinkBehaviors(expectation);
                Assert.IsTrue(isCorrectBehaviors);
            }
            else
            {
                Assert.IsFalse(isVisibilityLinkShowLess);
            }
        }