When doing QA automation, during testing it is generally recommended to simulate the environment and all the conditions of an actual real user of the application under test.
But, when running end-to-end in browser tests on a CI machine, it is tempting and relatively easy-to-setup to run tests with a virtual display (xvfb
).
What kind of specific issues can be possible on virtual display but impossible on a real one, and vice versa? Is it safe to ignore the "real display" requirement when running selenium browser automation tests?
Note that I saw this thread, but I would like to focus on specific potential issues here, not the general difference.