regexowl
d0a143dd23
README: Syntax highlighting
...
Add syntax highlighting for fenced code blocks.
2024-07-19 12:47:43 +02:00
regexowl
1ead9c8e3c
README: Add DOM dump silencing to Test Guidelines
...
This adds information about silencing DOM dumps in testing-library test output and how to allow DOM dump again if needed.
2024-07-19 12:47:43 +02:00
Ondrej Ezr
1febbe4620
test: cleanup unnecessary polyfills
2024-07-19 11:03:04 +02:00
dependabot[bot]
0c27256927
build(deps): bump @redhat-cloud-services/frontend-components
...
Bumps [@redhat-cloud-services/frontend-components](https://github.com/RedHatInsights/frontend-components ) from 4.2.12 to 4.2.13.
- [Commits](https://github.com/RedHatInsights/frontend-components/commits )
---
updated-dependencies:
- dependency-name: "@redhat-cloud-services/frontend-components"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 09:36:25 +02:00
dependabot[bot]
1e4e3a72cc
build(deps-dev): bump @babel/eslint-parser from 7.24.7 to 7.24.8
...
Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser ) from 7.24.7 to 7.24.8.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.24.8/eslint/babel-eslint-parser )
---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-19 08:39:41 +02:00
dependabot[bot]
d749f08fc6
build(deps-dev): bump typescript from 5.1.6 to 5.5.3
...
Bumps [typescript](https://github.com/Microsoft/TypeScript ) from 5.1.6 to 5.5.3.
- [Release notes](https://github.com/Microsoft/TypeScript/releases )
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml )
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.5.3 )
---
updated-dependencies:
- dependency-name: typescript
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 18:20:35 +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
Ondrej Ezr
7d537bcb66
test: use basic JS types for composes
2024-07-18 17:26:38 +02:00
Ondrej Ezr
a1a49806e1
rtk: Add base to url and fix mock handler
2024-07-18 17:26:38 +02:00
regexowl
797ceddcd1
test: Update handlers in test files
...
This updates handlers used directly in the test files to match current API.
2024-07-18 17:26:38 +02:00
regexowl
501323b476
MSW: Bump msw from 1.2.3 to 2.3.1
...
This bumps Mock Service Worker and updates the handlers.
2024-07-18 17:26:38 +02:00
dependabot[bot]
a8c8942af6
build(deps-dev): bump eslint-plugin-react from 7.34.3 to 7.34.4
...
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react ) from 7.34.3 to 7.34.4.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases )
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md )
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.34.3...v7.34.4 )
---
updated-dependencies:
- dependency-name: eslint-plugin-react
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 09:40:36 +02:00
dependabot[bot]
d4708917f6
build(deps): bump react-router-dom from 6.25.0 to 6.25.1
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.25.0 to 6.25.1.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.25.1/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 08:45:42 +02:00
regexowl
4e24dc35b6
test: Silence the DOM dump in test output
...
This silences the DOM dump logged into test output by testing-library while keeping all the relevant information about the test failure in the output.
2024-07-17 21:22:32 +02:00
regexowl
e2397b90d4
test: Fix act warnings
...
This removes the `act()` warnings from the test output.
2024-07-17 12:25:33 +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
dependabot[bot]
b1e5a8c7c6
build(deps): bump react-router-dom from 6.24.1 to 6.25.0
...
Bumps [react-router-dom](https://github.com/remix-run/react-router/tree/HEAD/packages/react-router-dom ) from 6.24.1 to 6.25.0.
- [Release notes](https://github.com/remix-run/react-router/releases )
- [Changelog](https://github.com/remix-run/react-router/blob/main/packages/react-router-dom/CHANGELOG.md )
- [Commits](https://github.com/remix-run/react-router/commits/react-router-dom@6.25.0/packages/react-router-dom )
---
updated-dependencies:
- dependency-name: react-router-dom
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-17 09:50:07 +02:00
dependabot[bot]
4e585365ce
build(deps-dev): bump @typescript-eslint/parser from 7.16.0 to 7.16.1
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.16.0 to 7.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.1/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-17 08:54:05 +02:00
regexowl
4389318de8
test: Update EditImageWizard test file for vitest
...
This adds mocks and imports needed to make the newly added EditImageWizard test file pass with vitest.
2024-07-16 16:55:31 +02:00
regexowl
a5f69a2559
test: Move shared imports to setup.ts file
2024-07-16 16:55:31 +02:00
regexowl
144832f2f8
test: Temporarily disable three tests
...
This temporarily disables three tests:
- target environment tiles are keyboard selectable -> can't make the behaviour correct even in mocked browser, it's possible this test was passing dues to early exit
- image name invalid for more than 100 chars and description for 250 -> this test times out in waitFor for the typing action. We have other valid/invalid name tests which could probably replace this one to not overwhelm the test suite with awaiting a large amount of text
- validate first boot request -> `monaco-editor` mock will be probably needed to make this one pass as it's not included in jsdom and ends in `Ne. init is not a function` error
2024-07-16 16:55:31 +02:00
regexowl
98c17e55df
test: Move beforeEach blocks inside describe
...
This moved the `beforeEach` blocks inside the `describe` blocks as per documentation.
Previously the code inside `beforeEach` didn't trigger which lead to problems with asynchrocinity as mocks didn't get cleared.
2024-07-16 16:55:31 +02:00
regexowl
e036f9b892
src: Move .scrollTo mock implementation to setup.ts
...
This moves the `.scrollTo` mock implementation to a setup file for other test files to use.
2024-07-16 16:55:31 +02:00
regexowl
8597929ff3
test: test: Remove act() warnings
...
This removes `Warning: An update to <component> inside a test was not wrapped inact(...)` warnings.
2024-07-16 16:55:31 +02:00
regexowl
6964e8b312
src: Resolve ResizeObserver is not defined error
...
This mocks and stubs ResizeObserver as it is not defined in jsdom.
2024-07-16 16:55:31 +02:00
regexowl
2a48966bba
test: Update test files to work with Vitest
...
This updates the files to be compatible with Vitest. Changes include:
- adding `@testing-library/jest-dom` import to enable custom jest matchers
- renaming `jest.` to `vi.`
- setting flags to false as default where needed
2024-07-16 16:55:31 +02:00
regexowl
da16a42128
Migrate from Jest to Vitest
...
This migrates our tests from using the Jest testing framework to Vitest.
2024-07-16 16:55:31 +02:00
regexowl
ac60043199
Wizard: Fix repositories recommendations
...
Repositories were not getting recommended after https://github.com/osbuild/image-builder-frontend/pull/2226 got merged. This fixes the problem.
2024-07-16 15:31:53 +02:00
dependabot[bot]
bafa531d00
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.16.0 to 7.16.1.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.1/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 14:13:54 +02:00
Ondrej Ezr
22c3686e2e
Firstboot: Add testid to empty state buttons
2024-07-16 13:15:12 +02:00
Ondrej Ezr
e0ec56c94d
Wizard: fix blueprint unique name validation in Edit mode
2024-07-16 12:27:42 +02:00
dependabot[bot]
e003682e23
build(deps-dev): bump @testing-library/dom from 10.3.1 to 10.3.2
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 10.3.1 to 10.3.2.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.3.1...v10.3.2 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-16 11:32:41 +02:00
regexowl
32ec1a6d27
jest: Increase test timeout
...
This increases default test timeout from 10000 to 20000 and timeout for "image name invalid for more than 100 chars and description for 250" to 50000.
This should eliminate test flakes caused by timing out, later it will be "reverted" when the Vitest migration gets merged.
2024-07-16 10:47:54 +02:00
dependabot[bot]
0fa06822fc
build(deps): bump @patternfly/react-core from 5.3.3 to 5.3.4
...
Bumps [@patternfly/react-core](https://github.com/patternfly/patternfly-react ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-core@5.3.3...@patternfly/react-core@5.3.4 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-core"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 13:12:03 +02:00
dependabot[bot]
64fe6642d3
build(deps): bump @patternfly/react-code-editor from 5.3.3 to 5.3.4
...
Bumps [@patternfly/react-code-editor](https://github.com/patternfly/patternfly-react ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-code-editor@5.3.3...@patternfly/react-code-editor@5.3.4 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-code-editor"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-15 08:55:59 +02:00
regexowl
14b5edb83a
README: Update and clean up
...
This updates and cleans up README a bit. There were two API sections that got merged and moved under frontend development. Some typos were also addressed.
2024-07-14 23:01:48 +02:00
regexowl
989671ba95
test: Update tests
...
A custom repo needs to be selected for the correct mocked response.
2024-07-14 22:13:46 +02:00
regexowl
c89b73687f
Wizard: Fix 400 when fetching packages
...
The request for package search in custom repositories was sent even when no custom repositories were selected, ending in 400. This fixes the problem.
2024-07-14 22:13:46 +02:00
dependabot[bot]
ce94f72066
build(deps-dev): bump sass from 1.77.7 to 1.77.8
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.77.7 to 1.77.8.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.77.7...1.77.8 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 09:40:23 +02:00
dependabot[bot]
8f2219c338
build(deps-dev): bump @babel/preset-env from 7.24.7 to 7.24.8
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.24.7 to 7.24.8.
- [Release notes](https://github.com/babel/babel/releases )
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md )
- [Commits](https://github.com/babel/babel/commits/v7.24.8/packages/babel-preset-env )
---
updated-dependencies:
- dependency-name: "@babel/preset-env"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 08:48:00 +02:00
Ondrej Ezr
e8b3814074
Wizard: feature flag to decide environments to be enabled in
...
Feature flags now support enablement in Preview specifically.
This allows us to use single feature flag for rollout.
2024-07-11 14:33:35 +02:00
dependabot[bot]
da39efcbf7
build(deps): bump @patternfly/react-table from 5.3.3 to 5.3.4
...
Bumps [@patternfly/react-table](https://github.com/patternfly/patternfly-react ) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/patternfly/patternfly-react/releases )
- [Commits](https://github.com/patternfly/patternfly-react/compare/@patternfly/react-table@5.3.3...@patternfly/react-table@5.3.4 )
---
updated-dependencies:
- dependency-name: "@patternfly/react-table"
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 11:52:24 +02:00
dependabot[bot]
57ef3c09b3
build(deps-dev): bump sass from 1.77.6 to 1.77.7
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.77.6 to 1.77.7.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.77.6...1.77.7 )
---
updated-dependencies:
- dependency-name: sass
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 10:47:29 +02:00
Ondrej Ezr
4044b9eba1
Wizard: enable nav items properly in Edit mode
2024-07-11 09:37:36 +02:00
Ondrej Ezr
549ef37ab7
Blueprint: enable import/export in ephemeral
...
Adds ability to enable a feature flag in Ephemeral environment by default.
2024-07-10 19:48:58 +02:00
dependabot[bot]
0f7d9457c6
build(deps-dev): bump @typescript-eslint/parser from 7.15.0 to 7.16.0
...
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser ) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/parser )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 13:01:37 +02:00
dependabot[bot]
340b146068
build(deps-dev): bump @typescript-eslint/eslint-plugin
...
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin ) from 7.15.0 to 7.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases )
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md )
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v7.16.0/packages/eslint-plugin )
---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 09:23:17 +02:00
Justin Sherrill
10c9375ee3
V2Wizard: revert add alert on snapshot step
2024-07-08 10:27:21 +02:00
dependabot[bot]
ad73bba30c
build(deps-dev): bump @testing-library/dom from 10.3.0 to 10.3.1
...
Bumps [@testing-library/dom](https://github.com/testing-library/dom-testing-library ) from 10.3.0 to 10.3.1.
- [Release notes](https://github.com/testing-library/dom-testing-library/releases )
- [Changelog](https://github.com/testing-library/dom-testing-library/blob/main/CHANGELOG.md )
- [Commits](https://github.com/testing-library/dom-testing-library/compare/v10.3.0...v10.3.1 )
---
updated-dependencies:
- dependency-name: "@testing-library/dom"
dependency-type: direct:development
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 09:19:55 +02:00