Skip to content

Commit dc875b6

Browse files
committed
wip
1 parent c8bfe98 commit dc875b6

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ This repo contains samples for running [WebdriverIO](https://webdriver.io/) test
66
## Setup
77

88
* Clone the repo `git clone https://github.com/browserstack/browserstack-webdriverio-load-testing-sample.git`.
9-
* Set `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` as environment variables with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
9+
* Open the browserstack-load.yaml file and update it with the relevant load test configurations.(https://www.browserstack.com/accounts/settings)
1010
* Run `npm i` to install the dependencies.
1111
* Update the same in `browserstack-load.yaml` file.
1212

1313
## Running your tests
1414

15-
- To run the sample tests in parallel across the platforms specified in the `browserstack-load.yaml`, run `npx browserstack-cli load run`.
15+
- To run the sample tests in parallel across the platforms specified in the `browserstack-load.yaml`, Run the given command to start your test: `npx browserstack-cli load run`.
1616

1717
## Notes
18-
* You can view your test results on the [BrowserStack Load-Testing dashboard](https://load.browserstack.com/projects)
18+
* You can view your test results on the [BrowserStack Load Testing dashboard](https://load.browserstack.com/projects)

browserstack-load.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,13 @@ files:
4848
- wdio.conf.js
4949

5050
# Specify environment variabls in the following manner.
51+
# sources:
52+
# - path/to/env/file
5153
# env:
5254
# - name: variable1
5355
# value: value1
5456
# - name: variable2
5557
# value: value2
5658

59+
# Set 'headless' to false to run tests in headful mode. This option is supported only when testType is set to WebdriverIO or Playwright.
60+
headless: false

0 commit comments

Comments
 (0)