Verify browser history navigation using cy.go()
Preconditions (2)
Step 1: Visit the homepage at '/home'
Step 2: Click the link to navigate to the About page at '/about'
Step 3: Verify the URL is '/about'
Step 4: Use cy.go('back') to navigate back to the homepage
Step 5: Verify the URL is '/home'
Step 6: Use cy.go('forward') to navigate forward to the About page
Step 7: Verify the URL is '/about'
✅ Expected Result: The browser navigates back and forward correctly using cy.go(), and the URL updates accordingly.