Commit graph

247 commits

Author SHA1 Message Date
Cockpit Project
9fe6a8229a package.json: Update @patternfly/patternfly, @patternfly/react-core, @patternfly/react-icons, @patternfly/react-styles
Bump Cockpit commit to pick up the necessary adjustments for latest PF,
and adjust test for the new "-v5" namespace prefix.

Closes #654

(cherry picked from commit 092cefab3b)
2023-05-24 10:45:14 -04:00
Justin Stephenson
efba93ce98 Workaround git permission check gh actions bug 2023-05-17 11:29:49 -04:00
Justin Stephenson
12ab19bb67 Upgrade to PatternFly 5 Alpha 2023-05-17 11:08:46 -04:00
Cockpit Project
4b0bfc7648 Makefile: Update Cockpit lib to da5abbb4245b0455cc8b610efe01e684
Closes #649

(cherry picked from commit b3e97c711c)
2023-05-17 11:08:46 -04:00
Martin Pitt
7c82b32a59 package.json: Pin down versions of @patternfly/react-{styles,icons}
These are already installed as dependencies, and we do the same in other
Cockpit projects. The latest react-styles version became incompatible
with the react-core version, causing a build failure.

(cherry picked from commit a47c641af9)
2023-05-17 11:08:46 -04:00
Cockpit Project
81a3650eba Makefile: Update Cockpit lib to 947f1753867e3924b9617aaace936225
Update to PF5 and the new cockpit lib API.

Closes #646

(cherry picked from commit b2bdaac5b2)
2023-05-17 11:08:46 -04:00
Martin Pitt
4dbf79bcef Makefile: Fix watch dependencies
Unbreak `make watch` from a clean tree by ensuring that node_modules/
and pkg/lib exist.

