@@ -262,11 +262,11 @@ public void driversCanBeConfigured() {
262262 "[node]" ,
263263 "detect-drivers = false" ,
264264 "[[node.driver-configuration]]" ,
265- "name = \" Chrome Beta\" " ,
265+ "display- name = \" Chrome Beta\" " ,
266266 "max-sessions = 1" ,
267267 String .format ("stereotype = \" %s\" " , chromeCaps .toString ().replace ("\" " , "\\ \" " )),
268268 "[[node.driver-configuration]]" ,
269- "name = \" Firefox Nightly\" " ,
269+ "display- name = \" Firefox Nightly\" " ,
270270 "max-sessions = 2" ,
271271 String .format ("stereotype = \" %s\" " , firefoxCaps .toString ().replace ("\" " , "\\ \" " ))
272272 };
@@ -309,14 +309,14 @@ public void driversConfigNeedsStereotypeField() {
309309 "[node]" ,
310310 "detect-drivers = false" ,
311311 "[[node.driver-configuration]]" ,
312- "name = \" Chrome Beta\" " ,
312+ "display- name = \" Chrome Beta\" " ,
313313 "max-sessions = 2" ,
314314 "cheese = \" paipa\" " ,
315315 "[[node.driver-configuration]]" ,
316- "name = \" Firefox Nightly\" " ,
316+ "display- name = \" Firefox Nightly\" " ,
317317 "max-sessions = 2" ,
318318 "cheese = \" sabana\" " ,
319- };
319+ };
320320 Config config = new TomlConfig (new StringReader (String .join ("\n " , rawConfig )));
321321
322322 List <Capabilities > reported = new ArrayList <>();
@@ -340,10 +340,10 @@ public void maxSessionsFieldIsOptionalInDriversConfig() {
340340 "[node]" ,
341341 "detect-drivers = false" ,
342342 "[[node.driver-configuration]]" ,
343- "name = \" Chrome Beta\" " ,
343+ "display- name = \" Chrome Beta\" " ,
344344 "stereotype = '{\" browserName\" : \" chrome\" }'" ,
345345 "[[node.driver-configuration]]" ,
346- "name = \" Firefox Nightly\" " ,
346+ "display- name = \" Firefox Nightly\" " ,
347347 "stereotype = '{\" browserName\" : \" firefox\" }'" ,
348348 };
349349 Config config = new TomlConfig (new StringReader (String .join ("\n " , rawConfig )));
0 commit comments