regexowl
2febf98e93
test: Update tests
...
Add mocking to tests where needed.
2024-08-01 18:05:01 +02:00
regexowl
e891b0dc04
test: Add flag mocks
...
This mocks 'image-builder.snapshots.enabled' where needed.
2024-08-01 17:34:03 +02:00
regexowl
fc88b09ce6
test: Update tests
...
This updates tests after gating WSL behind 'image-builder.wsl.enabled'.
2024-08-01 17:24:42 +02:00
regexowl
8ee2bad55e
test: Add flag mocks
...
This adds mocked 'image-builder.firstboot.enabled' where needed.
2024-08-01 17:16:36 +02:00
Sanne Raymaekers
eab407c09e
Wizard: Add tests for repositories and snapshot steps
...
Tests the bulk select and verifies disabled repositories.
2024-07-31 16:30:01 +02:00
regexowl
2bbec0b034
test: Temporarily disable flakey Oscap tests
...
The disabled tests are flaking for Node 18.x only. I'm quite sure the problem lies within async. Working on a fix.
2024-07-30 12:12:21 +03:00
regexowl
a9bf175403
test: Disable a test and update few others
...
Test `Repositories edit mode modal pops up when deselecting previously used repository` is temporarily disabled. Also there were some early exits, the awaiting should do the trick.
2024-07-29 19:20:14 +02:00
regexowl
802525edbc
test: Move compliance On Recreate test to On Edit
...
This migrates a test from previously used On Recreate to current On Edit.
2024-07-29 13:24:30 +02:00
Ondrej Ezr
dbfa934b38
Firstboot: validate shebang is defined
2024-07-26 11:57:24 +02:00
regexowl
cba54c54c6
test: Add retry to the flakiest tests
...
This adds three possible retries to three of the flakiest tests.
2024-07-25 19:22:05 +02:00
regexowl
eb2cfe9a2f
test: Move @testing-library/jest-dom import to test setup file
...
This removes `@testing-library/jest-dom` from single test files and adds it to the shared setup.ts file.
2024-07-22 15:49:18 +02:00
Ondrej Ezr
df993c7fc2
test: Add nodeFetch back
2024-07-18 17:26:38 +02:00
Ondrej Ezr
69b7c574ae
test: await click instead of element not in doc
2024-07-18 17:26:38 +02:00
regexowl
4fb37c187e
src: Rename "V2" folders to just Wizard
...
This replaces all occurences of "CreateImageWizardV2" with just "CreateImageWizard" as it is the only version now.
2024-07-17 11:17:06 +02:00