File tree Expand file tree Collapse file tree
java/test/org/openqa/selenium/remote Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818package org .openqa .selenium .remote ;
1919
20- import static org .assertj .core .api .Assertions .assertThat ;
21-
2220import com .google .common .collect .ImmutableMap ;
2321
2422import org .junit .Test ;
3432import java .util .concurrent .ConcurrentHashMap ;
3533import java .util .logging .Level ;
3634
35+ import static org .assertj .core .api .Assertions .assertThat ;
36+
3737@ Category (UnitTests .class )
3838public class DesiredCapabilitiesTest {
3939
@@ -97,7 +97,7 @@ public void shouldAutomaticallyConvertPlatformFromStringToEnum() {
9797 DesiredCapabilities caps = new DesiredCapabilities ();
9898 caps .setCapability (CapabilityType .PLATFORM , "windows 7" );
9999 assertThat (caps .getCapability (CapabilityType .PLATFORM )).isEqualTo (Platform .VISTA );
100- caps .setCapability (CapabilityType .PLATFORM , "WIN8_1 " );
100+ caps .setCapability (CapabilityType .PLATFORM , "win8.1 " );
101101 assertThat (caps .getCapability (CapabilityType .PLATFORM )).isEqualTo (Platform .WIN8_1 );
102102 }
103103
You can’t perform that action at this time.
0 commit comments