e2e: specify linux platform for QT (#15268)

In this commit we specify `QT_QPA_PLATFORM` to  `linuxfb`
reference -> https://doc.qt.io/qt-5/embedded-linux.html#linuxfb
This ensures we do not rely on `xcb` for e2e tests on linux hosts.

Helps us fix the following error :
```
"Could not load the Qt platform plugin "xcb" in "" even though it was found."
```
This commit is contained in:
Siddarth Kumar 2024-06-20 17:05:04 +05:30 committed by GitHub
parent c3112e9f23
commit 5bdda2e6d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -76,6 +76,9 @@ pipeline {
TESTRAIL_URL = 'https://ethstatus.testrail.net'
TESTRAIL_PROJECT_ID = 17
/* Override QT xcb plugin with linux to avoid errors like:
* "Could not load the Qt platform plugin "xcb" in "" even though it was found." */
QT_QPA_PLATFORM = "linuxfb"
/* Runtime flag to make testing of the app easier. Switched off: unpredictable app behavior under new tests */
/* STATUS_RUNTIME_TEST_MODE = 'True' */