Skip to content

Latest commit

 

History

History
32 lines (21 loc) · 1.79 KB

File metadata and controls

32 lines (21 loc) · 1.79 KB

CodeceptJS-Playwright-Browserstack

Integrating Playwright Node.js and CodeceptJS Node.js with BrowserStack BrowserStack

Setup

  • Clone the repo git clone https://github.com/browserstack/codecept-js-playwright-browserstack.git.
  • Run cd codecept-js-playwright-browserstack.
  • Install dependencies npm install

Running your tests

  • To run the sample tests in parallel across the platforms specified in the browserstack.yml, run npm run sample-test.
  • To run the sample local tests in parallel across the platforms specified in the browserstack.yml, run npm run sample-local-test.

Notes

  • You can export the environment variables for the Username and Access Key of your BrowserStack account.

    export BROWSERSTACK_USERNAME=<browserstack-username> &&
    export BROWSERSTACK_ACCESS_KEY=<browserstack-access-key>
    
  • You can view your test results on the BrowserStack Automate dashboard

  • Understand how many parallel sessions you need by using our Parallel Test Calculator

Addtional Resources