Update browserstack.yml#47
Open
tanzirulkhan980-a11y wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
=============================
Set BrowserStack Credentials
=============================
Add your BrowserStack userName and accessKey here or set BROWSERSTACK_USERNAME and
BROWSERSTACK_ACCESS_KEY as env variables
userName: moksedulhasan_231xCg
accessKey: G8Spdrf1B4UCE8qp7pgy
======================
BrowserStack Reporting
======================
The following capabilities are used to set up reporting on BrowserStack:
Set 'projectName' to the name of your project. Example, Marketing Website
projectName: BrowserStack Samples
Set
buildNameas the name of the job / testsuite being runbuildName: browserstack build
buildIdentifieris a unique id to differentiate every execution that gets appended tobuildName. Choose your buildIdentifier format from the available expressions:
${BUILD_NUMBER} (Default): Generates an incremental counter with every execution
${DATE_TIME}: Generates a Timestamp with every execution. Eg. 05-Nov-19:30
Read more about buildIdentifiers here -> https://www.browserstack.com/docs/automate/selenium/organize-tests
buildIdentifier: '#${BUILD_NUMBER}' # Supports strings along with either/both ${expression}
Set
frameworkof your test suite. Example,testng,cucumber,cucumber-testngThis property is needed to send test context to BrowserStack (test name, status)
framework: testng
source: testng:appium-sample-sdk:v1.1
app: ios/BStackSampleApp.ipa
#app: ./LocalSample.ipa #For running local tests
=======================================
Platforms (Browsers / Devices to test)
=======================================
Platforms object contains all the browser / device combinations you want to test on.
Entire list available here -> (https://www.browserstack.com/list-of-browsers-and-platforms/automate)
platforms: ios
osVersion: 18
platformName: ios
osVersion: 18
platformName: ios
osVersion: 18
platformName: ios
=======================
Parallels per Platform
=======================
The number of parallel threads to be used for each platform set.
BrowserStack's SDK runner will select the best strategy based on the configured value
Example 1 - If you have configured 3 platforms and set
parallelsPerPlatformas 2, a total of 6 (2 * 3) parallel threads will be used on BrowserStackExample 2 - If you have configured 1 platform and set
parallelsPerPlatformas 5, a total of 5 (1 * 5) parallel threads will be used on BrowserStackparallelsPerPlatform: 1
==========================================
BrowserStack Local
(For localhost, staging/private websites)
==========================================
Set browserStackLocal to true if your website under test is not accessible publicly over the internet
Learn more about how BrowserStack Local works here -> https://www.browserstack.com/docs/automate/selenium/local-testing-introduction
browserstackLocal: true # (Default false)
#browserStackLocalOptions:
#Options to be passed to BrowserStack local in-case of advanced configurations
localIdentifier: # (Default: null) Needed if you need to run multiple instances of local.
forceLocal: true # (Default: false) Set to true if you need to resolve all your traffic via BrowserStack Local tunnel.
Entire list of arguments available here -> https://www.browserstack.com/docs/automate/selenium/manage-incoming-connections
===================
Debugging features
===================
debug: false # # Set to true if you need screenshots for every selenium command ran
networkLogs: false # Set to true to enable HAR logs capturing
consoleLogs: errors # Remote browser's console debug levels to be printed (Default: errors)
Available options are
disable,errors,warnings,info,verbose(Default: errors)