From d926a306532d3d333259f9fbdc63a585730dbb01 Mon Sep 17 00:00:00 2001 From: rajeshkaremane Date: Wed, 17 Jul 2024 14:13:40 +0100 Subject: [PATCH] minor update --- docs/How-to-guides/how-to-acceptance-test.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/How-to-guides/how-to-acceptance-test.md b/docs/How-to-guides/how-to-acceptance-test.md index be61fac..7352711 100644 --- a/docs/How-to-guides/how-to-acceptance-test.md +++ b/docs/How-to-guides/how-to-acceptance-test.md @@ -38,12 +38,18 @@ If custom tags are defined then the pipeline need to be customized to run those ### How to run acceptance test locally? -1. Set required tags, default is empty string which will run all tests. +#### Set required tags, default is empty string which will run all tests - pwsh : `$ENV:TEST_TAGS = "@sanity or @smoke"` - shell: `export TEST_TAGS = "@sanity or @smoke"` -2. Run the acceptance test script under scripts folder within the repo. +#### Run the acceptance test script under scripts folder within the repo + +```shell +docker-compose up -d +cd test/acceptance +docker-compose run --rm wdio-cucumber +``` ### How to customize your pipeline to run acceptace tests?