Build: Simple Button Screen
A screen with a button that changes text when pressed. We will create a snapshot test to verify the UI does not change unexpectedly.
Target UI
┌───────────────────────────┐ │ Simple Button │ │ │ │ [ Press me ] │ │ │ │ Text: Not pressed yet │ └───────────────────────────┘
Display a button labeled 'Press me'.
Show a text below the button that says 'Not pressed yet' initially.
When the button is pressed, change the text to 'Button pressed!'.
Write a snapshot test to capture the initial UI and verify it matches the expected snapshot.