My postman collection tests are executed using newman. It is working fine. Package.json has 2 newman executions using the same collections. First one uses html extra report and creates results in HTML format using hbs template.
Second one is junit report using the same collection. I would like to add wait in between the first and second newman tests. Meaning I want the second suite to be executed after completing the first one. Here is a code snippet from package.json. Thanks.
"testA": “newman run collections/xyx.json -e collections/env.json -r htmlextra --reporter-htmlextra-export results.html --timeout-request 4000 --reporter-htmlextra-template test.hbs”,
"testB-Junit": “newman run collections/xyx.json -e collections/env.json --reporter-junit-export results.xml --reporters cli,junit”,