This documentation provides you, how to run or trigger your PreFlight tests from Jenkins.
clientId (required) : Your Client ID. You can get it from Account Settings > API under your PreFlight account.
clientSecret (required) : Your Client Secret. You can get it from Account Settings > API under your PreFlight account.
testId (optional) : Pass the Test Id to run. If test id or group id are not passed all the tests will be run.
groupId (optional) : Pass the Group Id to run. If test id or group id are not passed all the tests will be run. You can get it from Test Settings > Groups under your PreFlight account.
environmentId (optional) : Environment ID for your test group. You can get it from Test Settings > Environments under your PreFlight account.
platforms (optional) : Platforms and browsers you want to run your PreFlight tests.
- Example usage
win-chrome - You can pass more than one browser option. Ex.
win-chrome, win-firefox - Platform options :
win - Browser options :
chrome,ie,edge,firefox
sizes (optional) : Size you want to run your PreFlight tests.
- Example usage. (WidthxHeight)
1440x900 - You can pass more than one size option. Ex.
1920x1080, 1440x900 - Size options :
1920x1080, 1440x900, 1024x768, 480x640
captureScreenshots (optional) : Enables taking screenhots of the each step.
waitResults (optional) : If you set it as true, your build waits your PreFlight test results.