Sauce Labs
To install the Sauce Labs plugin, see Upload plugin section.
Add the Sauce Labs integration
Configure the integration with Sauce Labs to watch a video of test executions in the our centralized test automation tool.
Admin, Manager, and user with edit permissions can create/edit/delete Sauce Labs integration.
User with view permissions can only view the list of available integrations.
Global Sauce Labs integration
To configure Sauce Labs for the whole instance:
- Log in to ReportPortal as Admin.
- Navigate to Instance plugins page.
- Click on "Sauce Labs" panel.
- Click "Add integration" button.
- Fill and confirm the authorization form.
- Click "Create" button.
`User name`: <host_name_of_email_server>
`Access token`: <your access token>
`Data center`: <Europe, USA>
Project Sauce Labs integration
If any project needs different Sauce Labs configuration, you can add a project configuration. This means that when a new global integration is added to our test automation results dashboard, it will no longer be applied to this project.
For that,
- Log in to ReportPortal as Admin, Manager, or user with edit permissions.
- Go to the Project settings -> Integrations tab.
- Click on "Sauce Labs" panel.
- Click on "Add Project integration" button.
- Fill and confirm the authorization form.
How to use the Sauce Labs integration
Before using this feature, you should report test results to ReportPortal with the attribute: SLID: XXXXXXXX.
Where: SLID = Sauce Labs ID and XXXXXXXX = # of job in Sauce Labs
The SLID: XXXXXXXX attribute links the execution in ReportPortal and a job in Sauce Labs. If a test item has attribute SLID: XXXXXXXX, and there is a global or project integration with Sauce Labs, a user will be able to view a video from Sauce Labs for the appropriate job in ReportPortal on a log view.