public void OpenDraggablePage()
        {
            _sideBarPage.NavigateTo();
            _sideBarPage.DraggableButton.Click();

            _draggablePage.TextAsserter("Draggable", _draggablePage.HeaderMessage);
        }
        public void OpenRegistrationPage()
        {
            _sideBarPage.NavigateTo();
            _sideBarPage.RegistrationButton.Click();

            _registrationPage.ValidationTextAsserter("Registratio", _registrationPage.HeaderMessage);
        }
        public void OpenResizablePage()
        {
            _sideBarPage.NavigateTo();
            _sideBarPage.ResizableButton.Click();

            Assert.IsTrue(_resizablePage.HeaderMessage.Displayed);
            Assert.AreEqual("Resizable", _resizablePage.HeaderMessage.Text);
        }
        public void OpenDroppablePage()
        {
            _sideBarPage.NavigateTo();
            _sideBarPage.DroppableButton.Click();

            Assert.IsTrue(_droppablePage.HeaderMessage.Displayed);
            _droppablePage.TextAsserter("Droppable", _droppablePage.HeaderMessage);
        }
示例#5
0
        public void OpenSelectablePage()
        {
            _sideBarPage.NavigateTo();
            _sideBarPage.SelectableButton.Click();

            Assert.IsTrue(_selectablePage.HeaderMessage.Displayed);
            Assert.AreEqual("Selectable", _selectablePage.HeaderMessage.Text);
        }
示例#6
0
        public void OpenTooltipPage()
        {
            //Arrange
            _sideBarPage.NavigateTo();

            //Act
            _sideBarPage.DatepickerButton.Click();

            //Assert
            _datepickerPage.HeaderMessage.Displayed.Should().BeTrue();
            _datepickerPage.HeaderMessage.Text.Should().Be("Tooltip");
        }