Colocate the tests to your repository
git clone git@github.com:gkushang/codeceptjs-e2e.git
cd codeceptjs-e2e
cp -a packages/codeceptjs-cucumber/ <relative_path_to_your_desired_acceptance_folder>
cp packages/codeceptjs-cucumber/codecept.conf.js <relative_path_to_root_of_your_desired_project_or_your_monorepo>
cd <to_your_desired_project>
yarn add codeceptjs-saucelabs codeceptjs-configure @wdio/selenium-standalone-service allure-commandline codeceptjs codeceptjs-selenium debug faker protractor rimraf should webdriverio deepmerge -D
Update the following PATH's in codeceptjs.config.js
with your actual paths,
const RELATIVE_PATH = <relative_path_where_acceptance_folder_exists>
Run existing tests
./node_modules/.bin/codeceptjs run --config=<path_to_codeceptjs.conf.js_file> --grep=@search_results
Launch HTML Report
./node_modules/.bin/allure serve <relative_path_to_report_folder_under_acceptance_folder>