Skip to content

feat: add frontend for locked workspaces #8655

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

Merged
merged 16 commits into from
Aug 4, 2023
Prev Previous commit
fix tests
  • Loading branch information
BrunoQuaresma committed Aug 2, 2023
commit 246f3a3255f7b59006bcbec44befd14c825293f8
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,6 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
inputProps={{ min: 0, step: "any" }}
label="Time until cleanup (days)"
type="number"
aria-label="Failure Cleanup"
/>
</FormFields>
</FormSection>
Expand Down Expand Up @@ -375,7 +374,6 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
inputProps={{ min: 0, step: "any" }}
label="Time until cleanup (days)"
type="number"
aria-label="Inactivity Cleanup"
/>
</FormFields>
</FormSection>
Expand Down Expand Up @@ -407,7 +405,6 @@ export const TemplateScheduleForm: FC<TemplateScheduleForm> = ({
inputProps={{ min: 0, step: "any" }}
label="Time until cleanup (days)"
type="number"
aria-label="Locked Cleanup"
/>
</FormFields>
</FormSection>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,10 @@ const fillAndSubmitForm = async ({
FooterFormLanguage.defaultSubmitLabel,
)
await user.click(submitButton)

// User needs to confirm inactivity and locked ttl
const confirmButton = await screen.findByTestId("confirm-button")
await user.click(confirmButton)
}

describe("TemplateSchedulePage", () => {
Expand Down