I've started investigating dogtail as a solution for writing GUI-driven unit tests in a GNOME Wayland session. Before I dive deeper I want to understand what I'll need to run these GUI-based tests on a remote server. (I've been bitten before by assumptions about the graphics capabilities of VMs and containers.)
So my plan is to:
- Create a fresh clone
- Install packages and test scripts
- Run a script to log into a desktop session (how?)
- Run the test scripts in a live desktop session
- Record the results
- Exit the desktop session (how?)
- Destroy the clone
If the original snapshot is taken while in a desktop session, I can avoid steps 3 and 7, and just execute steps 2, 3, 5 and 6 in the session, but I'd prefer to have the option of a "first login" test.
What capabilities am I looking for in the hosting server and software? If I can use a local client to access a visual desktop session, is that sufficient?
(Concrete examples of viable hosts are welcome but not required. I'm trying to understand the principles rather than picking any particular tool.)