diff --git a/.circleci/config.yml b/.circleci/config.yml
index ed15e3c438bfe5af4d0860e6868a177d5ddce8bc..d57c1ae4e55756d6ab8fe9a39e0b4d2502aba163 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -18,7 +18,6 @@ jobs:
           MYSQL_DATABASE: test_varbase900xxc
           MYSQL_USER: user
           MYSQL_PASSWORD: passw0rd
-    working_directory: /home/circleci/project/docroot
     steps:
       - checkout
       ## Install PHP extra.
@@ -38,6 +37,11 @@ jobs:
           command: |
             echo -e "memory_limit = -1" | sudo tee /usr/local/etc/php/php.ini > /dev/null
             sudo service apache2 restart
+      - run:
+          name: Disable xdebug PHP extension
+          command: |
+            sudo rm /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini
+            sudo service apache2 restart
 
       ## Waiting for MySQL to be ready.
       - run:
@@ -136,5 +140,5 @@ jobs:
           no_output_timeout: 30m
           command: |
             cd /home/circleci/project/docroot/profiles/varbase
-            ../../../bin/behat tests/features/varbase/step1-init-tests
-            ../../../bin/behat tests/features/varbase/step2-apply-tests
+            behat tests/features/varbase/step1-init-tests
+            behat tests/features/varbase/step2-apply-tests
diff --git a/behat.varbase.yml b/behat.varbase.yml
index a838baa013947c435b3b7f19836438cf0de6fbcf..ffa24fb12e3aad2626a0108ba889db96d999e709 100644
--- a/behat.varbase.yml
+++ b/behat.varbase.yml
@@ -86,7 +86,7 @@ default:
               - "disable-infobars"
               - "js-flags=--expose-gc"
               - "no-sandbox"
-      base_url: 'http://127.0.0.1'
+      base_url: 'http://127.0.0.1/docroot'
       # browser_name: 'firefox'
       browser_name: 'chrome'
       # browser_name: 'phantomjs'