{"id":20618004,"url":"https://github.com/applitools/testresultshandler-js","last_synced_at":"2026-04-18T22:04:10.610Z","repository":{"id":40729636,"uuid":"234907297","full_name":"applitools/TestResultsHandler-JS","owner":"applitools","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-30T19:30:07.000Z","size":438,"stargazers_count":0,"open_issues_count":10,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-06T19:44:17.018Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/applitools.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-19T13:45:06.000Z","updated_at":"2021-12-06T12:43:07.000Z","dependencies_parsed_at":"2023-01-31T14:31:24.022Z","dependency_job_id":null,"html_url":"https://github.com/applitools/TestResultsHandler-JS","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/applitools/TestResultsHandler-JS","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FTestResultsHandler-JS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FTestResultsHandler-JS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FTestResultsHandler-JS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FTestResultsHandler-JS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/TestResultsHandler-JS/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FTestResultsHandler-JS/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31986327,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"ssl_error","status_checked_at":"2026-04-18T20:23:29.375Z","response_time":103,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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-11-16T12:06:46.656Z","updated_at":"2026-04-18T22:04:10.566Z","avatar_url":"https://github.com/applitools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ApplitoolsTestResultsHandler - Javascript/TypeScript\n### v2.0.3\n\nThe Applitools Test Results Handler extends the capabilities of TestResults with additional API calls.\nWith these additional API calls you will be able to retrieve additional details at the end of the test.\n\nNote: The Test Results Handler requires your account View Key - which can be found in the admin panel. Contact Applitools support at support@applitools.com if you need further assistance retrieving it.\n\n## The images that can be downloaded are:\n\n- The test baseline image - Unless specified, the images will be downloaded to the working directory.\n\n- The actual images - Unless specified, the images will be downloaded to the working directory.\n\n- The images with the differences highlighted - Unless specified, the images will be downloaded to the working directory.\n\n- Get the status of each step [Missing, Unresolved, Passed, New]\n\n### How to use the tool:\n\n#### To initialize the Handler:\n\n###### Without Runner\n\n```javascript\nlet results = await eyes.close(false);\nconst handler= new ApplitoolsTestResultHandler(results, applitoolsViewKey);\n```\n\n###### With Runner\n```javascript\nconst allTestResults = await runner.getAllTestResults(false);\n\nfor (result of allTestResults) {\n  const handler = new ApplitoolsTestResultHandler(result.getTestResults(), applitoolsViewKey);\n\n  await handler.downloadImages(downloadDir, 'diff'); // Example\n}\n```\n\n##### **downloadDiffs** -  Downloading the test images with the highlighted detected differences to a given directory. In case of New, Missing or passed step no image will be downloaded.\n```javascript\nhandler.downloadImages(downloadDir, 'diff')\n```\n\n##### **downloadBaselineImages** -  Downloading the test baseline images to a given directory\n```javascript\nhandler.downloadImages(downloadDir, 'baseline');\n```\n\n##### **downloadCurrentImages** -  Downloading the test current image to a given directory.\n```javascript\nhandler.downloadImages(downloadDir, 'current');\n```\n\n# Further regarding:\n\nGetting Diff Images Manually - http://support.applitools.com/customer/portal/articles/2457891\nGetting Current/Baseline Images Manually - http://support.applitools.com/customer/portal/articles/2917372\nExtend API features with EyesUtilities - http://support.applitools.com/customer/portal/articles/2913152\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Ftestresultshandler-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Ftestresultshandler-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Ftestresultshandler-js/lists"}