sealights-protractor-plugin
v3.0.10
Published
Sealights Protractor integration plugin
Downloads
334
Readme
Sealights Protractor Plugin
This is the sealights plugin for Protractor.
⚠️ Important notice about Protractor's deprecation
The Protractor test framework has been officially deprecated by the Angular team and reached end-of-life in Summer 2023. To learn more, read the formal announcement on the Angular blog.
sealights-protractor-plugin remains maintained, but any issues that originate from the Protractor framework itself will not be fixed. Consider migrating to a modern, actively supported end-to-end testing solution.
Install
npm install sealights-protractor-pluginUsage
In your config file add the sealights plugin
plugins: [{
package: 'sealights-protractor-plugin',
},
...
]Passing parameters to reporter via CLI
From the command line add sealights parameters with '--sl-' prefix
protractor protractor.conf.js --sl-tokenfile <path/to/token-file> --sl-buildsessionidfile <path/to/buildSessionId-file> --sl-testStage e2eSupported parameters
- token - Sealights token
- tokenFile - Path to file contains the Sealights token
- buildSessionId - Sealights build session id
- buildSessionIdFile - Path to file contains the Sealights build session id
- testStage - Test stage current tests are relates to
- labId - Pre-defined Sealights lab-id (optional)
- proxy - Proxy server (optional)
- testProjectId - Test project ID differentiates between different test stages with the same test stage name of different teams/products/etc.
- targetTestProjectId - Test project ID to set for PR builds. The target test-project-id will be used to the statistical-model used for recommendations.
Author
Sealights
