cockpit-project / cockpit-files

A Featureful File Browser for Cockpit (Modernized and tested version of https://github.com/45Drives/cockpit-navigator)
GNU Lesser General Public License v2.1
27 stars 23 forks source link

test: Allow three column layout in testKeyboardNav #629

Closed martinpitt closed 1 week ago

martinpitt commented 1 week ago

It sometimes (RHEL 9 gating test) happens that the browser/mobile layout are set up so that three columns fit in one row. In this case, moving the cursor down lands at file3. Accept that as well.


This fixes one half of the RHEL 9 gating test failure. The other half (testBookmark) happens sometimes in upstream PRs as well, and looks like a race condition in either the code or the test.