Commit graph

24 commits

Author SHA1 Message Date
Katarina Sieklova
064aa172a0 Wizard: add Filesystem customization test 2025-06-24 07:14:56 +00:00
Tom Koscielniak
2a611e9704 playwright: Add handler for new intercom notifications
Adds handler for the new intercom popup notifications that trigger OpenScap window. Also adds noWaitAfter for the click action to fix flakiness.
2025-06-19 14:26:03 +00:00
Tom Koscielniak
b499dfcf93 playwright: Add single login for all tests
Add a single login for all tests in the form of a global setup. This commit also removes the login from all tests and replaces it with navigation to landing page and revamps the popup closing logic from being applied in logging step  into a separate fixture.
2025-06-19 14:26:03 +00:00
regexowl
b59a729656 sharedComponents: Rename "Create blueprint" button
This renames the button to "Create image blueprint" to make the relationship between images and blueprints clearer.
2025-06-18 14:12:47 +00:00
Anna Vítová
cd137fb055 Tets: add Kernel customizations test 2025-06-18 08:52:06 +00:00
Tom Koscielniak
42d7379a6c playwright: Cleanup fails gracefully if no BP is created
If no blueprint was created, the cleanup function fails gracefully without throwing error. Also includes a fix for a missing navigation to the IB landing page.
2025-06-05 14:17:18 +02:00
regexowl
2080425753 src: Update remaining v5 version slugs 2025-05-28 09:08:52 -05:00
regexowl
1fc1f0cb8d src: Run codemods and lint
Run `npx @patternfly/pf-codemods@latest src --v6 --fix` and lint autofix to get the bulk of the changes in.
2025-05-28 09:08:52 -05:00
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