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. |
||
|---|---|---|
| .. | ||
| steps | ||
| CreateImageWizard.azure.test.tsx | ||
| CreateImageWizard.compliance.test.tsx | ||
| CreateImageWizard.content.test.tsx | ||
| CreateImageWizard.test.tsx | ||
| wizardTestUtils.tsx | ||