(cherry picked from commit 6ab10901a4)
2023-05-17 11:08:46 -04:00
Justin Stephenson
0470867bd3
Update release.yml 2023-05-11 12:32:35 -04:00
Justin Stephenson
3232b641f6 Automate the release process 2023-05-11 11:48:09 -04:00
Justin Stephenson
6b7d8134f0 Add template sync to cockpit starter kit 2023-05-10 10:48:30 -04:00
Justin Stephenson
b2738e6548 Play after rewind in testFastforwardControls 2023-05-09 13:04:00 -04:00
Justin Stephenson
4367e8dd61 Set TZ to avoid CI failures with testFilter* tests 2023-05-09 09:38:34 -04:00
Justin Stephenson
0ae9d17487 testZoomSpeedControls incorrectly checks scale
Also relax the scale (value) assertion, as the scale value
switches between 0.X values in different environments.
2023-05-08 15:36:34 -04:00
Justin Stephenson
acf2d299ac Fix testSessionRecordingConf
This test creates the sssd config within the test itself
2023-05-08 13:37:21 -04:00
Justin Stephenson
cfd219f31f Read TMT_TEST_DATA variable for LOGS in browser.sh 2023-05-04 13:56:58 -04:00
Justin Stephenson
2336ba0e91 Remove Semaphore CI 2023-05-04 12:41:05 -04:00
Justin Stephenson
d589513534 Add initial packit configuration 2023-05-04 10:38:23 -04:00
Justin Stephenson
7414584afe Fix node-modules in run-test.sh 2023-05-03 15:42:27 -04:00
Justin Stephenson
806eeab1f2 Install sssd-proxy in test browser.sh 2023-05-03 14:29:14 -04:00
Justin Stephenson
5b5fc11b94 Add Files path for test recordings 2023-05-03 13:50:09 -04:00
Justin Stephenson
ce70a6d4ee FMF: Run tests together 2023-05-03 11:30:59 -04:00
Justin Stephenson
c3616baaa2 Add executable bit to browser shell scripts 2023-05-03 10:52:41 -04:00
Justin Stephenson
a378c5dbf3 FMF: Fix minor typo in plans 2023-04-28 11:31:16 -04:00
Justin Stephenson
f577208220 Add FMF tests and test scripts 2023-04-28 11:28:25 -04:00
Justin Stephenson
86f674bd92 Read existing sssd conf domains and services
Avoid overwriting services and domain sections of system with
an existing sssd.conf (IPA client for example). Copy the
services section used in sssd.conf, and append 'proxy' to
existing domain section.
2023-04-28 09:48:53 -04:00
Cockpit Project
07b5b13b12 Makefile: Update Cockpit lib to 269bf89276c679a03befc8a04244addd
(cherry picked from commit 4bc3de6d5d)
2023-04-27 14:47:24 -04:00
Justin Stephenson
aeb3cb6d8d Remove CentOS condition in testZoomSpeedControls 2023-04-27 14:47:24 -04:00
Justin Stephenson
e151c9ee8f Add accessible name label for Progress component
Fixes the error: One of aria-label or aria-labelledby properties should
be passed when using the progress component without a title.
2023-04-27 14:47:24 -04:00
Justin Stephenson
7c75596330 Remove 'enable_files_domain' from SSSD Config 2023-04-27 14:47:24 -04:00
Justin Stephenson
e9490a1a10 SSSD config changes 2023-04-27 14:47:24 -04:00
Justin Stephenson
cc2a205b13 testFastforwardControls update after player-restart
New xterm js accessibility tree no longer displays "Blank line"
2023-04-27 14:47:24 -04:00
Justin Stephenson
527941da25 Switch wait_present to wait_visible
wait_visible() is now deprecated.
2023-04-27 14:47:24 -04:00
Justin Stephenson
0089d35bef ESLint error and warning fixes 2023-04-27 14:47:24 -04:00
Justin Stephenson
b73f42eb38 Fix stylelint errors 2023-04-27 14:47:24 -04:00
Justin Stephenson
d41cf3bfcc Dependency updates 2023-04-27 14:47:24 -04:00
Justin Stephenson
235f110ec7 Bring up to date with cockpit starter kit
This encompasses a number of changes to the build process.
2023-04-27 14:47:24 -04:00
Justin Stephenson
a0fffde59d Config: Switch SSSD files provider to Proxy provider
SSSD Files provider is being deprecated and removed in later RHEL,
Fedora releases.
2023-04-17 12:09:43 -04:00
Justin Stephenson
38d4b00533 Update fedora license in spec file
https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_1
2023-03-02 14:11:35 -05:00
Justin Stephenson
d22ac8ef1a Makefile: Bump test API to 267 2023-02-06 15:03:49 -05:00
Jelle van der Waa
e2856e3160 Makefile: drop installing cockpit-ws/cockpit-packagekit
The default test virtual machines have this pre-installed.
2023-02-06 15:02:28 -05:00
Jelle van der Waa
8151aa2d49 src: load translations via po.js
/*/po.js is deprecated in the Cockpit bridge, po.js is how one normally
loads translations. Cockpit-bridge will figure out the correct
translations to return.
2023-02-06 15:02:28 -05:00
Jelle van der Waa
02c5b475c6 .semaphore: update TEST_OS to Fedora 36 2023-02-06 15:02:28 -05:00
Jelle van der Waa
4f44ec3e22 webpack.config.js: update compression plugin to succeed build 2023-02-06 15:02:28 -05:00
Jelle van der Waa
95723f2817 Makefile: Adjust to changed rpmspec -q behaviour
Fedora 37's rpmspec changed behaviour: `-q` now shows the source RPM
name instead of the binary one. `--srpm` and `--rpms` don't influence
this behaviour any more. So get along with both variants.
2023-02-06 15:02:28 -05:00
Martin Pitt
9e482dab7d Use standard "translate" marker in HTML
Cockpit's test-static-code complains about `translatable`, so let's use
the correct attribute to avoid spreading it further.
2023-02-06 15:02:28 -05:00
Justin Stephenson
92f3b7b75d Update dependencies excluding Patternfly
Update to webpack 5
2023-01-16 08:55:35 -05:00
Justin Stephenson
39a359bffb Remove unneeded tlog UID code
The tlog UID was being set explicitly to ensure journalctl matches
used during tests would find pre-recorded journals. This is no longer
needed as we removed the TLOG_UID filter from the journalctl match
string.
2022-06-09 10:36:25 -04:00
Justin Stephenson
6f5ec24e16 Drop moment.js dependency
Addresses CVE-2022-24785
2022-05-19 14:17:07 -04:00
Justin Stephenson
88a167a89a Tests: Assert pause state with a later command in rec1
On some systems, the 'whoami' command may still show in the terminal output
if the pause does not happen fast enough.
2022-04-19 15:53:33 -04:00
Justin Stephenson
e716567dfc CI: Update image to ubuntu 20.04 2022-04-19 15:14:37 -04:00