From eb1ee0f735f8c50d3c7bca37fd31f6aac6e436f2 Mon Sep 17 00:00:00 2001 From: Olga Nad Date: Wed, 7 Sep 2022 10:56:33 -0500 Subject: [PATCH] fix: update tests description Signed-off-by: Olga Nad --- .../components/Launch/LaunchForm/test/LaunchTaskForm.test.tsx | 2 +- .../Launch/LaunchForm/test/LaunchWorkflowForm.test.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchTaskForm.test.tsx b/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchTaskForm.test.tsx index 90d5522ba..c0beae57f 100644 --- a/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchTaskForm.test.tsx +++ b/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchTaskForm.test.tsx @@ -242,7 +242,7 @@ describe('LaunchForm: Task', () => { await waitFor(() => expect(submitButton).not.toBeDisabled()); }); - it('should update validation errors while typing', async () => { + it('should show disable submit button if the value in input is invalid', async () => { const { container, getByLabelText } = renderForm(); await waitFor(() => {}); diff --git a/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchWorkflowForm.test.tsx b/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchWorkflowForm.test.tsx index 965795965..19c69b2eb 100644 --- a/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchWorkflowForm.test.tsx +++ b/packages/zapp/console/src/components/Launch/LaunchForm/test/LaunchWorkflowForm.test.tsx @@ -261,7 +261,7 @@ describe('LaunchForm: Workflow', () => { expect(submitButton).not.toBeDisabled(); }); - it('should update validation errors while typing', async () => { + it('should show disable submit button if the value in input is invalid', async () => { const { container, getByLabelText } = renderForm(); await waitFor(() => {});