[java] Changing tests to follow atom changes
import static org.assertj.core.api.Assertions.assertThat;
import static org.junit.Assume.assumeFalse;
+import static org.openqa.selenium.testing.TestUtilities.isFirefox;
import static org.openqa.selenium.testing.drivers.Browser.ALL;
import static org.openqa.selenium.testing.drivers.Browser.CHROME;
import static org.openqa.selenium.testing.drivers.Browser.CHROMIUMEDGE;
import static org.openqa.selenium.testing.drivers.Browser.HTMLUNIT;
import static org.openqa.selenium.testing.drivers.Browser.IE;
import static org.openqa.selenium.testing.drivers.Browser.SAFARI;
-import static org.openqa.selenium.testing.TestUtilities.isChrome;
import org.junit.Test;
import org.openqa.selenium.environment.webserver.Page;
@@ -420,7 +420,7 @@ public void canHandleTextThatLooksLikeANumber() {
public void canHandleTextTransformProperty() {
driver.get(pages.simpleTestPage);
assertThat(driver.findElement(By.id("capitalized")).getText())
- .isEqualTo(isChrome(driver) ? "Hello, World! Bla-Bla-BLA" : "Hello, World! Bla-bla-BLA");
+ .isEqualTo(isFirefox(driver) ? "Hello, World! Bla-bla-BLA" : "Hello, World! Bla-Bla-BLA");
assertThat(driver.findElement(By.id("lowercased")).getText())
.isEqualTo("hello, world! bla-bla-bla");
assertThat(driver.findElement(By.id("uppercased")).getText())
