{"id":20618138,"url":"https://github.com/applitools/applitools-webdriverio-githubactions","last_synced_at":"2026-06-06T15:31:00.435Z","repository":{"id":52903876,"uuid":"357848249","full_name":"applitools/Applitools-Webdriverio-GithubActions","owner":"applitools","description":null,"archived":false,"fork":false,"pushed_at":"2021-04-14T14:16:00.000Z","size":65,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-01-17T04:47:36.675Z","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":"2021-04-14T09:28:07.000Z","updated_at":"2023-08-20T09:20:44.000Z","dependencies_parsed_at":"2022-08-23T16:01:00.785Z","dependency_job_id":null,"html_url":"https://github.com/applitools/Applitools-Webdriverio-GithubActions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FApplitools-Webdriverio-GithubActions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FApplitools-Webdriverio-GithubActions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FApplitools-Webdriverio-GithubActions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2FApplitools-Webdriverio-GithubActions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/Applitools-Webdriverio-GithubActions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242277648,"owners_count":20101535,"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-11-16T12:07:14.882Z","updated_at":"2025-03-06T19:43:14.640Z","avatar_url":"https://github.com/applitools.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Applitools-Wedriverio-Hackathon\n\n## Pre-Requisites\n1.  Install ChromeDriver from [here](https://chromedriver.chromium.org/downloads) if you are running on mac, you can also install it using the brew,\n   simply run ```brew install chromedriver```\n   -   Please check to make sure your google chrome browser is the same version as the chromedriver you install\n       1)  Open chrome and navigate to chrome://settings/help\n       2)  Check your version!\n        ![YourChromeVersion](https://user-images.githubusercontent.com/21107409/96691179-3ecef880-138d-11eb-84a3-cd52106944c6.png)\n       1)  Download the compatible chriomeDriver version:  [here](https://chromedriver.chromium.org/downloads)\n    \n2. Register to Applitools and [create an account](https://auth.applitools.com/users/register)  \n3. Ensure you have your Applitools API Key\n\n\n## Hackathon Overview\nImagine you wrote tests for the [1st Version of the App (V1)](https://demo.applitools.com/hackathon.html)\n\nThen Next [Version (V2)](https://demo.applitools.com/hackathonV2.html) came along later and has changes. (including bugs) \nSome of these bugs are functional bugs, and some of are visual bugs. \n\n### The Challenge\nWrite an automated test for both versions which leverages Applitools.\nRun both a traditional test (provided), and the new test you wrote.\nCompare the results.\n\n### Instructions\n\n1) Review Traditional Script (provided) \nTraditionalTestSuite has been provided to you, as we assume you have already written these scripts before.\nAnalyze them, make sure they are ok, and feel free to add any additional coverage/lines of code you see fit.\n\n2) Run the test suite against both Version 1 and Version 2.\nYou are going to find a lot of failures in Version 2. (changes have been made, including bugs)\n\n3) Review the scripts again, and review how many assertions and locators required to cover all the elements in the page.\n\n4) Open the VisualAISuite and set your ApiKey in string 'conf.setApiKey(\"...\")' (or comment the string and set APPLITOOLS_API_KEY environment variable).\n\n5) Run the same test again and see all the differences between the screenshots of the 1st version and the 2nd version of the app.\n\nNote: When you run the tests against V2, you’ll see differences in screenshots because the app is actually different. \nYou should see exactly what those differences are (highlighted in pink) in Applitools dashboard. \n\n## Running the example:\n 1. Download the example\n    * Option 1: `git clone https://github.com/applitools/Applitools-Webdriverio-Hackathon.git`\n    * Option 2: Download it as a Zip file and extract it\n    \n 2. Run the Project inside Visual Studio Code\n   \n### In order to run the tests from commandLine:\n   1. Open a commandLine window\n   \n   2. Navigate to the recently cloned folder Applitools-WDIO-Hackathon.\n   \n   3.  `npm ci` or `yarn install`\n\n   4. Run one of the following commands from the terminal:\n\n    Run the Traditional Test Suite on Version 1\n    \n        -    npm run TraditionalTestSuiteV1\n\n    Run the Traditional Test Suite on Version 2\n        \n        -    npm run TraditionalTestSuiteV2\n        \n    Run the VisualAISuite Test Suite on Version 1\n        \n        -   npm run VisualAISuiteV1\n        \n    Run the VisualAISuite Test Suite on Version 2\n            \n        -   npm run VisualAISuiteV2\n   \n## To see the full solution \n  \n    Run the VisualAISuiteFullSolution Test Suite on Version 1\n            \n        -    npm run VisualAISuiteSolutionV1\n        \n    Run the VisualAISuiteFullSolution Test Suite on Version 2\n                \n        -   npm run VisualAISuiteSolutionV2\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fapplitools-webdriverio-githubactions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Fapplitools-webdriverio-githubactions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fapplitools-webdriverio-githubactions/lists"}