{"id":22870874,"url":"https://github.com/percona-lab/codeceptjs-saucehelper","last_synced_at":"2025-07-14T01:09:02.657Z","repository":{"id":57202270,"uuid":"169545444","full_name":"Percona-Lab/codeceptjs-saucehelper","owner":"Percona-Lab","description":"CodeceptJS Sauce Labs helpers, to update Test Names, Test Results after test execution ","archived":false,"fork":false,"pushed_at":"2019-08-27T07:38:35.000Z","size":70,"stargazers_count":2,"open_issues_count":1,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-05T22:16:09.967Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Percona-Lab.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-07T09:12:42.000Z","updated_at":"2019-09-26T10:08:04.000Z","dependencies_parsed_at":"2022-09-17T00:51:13.631Z","dependency_job_id":null,"html_url":"https://github.com/Percona-Lab/codeceptjs-saucehelper","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fcodeceptjs-saucehelper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fcodeceptjs-saucehelper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fcodeceptjs-saucehelper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Percona-Lab%2Fcodeceptjs-saucehelper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Percona-Lab","download_url":"https://codeload.github.com/Percona-Lab/codeceptjs-saucehelper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584334,"owners_count":21771945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-13T13:16:28.503Z","updated_at":"2025-05-05T22:16:18.528Z","avatar_url":"https://github.com/Percona-Lab.png","language":"JavaScript","readme":"# codeceptjs-saucehelper\nCodeceptJS Sauce Labs helpers, to update Test Names, Test Results after execution \n\ncodeceptjs-saucehelper is [CodeceptJS](https://codecept.io/) helper which is to complete tests results on Sauce Labs after execution. The helper allows to update test name and\ntest results on sauce labs using the `_passed` and `_failed` hooks accessible in the helper.\n\nNPM package: https://www.npmjs.com/package/codeceptjs-saucehelper\n\n### Configuration\n\nThis helper should be added in codecept.json/codecept.conf.js\n\nExample:\n\n```json\n{\n   \"helpers\": {\n     \"SauceHelper\": {\n      \"require\": \"codeceptjs-saucehelper\"\n    },\n   }\n}\n```\nYour Sauce Labs user and key are now accessed from the WebDriver/Appium configuration to minimise duplication.\n\n### SauceLabs Automated Build Dashboard\n\nTo create SauceLabs Automated Build dashboard, you'd need to pass the unique `build` id. You can pass the unique `build` through process environment variable,\n\n```bash\n\n    $ SAUCE_BUILD=\u003cyour_build\u003e \u003ctest_command\u003e\n    \n```\n\ne.g. SAUCE_BUILD=`'date'`\n\n### Development\n\nCode quality and functionality are checked with ESlint (`npm run lint`) and Jest (`npm run test`). The tests use [`nock`][1] to check that appropriate requests are made to the Sauce Labs API given the configuration and the outcome of the test.\n\n  [1]: https://www.npmjs.com/package/nock\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Fcodeceptjs-saucehelper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpercona-lab%2Fcodeceptjs-saucehelper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpercona-lab%2Fcodeceptjs-saucehelper/lists"}