Hello,
I am trying to run local test via CircleCI config file over the circleci servers. For that I have installed the Wordpress and codeception but when I run the codeception scripts over circleci server via config file I get an error when executing the run command for the file. I want to get rid of error message for when I click on an element from my codeception script file and then assert text on the subsequent page. I am fairly new to the project and setting up all by my self, please help me understand.
Below is my config file section related to the codeception:
run:
name: Build Codecept path: /var/www/html/wp-content/plugins/wc-vendors command: ./vendor/bin/codecept build - run: name: create functional named directory path: /var/www/html/wp-content/plugins/wc-vendors/tests command: mkdir functional - run: name: create unit named directory path: /var/www/html/wp-content/plugins/wc-vendors/tests command: mkdir unit - run: mkdir test-reports - run: name: Download Chrome Driver command: curl -O https://chromedriver.storage.googleapis.com/90.0.4430.24/chromedriver_linux64.zip - run: name: Extract Chrome Zip command: jar xf chromedriver_linux64.zip - run: name: Start Chromedriver command: chromedriver --url-base=/wd/hub background: true - run: sleep 10 - run: name: Actual Test Script execution path: /var/www/html/wp-content/plugins/wc-vendors command: ./vendor/bin/codecept run tests/acceptance/AdminloginCest.php
Thanks for the help in advance.
Attaching the error image - Screenshot by Lightshot