Skip to content
This repository was archived by the owner on Oct 10, 2021. It is now read-only.
This repository was archived by the owner on Oct 10, 2021. It is now read-only.

Need to update saucelabs job info after test otherwise saucelabs won't work #288

@yf-hk

Description

@yf-hk

Currently if we use zuul + saucelabs to test, regardless if all tests pass or not, saucelabs always show an unknown barge.

See this project to prove:
https://github.com/algolia/faux-jax

After tried many time, I have found the reason. Here is the reason from saucelabs' documentation:

All you have to do is add either markdown or HTML code to your GitHub README or project site that references your Sauce Labs username and access key, and annotate your tests with the REST or WebDriver API.

What we need here is to use saucelabs api to update the job with an 'passed' field to indicate whether the test has passed on client site and it must be updated explicitly during a separate API call.
And here is how karma-runner module did it:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions