mirror of
https://github.com/fleetdm/fleet
synced 2026-05-06 14:58:33 +00:00
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> **Related issue:** For #35459 # Details This PR adds front-end tests for: * `<SoftwareSummaryCard>` * Smoke-test of basic functionality (showing the software title and type, showing an icon) * Action dropdown options for various kinds of software * `<EditAutoUpdateConfigModal>` * Options for auto-updates (enable button, maintenance window validation) * Targets ("All hosts" and "Custom" values and validation) * Form submission (ensuring the API receives the expected payload for various permutations of the form) The `<TargetLabelSelector>` component has its own tests so we don't go through it thoroughly here, just integration tests with the new component. Conversely the `<SoftwareDetailsSummary>` component _doesn't_ have its own tests, and could use some, but in this instance we're just concerned with how it integrates with the software summary card (that is, how the passed-in software title affects the Actions dropdown). ## Testing - [X] Added/updated automated tests --------- Co-authored-by: Gabriel Hernandez <ghernandez345@gmail.com> Co-authored-by: Nico <32375741+nulmete@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| _styles.scss | ||
| DropdownWrapper.stories.tsx | ||
| DropdownWrapper.tests.tsx | ||
| DropdownWrapper.tsx | ||
| index.tsx | ||