Based on our slack discussion @Luc45. This PR allows us to specify the results for the e2e tests using a RESULT_DIR env var.
Testing instructions
Checkout this branch
Run the following command and confirm that the results gets added to a temporary directory.
php ./src/qit-cli.php run:e2e woocommerce-amazon-s3-storage ./<e2e-directory>
Run the following command and confirm that the results get added to the directory specified.
RESULTS_DIR="./results" php ./src/qit-cli.php run:e2e woocommerce-amazon-s3-storage ./<e2e-directory>
Based on our slack discussion @Luc45. This PR allows us to specify the results for the e2e tests using a
RESULT_DIR
env var.Testing instructions
php ./src/qit-cli.php run:e2e woocommerce-amazon-s3-storage ./<e2e-directory>
RESULTS_DIR="./results" php ./src/qit-cli.php run:e2e woocommerce-amazon-s3-storage ./<e2e-directory>