Verify website layout changes on different screen sizes using cy.viewport()
Preconditions (2)
Step 1: Open the test website homepage
Step 2: Set viewport to 320x480 (mobile size) using cy.viewport()
Step 3: Verify that the mobile menu button is visible
Step 4: Set viewport to 768x1024 (tablet size)
Step 5: Verify that the navigation bar is visible
Step 6: Set viewport to 1280x800 (desktop size)
Step 7: Verify that the full navigation menu is visible
✅ Expected Result: The website layout changes according to the viewport size, showing mobile menu on small screens and full navigation on larger screens.