From 6b02ddf2747612a48f7d3861d5bb0367d8923299 Mon Sep 17 00:00:00 2001 From: Christophe Coevoet Date: Sat, 26 Apr 2014 23:45:31 +0200 Subject: [PATCH] Added some missing SauceLabs capabilities Closes #126 --- .../ServiceContainer/Driver/SauceLabsFactory.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Behat/MinkExtension/ServiceContainer/Driver/SauceLabsFactory.php b/src/Behat/MinkExtension/ServiceContainer/Driver/SauceLabsFactory.php index b3a4337..829f4b7 100644 --- a/src/Behat/MinkExtension/ServiceContainer/Driver/SauceLabsFactory.php +++ b/src/Behat/MinkExtension/ServiceContainer/Driver/SauceLabsFactory.php @@ -73,11 +73,22 @@ class SauceLabsFactory extends Selenium2Factory ->scalarNode('platform')->defaultValue('Linux')->end() ->scalarNode('selenium-version')->defaultValue('2.31.0')->end() ->scalarNode('max-duration')->defaultValue('300')->end() + ->scalarNode('command-timeout')->end() + ->scalarNode('idle-timeout')->end() ->scalarNode('build')->info('will be set automatically based on the TRAVIS_JOB_NUMBER environment variable if available')->end() ->arrayNode('custom-data') ->useAttributeAsKey('') ->prototype('variable')->end() ->end() + ->scalarNode('screen-resolution')->end() + ->scalarNode('tunnel-identifier')->end() + ->arrayNode('prerun') + ->children() + ->scalarNode('executable')->isRequired()->end() + ->arrayNode('args')->prototype('scalar')->end()->end() + ->booleanNode('background')->defaultFalse()->end() + ->end() + ->end() ->booleanNode('record-video')->end() ->booleanNode('record-screenshots')->end() ->booleanNode('capture-html')->end()