Commit graph

16 commits

Author SHA1 Message Date
Dominik Vagner
d0a70dfbbe fix(test): add close pop-ups locator for intercom modal
This locator should automatically close all "openscap faster trigger"
pop-ups in playwright tests.
2025-05-27 11:42:22 +02:00
Katarina Sieklova
0d63c9b4a2 Wizard: Systemd services test (HMS-5975)
Added new cutomization test for the Systemd services step - just simple 3 fields checks.
2025-05-26 12:13:23 +02:00
Katarina Sieklova
774714cb99 Wizard: add Firewall test 2025-05-09 13:17:11 +02:00
Gianluca Zuccarelli
df495748e9 playwright: check admin access for on-prem
Add a check to the playwright tests to ensure that the user sees the
'Access is limited.' error message if the logged in user doesn't have
the required privileges.
2025-05-07 11:03:18 +02:00
Anna Vítová
6209a87aa8 tests/playwright: Add Timezone customization test
Adds a Timezone customization test that creates a BP, edits BP, exports and imports it back and verifies the BP content.
2025-04-30 12:35:27 +02:00
Anna Vítová
71e1842aa4 tests/playwright: Add Locale customization test
Adds a Locale customization test that creates a BP, edits BP, exports and imports it back and verifies the BP content.
2025-04-29 13:47:17 +02:00
Simon Steinbeiss
357dd3a910 playwright: Adjust Package step test to new widget
Since the new SearchInput widget gets decomposed by PatternFly into a
<div> and the actual <input> element we're looking for is nested rather
deeply in this hierarchy, we need to use the locator to allow Playwright
to descend into that input.
2025-04-25 11:06:49 +02:00
Tom Koscielniak
0bddb80e94 tests/playwright: Add Hostname customization test
Adds a Hostname customization test that creates a BP, edits BP, exports and imports it back and verifies the BP content.
This test also servers as a template for other customization tests. Includes a refactor of existing helper functions.
2025-04-15 14:14:40 +02:00
regexowl
72aed71662 Playwright: Add check for admin access popup
The admin access popup is different for passwordless user and a user with a password.

This checks what popup got rendered and based on that acts to get administrative access.
2025-04-03 10:48:45 +02:00
Anna Vítová
a4034e8787 Wizard: add satellite registration, add jwt-decode
The jwt decode dependency helps us to keep track of the token that is
present in the Satellite command. jwt-decode is the most popular
dependency for the job, and very easy to use.
2025-04-03 09:46:41 +02:00
Gianluca Zuccarelli
9d883a8dfc CreateImageWizard: enable OpenSCAP for on-prem
SSIA
2025-03-31 18:02:11 -05:00
Tom Koscielniak
781267f16c tests: Streamline hosted Playwright local setup
Streamline the process of setting up Playwright for local development of hosted service tests using dotenv. Add short guide to README as well.
2025-03-27 11:42:05 +01:00
regexowl
cd5daade6b playwright: Add togglePreview helper function
This adds a helper function that switches into preview.

Heavily inspired by and all credit due to `content-sources-playwright`.
2025-03-21 14:09:16 +01:00
regexowl
3a85341dbf playwright: Add playwright to ESLint and fix errors
This add the `playwright` folder to the lint script and fixes errors.
2025-03-14 14:17:18 +01:00
Sanne Raymaekers
21ec51a69e playwright: adapt tests to hosted
Makes the test's base url, user & password configurable through the
environment. Abstracts differences between hosted and cockpit where
possible to lib, and adds conditionals otherwise.
2025-03-11 13:30:14 +01:00
schutzbot
6ef29afac3 Post release version bump
[skip ci]
2025-03-06 13:12:33 +01:00