예제 #1
0
        public void AutoComplete()
        {
            _widgets.ScrollTo(_widgets.AutoCompleateButton).Click();

            _widgets.WriteColorRed(_widgets.SingleColorName);
            var redColor = _widgets.SelectedColor.WrappedElement.Text;

            _widgets.WriteColorGreen(_widgets.SingleColorName);
            var greenColor = _widgets.SelectedColor.WrappedElement.Text;

            _widgets.WriteColorRedAgain(_widgets.SingleColorName);
            var tirdColor = _widgets.SelectedColor.WrappedElement.Text;

            _widgets.AssertColorsList(redColor, greenColor, tirdColor);
        }