Skip to content

Commit

Permalink
Ignoring tests that fail on MacOS due to alternative keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
barancev committed Nov 11, 2014
1 parent 6da62ec commit 5fe712f
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
import org.junit.Test;
import org.openqa.selenium.By;
import org.openqa.selenium.Keys;
import org.openqa.selenium.Platform;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.WebElement;
import org.openqa.selenium.support.Color;
Expand Down Expand Up @@ -227,6 +228,9 @@ public void testSelectionSelectByWord() {
assumeTrue(
"Test fails with native events enabled, likely due to issue 4385",
!TestUtilities.isFirefox(driver) || !TestUtilities.isNativeEventsEnabled(driver));
assumeFalse(
"MacOS has alternative keyboard",
TestUtilities.getEffectivePlatform().is(Platform.MAC));

driver.get(pages.javascriptPage);

Expand All @@ -253,6 +257,9 @@ public void testSelectionSelectAll() {
assumeTrue(
"Test fails with native events enabled, likely due to issue 4385",
!TestUtilities.isFirefox(driver) || !TestUtilities.isNativeEventsEnabled(driver));
assumeFalse(
"MacOS has alternative keyboard",
TestUtilities.getEffectivePlatform().is(Platform.MAC));

driver.get(pages.javascriptPage);

Expand Down

0 comments on commit 5fe712f

Please sign in to comment.