-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(machines): Add kernel crash dump checkbox to deploy form MAASENG-3759 #5539
feat(machines): Add kernel crash dump checkbox to deploy form MAASENG-3759 #5539
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, thanks for adding first conditional tests already
one minor nag on the docs link before final approve
@@ -708,4 +711,54 @@ describe("DeployFormFields", () => { | |||
screen.queryByRole("checkbox", { name: "Register as MAAS KVM host" }) | |||
).not.toBeInTheDocument(); | |||
}); | |||
|
|||
test.runIf(kernelCrashDumpEnabled)( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ty
...nents/MachineForms/MachineActionFormWrapper/DeployForm/DeployFormFields/DeployFormFields.tsx
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Done
QA steps
.env.local
:src/app/machines/components/MachineForms/MachineActionFormWrapper/DeployForm/DeployFormFields/DeployFormFields.test.tsx)
and ensure it passes*Fixes
Resolves MAASENG-3759
Screenshots
Notes
*This is because these tests are set to skip if the feature flag is not present, which is the case in CI.