Skip to content
This repository has been archived by the owner on Nov 17, 2017. It is now read-only.

Commit

Permalink
two tests for slider fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
ppitonak committed Dec 17, 2012
1 parent f25891d commit e5ea19e
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -187,7 +187,7 @@ public void testDisabled() {
inputNumberSliderAttributes.set(InputNumberSliderAttributes.disabled, Boolean.TRUE);

AttributeLocator<?> disabledAttribute = input.getAttribute(new Attribute("disabled"));
assertEquals(selenium.getAttribute(disabledAttribute), "true", "Input should be disabled.");
assertEquals(selenium.getAttribute(disabledAttribute), "disabled", "Input should be disabled.");

assertFalse(selenium.isElementPresent(handle), "Handle should not be present on the page.");

Expand All @@ -201,7 +201,7 @@ public void testEnableManualInput() {
inputNumberSliderAttributes.set(InputNumberSliderAttributes.enableManualInput, Boolean.FALSE);

AttributeLocator<?> readonlyAttribute = input.getAttribute(new Attribute("readonly"));
assertEquals(selenium.getAttribute(readonlyAttribute), "true", "Input should be read-only.");
assertEquals(selenium.getAttribute(readonlyAttribute), "readonly", "Input should be read-only.");

testClick();
}
Expand Down

0 comments on commit e5ea19e

Please sign in to comment.