Verify explicit wait using cy.wait() before checking element visibility
Preconditions (2)
Step 1: Open the URL 'https://example.com/delayed-message'
Step 2: Click the button with id 'show-message-btn'
Step 3: Wait explicitly for 3 seconds using cy.wait()
Step 4: Verify that the element with id 'delayed-message' is visible and contains text 'Hello after wait!'
✅ Expected Result: After clicking the button and waiting explicitly, the delayed message appears and is visible with correct text