Outfit 7 QA automation assignment
I used the provided base for my starting point. There are three test scenarios. I used first one to feed Tom.
Test scenarios
The provided solution helped me to load the main screen. In the first and the last scenario I take screenshots that are stored under the Screenshots/{timestamp}/ folder.
Feed Tom
Scenario steps:
- Click on Food icon.
- Click on the Milk icon.
- Take a screenshot after 2 seconds (TomDrinkingMilk.jpg).
- Wait for animation to stop
Verify How to play instruction
Scenario steps:
- Click in Info icon
- Click on How to play
- Read and assert the text of the first bullet point
- Click on Close icon
Record and play video
Scenario steps:
- Click on Camera icon to start recording
- Click on Gasmask icon
- Wait 2 seconds for animation to stop.
- Click on Paw icon
- Wait 4 seconds for animation to stop.
- Click on Camera icon to stop recording
- Click on Play button to start the video
- Take a screenshot after 1.5 seconds of the Gasmask action (TomGasMask.jpg).
- Take a screenshot after 3.5 seconds of the Pawn action (TomPawn.jpg).
- Click on Close icon