{"id":22848377,"url":"https://github.com/feedzai/introduction-to-e2e-testing-with-cypress","last_synced_at":"2025-03-31T06:11:31.960Z","repository":{"id":150487735,"uuid":"479351655","full_name":"feedzai/introduction-to-e2e-testing-with-cypress","owner":"feedzai","description":null,"archived":false,"fork":false,"pushed_at":"2022-04-09T13:26:47.000Z","size":198,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":15,"default_branch":"main","last_synced_at":"2025-02-06T10:27:40.076Z","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/feedzai.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,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-08T10:47:12.000Z","updated_at":"2022-04-08T16:46:33.000Z","dependencies_parsed_at":"2023-07-28T23:30:34.929Z","dependency_job_id":null,"html_url":"https://github.com/feedzai/introduction-to-e2e-testing-with-cypress","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/feedzai%2Fintroduction-to-e2e-testing-with-cypress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Fintroduction-to-e2e-testing-with-cypress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Fintroduction-to-e2e-testing-with-cypress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feedzai%2Fintroduction-to-e2e-testing-with-cypress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feedzai","download_url":"https://codeload.github.com/feedzai/introduction-to-e2e-testing-with-cypress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423729,"owners_count":20774820,"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-13T04:11:34.429Z","updated_at":"2025-03-31T06:11:31.939Z","avatar_url":"https://github.com/feedzai.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# End to end tests in modern web applications\n\nThis projects aims to introduce developers (QA, Frontend, etc) to the concepts of end-to-end (E2E) tests and how these could be written in order to validate a web application on multiple fronts (backend and frontend services) and fully integrated against a real environment.\n\nWe will create tests for two different E2E layers:\n\n1. API - We will use [EVA](https://api.eva.pingutil.com), a service that is available in the internet and allow us to verify if an e-mail has a valid syntax.\n2. UI - We will use a simple todo-list application that was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).\n\n## Project Bootstrap \u0026 Requirements\n\n### Install NVM (Node Version Manager)\n\n[Linux / MAC](https://heynode.com/tutorial/install-nodejs-locally-nvm)\n\n[Windows](https://github.com/coreybutler/nvm-windows#installation--upgrades)\n\n### Pull the repo that contains the project\n\n```sh\ngit pull https://github.com/feedzai/introduction-to-e2e-testing-with-cypress.git\ncd introduction-to-e2e-testing-with-cypress\n```\n\n### Install node and set it to be used\n\n```sh\nnvm nvm install 14.19\n```\n\n```sh\nnvm use 14.19\n```\n\n### Run npm install to install project dependencies\n\n```sh\nnpm install\n```\n\n### Launch the app\n\n```sh\nnpm run start\n```\n\nOpen [the app](http://localhost:3000) to view it in your browser.\n\n### Launch the Cypress UI in a different terminal window\n\n```sh\nnpm run test\n```\n\nUse an IDE of your preference (we like VSCode, but you do you) to modify those files during the workshop in order to complete the needed tasks.\n\n## Setup your own Firebase database\n\nThere's already a database available for you to try out this simple demo app. However, if you still want to setup your own, follow the steps in [this video](https://youtu.be/HgfA4W_VjmI) order to do so.\n\nBy following the steps on this section of the tutorial, you'll arrive at a point where Firebase will present you an object with your app's token configurations. Copy those, and replace the one's that are on the `src/firebase.js` file.\n\n```js\nconst database = fb.initializeApp({\n  apiKey: \"replace-here\",\n  authDomain: \"replace-here\",\n  databaseURL: \"replace-here\",\n  projectId: \"replace-here\",\n  storageBucket: \"replace-here\",\n  messagingSenderId: \"replace-here\",\n  appId: \"replace-here\",\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Fintroduction-to-e2e-testing-with-cypress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffeedzai%2Fintroduction-to-e2e-testing-with-cypress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffeedzai%2Fintroduction-to-e2e-testing-with-cypress/lists"}