Exemplo n.º 1
0
        public void DropHereElementChangeColorOfTarget_When_DragAndDropDragMe()
        {
            _demoQA.ScrollTo(_demoQA.Dropable).Click();
            var colorBefore = _demoQA.DropHere.GetCssValue("background-color");

            _demoQA.DropOnTarget(_demoQA.DragMe, _demoQA.DropHere);
            _demoQA.WaitForLoad();
            var colorAfter = _demoQA.DropHere.GetCssValue("background-color");

            _demoQA.DroppedOnTargetColorCheck(colorBefore, colorAfter);
        }
Exemplo n.º 2
0
        public void selectableClickOnList()
        {
            var colorBefore = _demoQA.FirstBox.GetCssValue("color");

            _demoQA.FirstBox.Click();
            var colorAfter = _demoQA.FirstBox.GetCssValue("color");

            _demoQA.DroppedOnTargetColorCheck(colorBefore, colorAfter);
        }