{"id":18967245,"url":"https://github.com/gablemathias/init-cypress","last_synced_at":"2025-09-13T01:07:21.404Z","repository":{"id":260122456,"uuid":"880281424","full_name":"gablemathias/init-cypress","owner":"gablemathias","description":"E2E Automated Testing using Cypress on a recruiting page","archived":false,"fork":false,"pushed_at":"2024-11-21T23:16:22.000Z","size":32223,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-01T06:22:32.691Z","etag":null,"topics":["confluence","cypress","e2e-testing","javascript","jira"],"latest_commit_sha":null,"homepage":"https://www.init.pt/en/career-init-dcp","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/gablemathias.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-29T12:56:21.000Z","updated_at":"2024-11-21T23:16:26.000Z","dependencies_parsed_at":"2025-01-01T06:32:54.929Z","dependency_job_id":null,"html_url":"https://github.com/gablemathias/init-cypress","commit_stats":null,"previous_names":["gablemathias/init-cypress"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gablemathias%2Finit-cypress","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gablemathias%2Finit-cypress/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gablemathias%2Finit-cypress/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gablemathias%2Finit-cypress/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gablemathias","download_url":"https://codeload.github.com/gablemathias/init-cypress/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239964547,"owners_count":19725952,"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":["confluence","cypress","e2e-testing","javascript","jira"],"created_at":"2024-11-08T14:40:07.156Z","updated_at":"2025-02-21T06:10:55.126Z","avatar_url":"https://github.com/gablemathias.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# End-to-End Testing - Cypress - ]init[ Website\n\nThe overall process:\n\n1. Create user stories with Jira\n2. Document with Confluence\n3. Verify the process through manual UI test cases\n4. E2E Automated tests\n5. Report results\n\nTest Scenario: Successfully send a Job application through the career page on https://www.init.pt/en/career-init-dcp\n\nTest Steps:\n\n    1. The user navigates to init.pt\n    2. The user clicls the 'Career' button.\n    3. The user scrolldown the page and clicks 'Nothing suitable? Send us an unsolicited application' button.\n    4. The user fills the form accordingly.\n    5. The user clicks the 'Send application' button.\n\nPrerequisites: A curriculum and an ID document to attach.\n\nBrowser: Chromium v130. Firefox v129\n\nTest Data: Personal information, curriculum, check-boxing preferences\n\nExpected/Intended Results: Once user fill and checkbox the form, the application will be send correctly.   \n\nActual Results: As Expected\n\nTest Status – Pass/Fail: Pass\n\n![image](https://github.com/user-attachments/assets/771cf138-5478-4775-acf4-4481b5eac039)\n\nTwo specs, one for each task (Cypress)\n![Screenshot from 2024-10-29 14-54-14](https://github.com/user-attachments/assets/c8565f1e-36ff-4055-af9e-205679d4e73b)\n\nThe second test passing (Cypress)\n\n![Screenshot from 2024-10-29 14-57-43](https://github.com/user-attachments/assets/aa27c8ec-ad8d-4a0a-ac30-2cee41929a8e)\n\nDemo - visiting the career webpage and filling the form (E2E Automated Test)\n\n[e2e_filling_form.webm](https://github.com/user-attachments/assets/66a9186f-bb07-408c-a5fc-c32ae7bbb122)\n\nDemo - visiting and analysing stories in\n[Jira](https://github.com/user-attachments/assets/b0f3a1a1-13f0-4b7f-84ed-a47d19ef3a1d)\n\nDemo - the documentation created in\n[Confluence](https://github.com/user-attachments/assets/4cbf9a20-7959-4b10-95be-0836cc3df92f)\n\n## Images of the process on Jira and Confluence \n### Jira\n![stories-Board](https://github.com/user-attachments/assets/b533d88c-3373-4188-a15a-2028d999ec83)\n\n![moving board](https://github.com/user-attachments/assets/921e6614-5d72-4c33-bc32-bb697fe02f50)\n\n![story details](https://github.com/user-attachments/assets/4ef72ead-f022-4c4b-ab75-81e2fcb1dfc1)\n\n![finishing-one-story](https://github.com/user-attachments/assets/a3423d5f-8d2c-48d5-8789-fd1941adbc17)\n\n![second-story](https://github.com/user-attachments/assets/1849ac77-bdb2-48ee-a1c7-2e8e47f111bc)\n\n![finish-sprint](https://github.com/user-attachments/assets/714fa49d-6797-4358-87c8-74849abc72de)\n\n### Confluence\n![1](https://github.com/user-attachments/assets/8b8d407d-f1fe-43cd-8132-eee4cf8c1c53)\n![2](https://github.com/user-attachments/assets/64b8bc31-b767-46ee-ad0e-ae1d06b3a0d8)\n\n\n## Conclusion\nJira gives me excellent control over my tasks and stories. When a story needs to be split into different tasks, it provides the necessary tools\nand management features.\n\nDocumenting in Confluence allows me to review my past work and helps with future tasks. It's crucial to link everything here and add as\nmuch information as possible for anyone to reference. This includes technical issues, troubleshooting, know-how, and workshops.\n\nCypress is an outstanding tool for creating End-to-End Automated Tests. It uses the target web application and verifies with its auto-reload\nfeature every time I save the code.\n\n### There is always room for improvement\nRevisiting and refactoring the `do_job_application.cy.js` could be a nice idea. I have used a lot of `wait` function calls to pure purpose of\ndemonstration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgablemathias%2Finit-cypress","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgablemathias%2Finit-cypress","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgablemathias%2Finit-cypress/lists"}