Verify the page title and button text using BDD expect assertions
Preconditions (2)
Step 1: Open the URL 'https://example.cypress.io'
Step 2: Check that the page title is exactly 'Cypress.io: Kitchen Sink'
Step 3: Locate the button with id 'query-btn'
Step 4: Verify that the button text contains the word 'Button'
✅ Expected Result: The page title matches exactly 'Cypress.io: Kitchen Sink' and the button with id 'query-btn' contains text with the word 'Button'