Edit mode is now fully tested and working for OpenSCAP profiles. A handler for the PUT request was added and the fixtures were updated to support this. `EditImageWizard.tsx`: Previously we dispatched `initializeWizard()` while waiting for the blueprintDetails to load. This meant that the state was incorrect (empty) while the blueprintDetails request was in flight. `requestMapper.tsx`: Correctly populate state in edit mode if the blueprint contains a custom file system – previously custom mountpoints were dropped and automatic mode was selected. `spyOnRequest()`: Differentiate between request types (e.g. GET, PUT) for the same endpoint. |
||
|---|---|---|
| .. | ||
| Components | ||
| fixtures | ||
| mocks | ||
| .eslintrc | ||
| jest.setup.js | ||
| README.md | ||
| testUtils.js | ||
Testing information
Code coverage
Code coverage is recorded in codecov.io. This information comes only from unit tests and for the time being we're not concerned with collecting coverage information from integration tests.
It must be over 85% as required by Insights QE!