Verify native click and typing using cypress-real-events
Preconditions (2)
Step 1: Open the web page at 'http://localhost:3000/testpage'
Step 2: Use native click event to click the button with id 'submit-btn'
Step 3: Use native typing event to type 'Hello123' into the input field with id 'name-input'
Step 4: Verify that the button click triggers a visible alert with text 'Button clicked!'
Step 5: Verify that the input field contains the typed text 'Hello123'
✅ Expected Result: The button is clicked using a native event, triggering the alert. The input field receives the typed text using native typing events.