From e498036bc1468e1dc5842e32d90a69682e07759d Mon Sep 17 00:00:00 2001 From: Rajab Natshah <rajabn@gmail.com> Date: Sun, 3 Dec 2017 17:48:16 +0200 Subject: [PATCH] Issue #2928092: Changed Browser in [behat.varbase.yml, and .travis.yml] to work with selenium on [Travis-ci] --- tests/features/bootstrap/SelectorsContext.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/features/bootstrap/SelectorsContext.php b/tests/features/bootstrap/SelectorsContext.php index 94c34f93..c9e7f142 100644 --- a/tests/features/bootstrap/SelectorsContext.php +++ b/tests/features/bootstrap/SelectorsContext.php @@ -111,9 +111,9 @@ class SelectorsContext extends RawDrupalContext implements SnippetAcceptingConte } /** - * @BeforeScenario + * @BeforeStep @javascript */ - public function registorSelectors(BeforeScenarioScope $scope) { + public function registerSelectors() { $selectorHandler = $this->getSession()->getSelectorsHandler()->getSelector('named'); @@ -123,7 +123,7 @@ class SelectorsContext extends RawDrupalContext implements SnippetAcceptingConte $selectorHandler->registerNamedXpath($name, $css->translateToXPath($selector)); } - // Registor selector name for all XPath selectors. + // Register selector name for all XPath selectors. foreach ($this->xpathSelectors as $name => $selector) { $selectorHandler->registerNamedXpath($name, $selector); } -- GitLab