2) Run a Wayland session using the NVIDIA driver (KMS needs to be enabled).
3) If it is a single GPU system, run a 3D application such as a game, that is not Wayland native. If you are using a hybrid (Intel+NVIDIA, or AMD + NVIDIA) system, you can launch the app by right-clicking on it and by selecting "Run using Discrete GPU".
4) If the application runs without problems, then everything works.
No, unfortunately, the test can't be automated.
Here are some steps to test it.
1) Make sure that libnvidia- egl-wayland1
2) Run a Wayland session using the NVIDIA driver (KMS needs to be enabled).
3) If it is a single GPU system, run a 3D application such as a game, that is not Wayland native. If you are using a hybrid (Intel+NVIDIA, or AMD + NVIDIA) system, you can launch the app by right-clicking on it and by selecting "Run using Discrete GPU".
4) If the application runs without problems, then everything works.