File tree 1 file changed +25
-0
lines changed
java/test/org/openqa/selenium/grid/data
1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,31 @@ void fullMatch() {
67
67
assertThat (slotMatcher .matches (stereotype , capabilities )).isTrue ();
68
68
}
69
69
70
+ @ Test
71
+ void fullMatchExtensionCaps () {
72
+ Capabilities stereotype =
73
+ new ImmutableCapabilities (
74
+ CapabilityType .BROWSER_NAME ,
75
+ "firefox" ,
76
+ CapabilityType .PLATFORM_NAME ,
77
+ Platform .WINDOWS ,
78
+ "se:downloadsEnabled" ,
79
+ true ,
80
+ "moz:debuggerAddress" ,
81
+ "127.0.0.1:34959" );
82
+ Capabilities capabilities =
83
+ new ImmutableCapabilities (
84
+ CapabilityType .BROWSER_NAME ,
85
+ "firefox" ,
86
+ CapabilityType .PLATFORM_NAME ,
87
+ Platform .WINDOWS ,
88
+ "se:downloadsEnabled" ,
89
+ true ,
90
+ "moz:debuggerAddress" ,
91
+ true );
92
+ assertThat (slotMatcher .matches (stereotype , capabilities )).isTrue ();
93
+ }
94
+
70
95
@ Test
71
96
void fullMatchWithTestMetadata () {
72
97
Capabilities stereotype =
You can’t perform that action at this time.
0 commit comments