Skip to content

gablemathias/init-cypress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

End-to-End Testing - Cypress - ]init[ Website

The overall process:

  1. Create user stories with Jira
  2. Document with Confluence
  3. Verify the process through manual UI test cases
  4. E2E Automated tests
  5. Report results

Test Scenario: Successfully send a Job application through the career page on https://www.init.pt/en/career-init-dcp

Test Steps:

1. The user navigates to init.pt
2. The user clicls the 'Career' button.
3. The user scrolldown the page and clicks 'Nothing suitable? Send us an unsolicited application' button.
4. The user fills the form accordingly.
5. The user clicks the 'Send application' button.

Prerequisites: A curriculum and an ID document to attach.

Browser: Chromium v130. Firefox v129

Test Data: Personal information, curriculum, check-boxing preferences

Expected/Intended Results: Once user fill and checkbox the form, the application will be send correctly.

Actual Results: As Expected

Test Status – Pass/Fail: Pass

image

Two specs, one for each task (Cypress) Screenshot from 2024-10-29 14-54-14

The second test passing (Cypress)

Screenshot from 2024-10-29 14-57-43

Demo - visiting the career webpage and filling the form (E2E Automated Test)

e2e_filling_form.webm

Demo - visiting and analysing stories in Jira

Demo - the documentation created in Confluence

Images of the process on Jira and Confluence

Jira

stories-Board

moving board

story details

finishing-one-story

second-story

finish-sprint

Confluence

1 2

Conclusion

Jira gives me excellent control over my tasks and stories. When a story needs to be split into different tasks, it provides the necessary tools and management features.

Documenting in Confluence allows me to review my past work and helps with future tasks. It's crucial to link everything here and add as much information as possible for anyone to reference. This includes technical issues, troubleshooting, know-how, and workshops.

Cypress is an outstanding tool for creating End-to-End Automated Tests. It uses the target web application and verifies with its auto-reload feature every time I save the code.

There is always room for improvement

Revisiting 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 demonstration.

About

E2E Automated Testing using Cypress on a recruiting page

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published