Opensuse h4ckweek 2022

Logo

Opensuse h4ckweek 2022 navigation log

View the Project on GitHub michelepagot/opensuse.hackweek.2022

29 June 2022

Day3 is cloudy

by michelepagot

Back

Today we rock with Wezterm

DONE

Hackweek webpage

Posts images

Change from simple

![Image](/assets/img/wezterm_openqa_needle.png)

to Liquid query

![Image](/opensuse.hackweek.2022/assets/img/wezterm_openqa_needle.png)

openQA

Some fun progress on this side today.

Needles

Talking with Stephan, he suggested this talk: openSUSE Conference 2017 How openQA works, needles are at 7min 30sec but the overall talk is just 30min.

Needles can be created directly in the openQA web interface

Image

There’s a lot of knowledge and good practice to apply when developing your needles ( I suggest this video). Lets start from something simple. Here how the application look like in the test machine

Image

and here how the needle match on it

Image

Even a so simple match sometime could fail

Image

(tab missing)

New needles committed .

Test terminal

There’s a generic function available to test terminals: test_terminal.

Image

here the needle created for it

Image

Otherwise, starting a program is as simple as x11_start_program

# start Wezterm
sub start() {
    switch_to_desktop();
    x11_start_program('wezterm');
    wait_still_screen 5;
}

Test commit for this test.

Test organization

It was

Image

With this commit it is now:

Image

Wezterm

Start creating some simple tests about events triggered by key bindings: all available defauld keys are documented.

Fer example test that a new tab is opened when pressing SUPER-t.

Contribute to documentation https://github.com/michelepagot/wezterm/commit/c2193571486665c74254a6decb0f9c144f87a09f

TODO

Hackweek webpage

openQA

Wezterm

tags: