Verify contents of a text file
Preconditions (2)
Step 1: Open the test environment
Step 2: Read the contents of 'sample.txt' file using Cypress
Step 3: Verify that the file contents exactly match 'Hello, Cypress!'
✅ Expected Result: The test should confirm that the file content is 'Hello, Cypress!' and pass