Software Development Engineer in Test

Verifying search state after navigation

Opening a job and going back used to clear the search in XOi’s activity list. A teammate fixed the navigation. I wrote the Cypress regression to compare the URL, the search box, and the jobs on screen before and after the round trip.

Original search inspection
  • Equipment inspection
  • Safety inspection
/jobs?search=inspection
Job activity
inspection
  • Equipment inspection
  • Safety inspection
Cypress checks
URL query
✓ Retained
Search box
✓ Retained
Visible jobs
✓ Same jobs