{"id":20618123,"url":"https://github.com/applitools/example-cypress-javascript","last_synced_at":"2025-04-15T11:36:49.955Z","repository":{"id":66340003,"uuid":"525935020","full_name":"applitools/example-cypress-javascript","owner":"applitools","description":"Applitools Example: Cypress in JavaScript","archived":false,"fork":false,"pushed_at":"2024-04-25T14:22:00.000Z","size":536,"stargazers_count":2,"open_issues_count":0,"forks_count":16,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-03-28T19:37:58.923Z","etag":null,"topics":["applitools","applitools-example","applitools-eyes","applitools-tutorial","cypress","javascript","test-automation","tutorial","ultrafast-grid","visual-testing"],"latest_commit_sha":null,"homepage":"https://applitools.com/tutorials/quickstart/web/cypress","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","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":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-08-17T19:54:52.000Z","updated_at":"2023-11-27T21:15:02.000Z","dependencies_parsed_at":"2023-02-23T04:00:55.998Z","dependency_job_id":"dc1570a5-6eea-4ac9-8add-e5f9546b4165","html_url":"https://github.com/applitools/example-cypress-javascript","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%2Fexample-cypress-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-cypress-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-cypress-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/applitools%2Fexample-cypress-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/applitools","download_url":"https://codeload.github.com/applitools/example-cypress-javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249061691,"owners_count":21206545,"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":["applitools","applitools-example","applitools-eyes","applitools-tutorial","cypress","javascript","test-automation","tutorial","ultrafast-grid","visual-testing"],"created_at":"2024-11-16T12:07:12.306Z","updated_at":"2025-04-15T11:36:49.925Z","avatar_url":"https://github.com/applitools.png","language":"JavaScript","readme":"# Applitools Example: Cypress in JavaScript\n\nThis is the example project for the [Cypress JavaScript tutorial](https://applitools.com/tutorials/quickstart/web/cypress).\nIt shows how to start automating visual tests\nwith [Applitools Eyes](https://applitools.com/platform/eyes/)\nand [Cypress](https://www.cypress.io/) in JavaScript.\n\nIt uses:\n\n* [JavaScript](https://www.javascript.com/) as the programming language\n* [Cypress](https://www.cypress.io/) for browser automation\n* [Google Chrome](https://www.google.com/chrome/downloads/) as the local browser for testing\n* [npm](https://www.npmjs.com/) for dependency management\n* [Applitools Eyes](https://applitools.com/platform/eyes/) for visual testing\n* [Applitools Ultrafast Grid](https://applitools.com/platform/ultrafast-grid/) for cross-browser execution\n\nTo run this example project, you'll need:\n\n1. An [Applitools account](https://auth.applitools.com/users/register), which you can register for free\n2. [Node.js](https://nodejs.org/en/download/) version 16 or higher\n3. A good JavaScript editor like [Visual Studio Code](https://code.visualstudio.com/docs/languages/javascript)\n4. Up-to-date versions of the following browsers:\n   * [Google Chrome](https://www.google.com/chrome/)\n   * [Mozilla Firefox](https://www.mozilla.org/en-US/firefox/new/)\n   * [Microsoft Edge](https://www.microsoft.com/en-us/edge)\n\nTo install project dependencies and set up Applitools Eyes, run:\n\n```\nnpm install\nnpx eyes-setup\n```\n\nThe Applitools config file is [`applitools.config.js`](applitools.config.js).\nThe main test spec is [`acme-bank.spec.js`](cypress/integration/acme-bank.spec.js).\n\nTo execute tests, set the `APPLITOOLS_API_KEY` environment variable\nto your [account's API key](https://applitools.com/tutorials/guides/getting-started/registering-an-account).\n\nThen, to open the Cypress window for launching tests, run:\n\n```\nnpx cypress open\n```\n\nIf you want to run tests directly from the command line, run this instead:\n\n```\nnpx cypress run\n```\n\n**For full instructions on running this project, take our\n[Cypress JavaScript tutorial](https://applitools.com/tutorials/quickstart/web/cypress)!**\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-cypress-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapplitools%2Fexample-cypress-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapplitools%2Fexample-cypress-javascript/lists"}