Commit Graph

23 Commits

Author SHA1 Message Date
OPNA2608
23e40c0ca4 tests/lomiri: Only enable greeter in greeter test
To test a scenario where only the greeter portion is being enabled, not the whole DE.
2024-10-30 18:46:10 +01:00
OPNA2608
1b660ba22a tests/lomiri: Test keymap switch, make keymap OCR more consistent 2024-10-11 05:18:44 +02:00
OPNA2608
6037708c33 lomiri.lomiri-content-hub: Rename from lomiri.content-hub, 1.1.1 -> 2.0.0 2024-10-11 05:17:29 +02:00
OPNA2608
85e63d0540 lomiri.lomiri: Replace NIXOS_XKB_LAYOUTS envvar with file
This only ever worked for the session, not for the greeter. Writing the information out to a file should be more consistent.

To make sure that this works, and continues working, for the greeter & session, also add a new VM test.
2024-09-29 14:51:04 +02:00
OPNA2608
132b5ce9d3 nixos/lomiri: Add bluetooth indicator 2024-09-06 12:08:10 +02:00
OPNA2608
1b4795b3e2 tests/lomiri: Optimise further
- Split desktop into desktop-basics (basic keybind & app launching) and
  desktop-appinteractions (one applications triggering something in another) due to timeouts
- Wrap machine.wait_for_text to wait 10 seconds before starting

The 10 second delay improves runtime dramatically on weaker hardware. In desktop-ayatana-indicators
on my aarch64 laptop, runtime was cut down by 818,41 seconds (~ 14 minutes).
Hopefully helps abit with timeout issues on ARM :(
2024-08-21 21:09:49 +02:00
OPNA2608
39ca1bebb4 tests/lomiri: Try to fix polkit password entry on ARM
Hopefully not just a placebo, but it worked on my machine.
2024-08-08 19:59:47 +02:00
OPNA2608
fa5d67862c tests/lomiri: Start splitting into multiple sub-tests
Because ARM hardware is starting to have serious issues with completing everything, due to

- A seemingly harmless Lomiri crash & restart early on eating up some time (adding more RAM seemed to have helped with that?), and
- Every OCR usually taking multiple minutes to complete

So start splitting them up into parts

- greeter, for testing just the greeter
- desktop, for general app stuff
- desktop-ayatana-indicators, for checking indicators (OCR-heavy & especially slow)

Currently passing on my hardware, but might need to be split up more in the future.
2024-08-08 17:10:13 +02:00
OPNA2608
9c429cbc28 tests/lomiri: Prepare for splitting 2024-08-08 17:10:13 +02:00
OPNA2608
c384f677ea tests/lomiri: nixfmt 2024-08-08 17:10:12 +02:00
OPNA2608
06013bc2c7 tests/lomiri: Fix polkit agent test
We're starting to get stuck in OCR of the polkit pop-up.

Just assume that it shows up, send password, and expect the pkexec'd command to work.
2024-08-08 17:10:12 +02:00
OPNA2608
6e42f74cf9 tests/lomiri: Drop OCR for starter content
It has started to take 10 minutes to get a match, and we open the starter more than once.

Let's just drop this check, ydotool helps alot with getting it open more reliably.
2024-07-30 13:26:09 +02:00
OPNA2608
3a788099cd tests/lomiri: Add polkit agent test 2024-07-06 20:05:07 +02:00
OPNA2608
ad6c2fc76f tests/lomiri: Fix OCR detection 2024-07-04 21:06:53 +02:00
OPNA2608
af779007e7 tests/lomiri: Don't need to keep Morph in the background anymore, content-hub can launch it now 2024-06-30 01:37:10 +02:00
OPNA2608
6477cb49a5 nixos/lomiri: Add file manager 2024-06-07 11:37:53 +02:00
OPNA2608
01152519d6 nixos/tests/lomiri: Fix sound indicator subtest name
It's an ayatana one, not a lomiri one.
2024-05-23 20:40:15 +02:00
OPNA2608
d29e469f2a nixos/lomiri: Add display indicator 2024-05-23 20:37:34 +02:00
OPNA2608
af545969b6 nixos/lomiri: Add sound indicator 2024-05-21 16:15:23 +02:00
OPNA2608
98c84e67e4 nixos/lomiri: Add power indicator 2024-05-21 00:10:42 +02:00
OPNA2608
9c5ceeb61e nixos/tests/lomiri: Use ydotool for mouse control
Certain elements are not reachable via the keyboard, and some keyboard-centric methods for testing elements have flaky downsides.
2024-05-17 19:52:56 +02:00
OPNA2608
35614f6132 tests/lomiri: Adjust for network indicator 2024-04-17 21:37:30 +02:00
OPNA2608
b6fd92ab77 nixos/tests/lomiri: init 2024-04-14 21:38:40 +02:00