Verify navigation using baseUrl configuration in Cypress
Preconditions (2)
Step 1: Open Cypress test runner
Step 2: Write a test that visits '/' using cy.visit('/')
Step 3: Check that the page URL is 'https://example.com/'
Step 4: Verify that the page contains a visible element with id 'main-content'
✅ Expected Result: The test navigates to 'https://example.com/' using the baseUrl and confirms the main content is visible