getsidetrack / swiftui-pipify

A SwiftUI component for launching custom picture-in-picture experiences
MIT License
155 stars 14 forks source link

Automated Tests #25

Open Sherlouk opened 2 years ago

Sherlouk commented 2 years ago

This library definitely relies on a few 'tricks' and so it's going to be an interesting challenge to add a number of UI and snapshot tests to prove that it works as intended.

We should look to use UI tests as a way to follow a step by step set of instructions and snapshot each step of the way to prove that the device looks and is responding as expected. Specifically, we should be clearly seeing the PIP window launch with the right content and prove that it's updating dynamically.