File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
java/test/org/openqa/selenium/grid/data Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,31 @@ void fullMatch() {
6767 assertThat (slotMatcher .matches (stereotype , capabilities )).isTrue ();
6868 }
6969
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+
7095 @ Test
7196 void fullMatchWithTestMetadata () {
7297 Capabilities stereotype =
You can’t perform that action at this time.
0 commit comments