Skip to content

Conversation

MihirR-BS
Copy link
Contributor

Adding_Support_for_sample_repo for webdriverIO

Support_for_sample_repo
@MihirR-BS MihirR-BS requested a review from a team as a code owner September 19, 2025 08:50
khushisardhara
khushisardhara previously approved these changes Sep 19, 2025
anupam-s-20
anupam-s-20 previously approved these changes Sep 19, 2025
Copy link

@anupam-s-20 anupam-s-20 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

README.md Outdated
* Clone the repo `git clone https://github.com/browserstack/browserstack-webdriverio-load-testing-sample.git`.
* Set `BROWSERSTACK_USERNAME` and `BROWSERSTACK_ACCESS_KEY` as environment variables with your [BrowserStack Username and Access Key](https://www.browserstack.com/accounts/settings)
* Run `npm i` to install the dependencies.
* Update the same in `browserstack-load.yaml` file.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Open the browserstack-load.yaml file and update it with the relevant load test configurations.

README.md Outdated

## Running your tests

- To run the sample tests in parallel across the platforms specified in the `browserstack-load.yaml`, run `npx browserstack-cli load run`.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run the given command to start your test: npx browserstack-cli load run

README.md Outdated
- To run the sample tests in parallel across the platforms specified in the `browserstack-load.yaml`, run `npx browserstack-cli load run`.

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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can view your test results on the BrowserStack Load Testing dashboard

- wdio.conf.js

# Specify environment variabls in the following manner.
# env:
Copy link

@VaishaliYadavBrowserStack VaishaliYadavBrowserStack Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use the new env structure:

Screenshot 2025-09-22 at 12 50 43 PM

# value: value1
# - name: variable2
# value: value2

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

headless: false

# ======================
# The following parameters are used to set load configuration for your test:
# Set 'testType' to the type of load test that you want to execute. Example:'Playwright', 'Selenium'. This is a required parameter.
testType: WebdriverIO

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@MihirR-BS What is the value that needs toe be passed here?
WebdriverIO or Webdriverio (coming from this thread)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can have it like anything unless it means webdriverio since we are doing smallcase and sending it to BE

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the thread you're referring to is about the dashboard
where in we show testtype in results page

@SaranshBS SaranshBS merged commit 83c5fe4 into main Oct 1, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants