We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c397e64 commit aaecd9aCopy full SHA for aaecd9a
site/src/pages/TemplateSettingsPage/TemplateGeneralSettingsPage/TemplateSettingsPage.test.tsx
@@ -80,7 +80,9 @@ const fillAndSubmitForm = async ({
80
await userEvent.clear(iconField);
81
await userEvent.type(iconField, icon);
82
83
- const allowCancelJobsField = screen.getByRole("checkbox");
+ const allowCancelJobsField = screen.getByRole("checkbox", {
84
+ name: "allow_user_cancel_workspace_jobs",
85
+ });
86
// checkbox is checked by default, so it must be clicked to get unchecked
87
if (!allow_user_cancel_workspace_jobs) {
88
await userEvent.click(allowCancelJobsField);
0 commit comments