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.
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.