/**
   * This method contains the steps for the test case: Verify that the pagination text field in the
   * table of the resource does not accepted alphabetic values.
   */
  @Test
  public void verifyResourcePaginationInvalid() {

    LoginPage login = new LoginPage(driver);

    HomePage homePage = login.setCredentials().clickSignInButton();

    ResourcePage resource = homePage.selectResourcesLink();

    resource.setPaginationTextField(invalidPage);

    String actualPage = resource.getPaginationTextField();

    Assert.assertEquals(expectedPage, actualPage, errorMessage);
  }
  /**
   * This method performs the test case: Verify if is possible create a Out-Of-Order with correct
   * values("From" field is less than "To").
   */
  @Test
  public void verifyOutOfOrderNotSavedWithInvalidTimes() {
    LoginPage login = new LoginPage(driver);
    HomePage adminHome = login.clickSignInButton();

    ConferenceRoomPage conferenceRoom = adminHome.selectConferenceRoomsLink();

    OutOfOrderPage outOfOrderPage =
        conferenceRoom
            .doubleClickOnRoom(roomSelected)
            .clickOnOutOfOrderPlanning()
            .clickBottomArrowStartHourToField()
            .clickBottomArrowStartHourToField()
            .setDescription(setDescription)
            .clickSaveButtonOutOfOrder();
    isPresentErrorMessage = outOfOrderPage.errorMessageToGreaterFrom();

    Assert.assertTrue(isPresentErrorMessage, msgError);
  }