On Mon, 19 Dec 2022 16:44:02 +0100 Ladislav Slezák <lslezak@suse.com> wrote:
Dne 29. 09. 22 v 15:52 Ladislav Slezák napsal(a):
recently I fixed a small bug in cockpit [1]. The fix is rather trivial but it was quite difficult to test it and verify that it really fixes the problem.
I'm adding some more details about the integration tests.
Adding a new test was pretty simple (just check whether the switch is enabled or disabled in the browser), but most difficult was to run the test and verify that it really works.
I followed their README [2], but I was not successful in openSUSE, I was getting some strange errors. It needs some Python libraries not available in openSUSE, I tried to install them via "pip" but it still failed. I that point I gave up and installed Fedora Server 36.
If we will need to do it more often, we can create reusable VM deployment for cockpit testing at our internal servers and document how to reuse it. Josef
<snip>