From 76a4a32fcb53c563a94ef4b4b2e02f89acab2b7a Mon Sep 17 00:00:00 2001 From: Neha Agarwal Date: Thu, 23 Mar 2023 16:42:00 +0530 Subject: [PATCH] Made parallel test as default --- README.md | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index 66a8624..2074fe1 100644 --- a/README.md +++ b/README.md @@ -17,32 +17,14 @@ BROWSERSTACK_USERNAME="BROWSERSTACK_USERNAME" BROWSERSTACK_ACCESS_KEY="BROWSERSTACK_ACCESS_KEY" URL="https://hub.browserstack.com/wd/hub" ``` -- Change the capabilities if you wish: -(For single test session, Navigate to ./scripts/single.py) -```python -desired_cap = { - ... - 'browserName': 'iPhone', - 'device': 'iPhone 11', - 'realMobile': 'true', - 'os_version': '14.0', - 'name': 'BStack-[Python] Sample Test', # test name - 'build': 'BStack Build Number 1' # CI/CD job or build name - ... -} -``` - Run tests - a. For single + a. For parallel ``` - python3 ./scripts/single.py + python3 ./scripts/parallel.py ``` b. For local ``` python3 ./scripts/local.py ``` - c. For parallel - ``` - python3 ./scripts/parallel.py - ```