Commit graph

13 commits

Author SHA1 Message Date
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
Tom Koscielniak
bd09a7faf3 playwright: Provision large AWS CB instance
By using a "large" AWS instance we should be able to use parallelization in Playwright without maxing out resources and having flakes in tests.
2025-05-02 14:52:13 +02:00
regexowl
9962c60099 playwright: Decrease number of workers
This lowers the number of workers from 4 to 2.
2025-04-30 12:01:15 +02:00
regexowl
ff2cc68d75 playwright: Increase timeout for expect
This increases timeout for `expect` from 30s to 50s.
2025-04-29 13:25:16 +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
Tom Koscielniak
91ceaca760 playwright: Add parallelization
Add parallelization with 4 workers.
2025-04-15 14:14:40 +02:00
Tom Koscielniak
34fdd8f0ea playwright: Increase timeouts
Increase playwright timeout both globally and for individual actions to reduce test flakiness
2025-04-15 14:14:40 +02: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
Sanne Raymaekers
94206fcac3 playwright: only add currents reporter if requisite env is set 2025-03-19 15:45:14 +01:00
Matej Marusak
e2efa37d47 Add currents reporter for Playwright tests
This adds currents reporter for Playwright tests

JIRA: HMS-5660
2025-03-19 15:45:14 +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
Sanne Raymaekers
f0a3574cda playwright: add list reporter 2025-03-11 13:30:14 +01:00
schutzbot
6ef29afac3 Post release version bump
[skip ci]
2025-03-06 13:12:33 +01:00