browserstack / webdriverio-browserstack

Selenium examples for WebDriverIO and BrowserStack Automate
https://www.browserstack.com
68 stars 93 forks source link

update, adding bstack service, improvements #36

Closed SaranshBS closed 2 years ago

SaranshBS commented 2 years ago

This PR:

  1. Solves the iOS "session not started" issue
  2. Uses @wdio/browserstack-service for local testing
  3. Uses @wdio/browserstack-service for auto rest api status based on assertions
  4. Uses @wdio/browserstack-service for auto setting up session names
  5. Updates all outdated modules
  6. Removes extra code
  7. Uses w3c caps
  8. Updates readme for local testing flow
SaranshBS commented 2 years ago

Also a Suggestion: Whenever a new build is triggered, we should provide a new build name.

For CI platforms like jenkins/ GOCD, we do the same e.g.: Appending the Date to the build name to get a unique build name each time. We show Poor integration - previously used build name warning in dashboard if user re-uses same build name.

Also, for parallel tests, all 4 tests have the same name - do we want to use a unique meaningful name here for each session to encourage good naming? image

it should a job for wdio, not the sample using it