Commit graph

275 commits

Author SHA1 Message Date
Justin Stephenson
d9b8fb2b13 tests: Use mc for testPlayBinary
cockpit doesn't seem to handle any/all non-UTF8 character data
2023-08-22 14:25:46 -04:00
Justin Stephenson
142d42066b Lock down esbuild and esbuild-sass-plugin versions
Workaround error:

npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: session-recording@undefined
npm ERR! Found: esbuild@0.18.20
npm ERR! node_modules/esbuild
npm ERR!   dev esbuild@"^0.18.6" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer esbuild@"^0.19.1" from esbuild-sass-plugin@2.12.0
npm ERR! node_modules/esbuild-sass-plugin
npm ERR!   dev esbuild-sass-plugin@"^2.10.0" from the root project
2023-08-16 14:14:38 -04:00
Cockpit Project
915521a6ad Makefile: Update Cockpit lib to 4133eb93dc20f00db996d1fefdd5fcbf
Closes #688

(cherry picked from commit 468cf21f4f)
2023-08-16 14:14:38 -04:00
Cockpit Project
d7eb158f79 package.json: Update @patternfly/patternfly, @patternfly/react-core, @patternfly/react-icons, @patternfly/react-styles
Closes #687

(cherry picked from commit 79e5693042)
2023-08-16 14:14:38 -04:00
Jelle van der Waa
b3c40d9a4d package.json: drop deprecated eslint-plugin-standard
eslint-config-standard no longer requires it since 16.0.0.

(cherry picked from commit 65e3e488f0)
2023-08-16 14:14:38 -04:00
Martin Pitt
ec2325a3db Revert "build: add support for /pybridge scenario"
We don't need this any more, the pybridge landed in all planned
distributions.

Do keep the more explicit and correct handling of `$TEST_BROWSER` in
test/run, though.

This reverts commit 03d02f398a.

(cherry picked from commit 826c1e29ce)
2023-08-16 14:14:38 -04:00
Justin Stephenson
27ec379aad Player: Stop making the Terminal object state
It's completely unnecessary and may cause unnecessary renders.
2023-07-27 14:01:40 -04:00
Tomas Matus
9026069b3c build.js: support flags
Adds flags to build.js to use rsync, disable linting and use watch mode.

(cherry picked from commit 3b14e61390)
2023-07-26 10:14:26 -04:00
Justin Stephenson
f05760e535 packaging: Update spec License: to SPDX format 2023-07-26 10:14:26 -04:00
Tomas Matus
cba733642f build.js: Fix LINT env variable check
(cherry picked from commit 3d75eb66d7)
2023-07-26 10:14:26 -04:00
Cockpit Project
8f9d7bb636 Makefile: Update Cockpit lib to 4693a536e3262d3254d848daed251ef3
Closes #676

(cherry picked from commit 36fc246711)
2023-07-26 10:14:26 -04:00
Justin Stephenson
a4a89eab52 Tests: Allow charset journal messages
Generated from tlog-rec-session
2023-07-24 13:08:29 -04:00
Justin Stephenson
9f5d0d42b7 Update to the new root creation function 2023-07-19 15:44:03 -04:00
Martin Pitt
ef6634a0c7 package.json: Bump stylelint to 15
(cherry picked from commit 6ece59c917)
2023-07-19 15:44:03 -04:00
Cockpit Project
73ac17ce03 Makefile: Update Cockpit lib to 1336ce350d88d385870ba56405136df7
Closes #673

(cherry picked from commit ee9ab10aeb)
2023-07-19 15:44:03 -04:00
Scott Poore
cba99b097a test: add check for sssd config id_provider proxy
The sssd files provider configuration was changed to use the proxy with
a files proxy library.  Adding a check to the testSessionRecordingConf
test case to confirm expected settings added to config stub when
created.

Signed-off-by: Scott Poore <spoore@redhat.com>
2023-07-19 08:28:35 -04:00
Justin Stephenson
a89d6d646c Tests: Allow invalid non-UTF8 journal messages
The following error is generated on fedora rawhide:

cockpit-ws[12427]: invalid non-UTF8 @data passed as text
to web_socket_connection_send()
2023-07-18 15:07:57 -04:00
Justin Stephenson
e9f6c15d70 Add xterm-canvas-addon dependency for rendering 2023-07-18 15:07:57 -04:00
Justin Stephenson
7623d95e11 Minor Eslint fixes 2023-07-18 15:07:57 -04:00
Justin Stephenson
bd2765f636 Tests: Update data list to PF5 for testAppMenu 2023-07-18 15:07:57 -04:00
Cockpit Project
523358b03d Makefile: Update Cockpit lib to 3d2d07cb751b141b6bd6ee9a3d423081
Closes #669

(cherry picked from commit 27ad7ce5a7)
2023-07-18 15:07:57 -04:00
Martin Pitt
3e29263d45 package.json: Bump esbuild and esbuild-sass-plugin
esbuild-sass-plugin 2.10 got released as compatible with 2.8, but it is
not compatible any more with esbuild 0.17.18. Bump both.

(cherry picked from commit d3b9064d63)
2023-07-18 15:07:57 -04:00
zaltark
e0c8d9769b Update org.cockpit-project.session-recording.metainfo.xml 2023-07-18 13:51:31 -04:00
Allison Karlitskaya
804a15b07f Makefile: bump our test/common dependency
... and make use of the new pywrap feature from our test.

Use the same eslint and stylelint plugin configuration as the cockpit
main repo.

Co-authored-by: Katerina Koukiou <kkoukiou@redhat.com>
(cherry picked from commit 2215aa3bf8)
2023-05-31 08:36:26 -04:00
Katerina Koukiou
8564be5f8f patternfly-5-overrides should be auto-imported by the page.scss file
page.scss sould be imported by all pages.

(cherry picked from commit 12a648b6e4)
2023-05-31 08:36:26 -04:00
Cockpit Project
ae3d2b77cb Makefile: Update Cockpit lib to 3ca979d542a4d6cf865f2132e0bdf1b0
Closes #656

(cherry picked from commit 4c405168a8)
2023-05-31 08:36:26 -04:00
Martin Pitt
0622a5e06a Drop obsolete pf-m-redhat-font class
(cherry picked from commit dc5a514625)
2023-05-31 08:36:26 -04:00
Justin Stephenson
4426f62000 Bump PF5 react-{table, tokens} not in starter kit 2023-05-24 10:45:14 -04:00
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