Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
jisoolee committed Oct 5, 2023
1 parent 3f224c6 commit 852e4ad
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/api/customRuns.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@ function getCustomRunsAPI({ filters, isWebSocket, name, namespace }) {
}

export function getCustomRunPayload({
customRunName = `run-${Date.now()}`,
labels,
namespace,
params,
serviceAccount,
customRunName = `run-${Date.now()}`,
timeout
}) {
const payload = {
Expand Down
4 changes: 2 additions & 2 deletions src/containers/CreateCustomRun/CreateCustomRun.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ function CreateCustomRun() {

const [{ kind, labels, namespace, params }] = useState({
...initialState,
customRef: '',
kind: 'Custom',
namespace: getNamespace(),
customRef: ''
namespace: getNamespace()
});

useTitleSync({
Expand Down
3 changes: 0 additions & 3 deletions src/containers/CreateCustomRun/CreateCustomRun.test.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,6 @@ describe('CreateCustomRun yaml mode', () => {
timeout: 3000
}
);
// await waitFor(() => {
// expect(queryAllByText(/Loading/).length).toBe(0);
// });
await waitFor(() => {
expect(getByRole(/textbox/)).toBeTruthy();
});
Expand Down

0 comments on commit 852e4ad

Please sign in to comment.