Project

General

Profile

Actions

Idea #15603

open

[Workbench 2] Update Fileupload component to new error reporting & unit test architecture

Added by Tom Morris over 4 years ago. Updated about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
Start date:
Due date:
Story points:
3.0
Release:
Release relationship:
Auto

Description

  • Create error handling middleware and update any file upload functionality to use it where appropriate.
  • Create unit tests for the reducer and action creators and use enzyme to test UI component interaction with state. This will not include end to end testing of file uploading.
  • Make sure action creators that result in async calls follow the pattern of START_ACTION, ACTION_SUCCESS, ACTION_FAILED, and use the error handling middleware if it failed.
  • Take the opportunity to try React-Testing-Library instead of Enzyme.

Subtasks 1 (0 open1 closed)

Arvados - Task #15666: ReviewClosedPeter Amstutz11/09/2022Actions

Related issues

Related to Arvados - Idea #15581: [Workbench2] Improve error handling and reporting ResolvedActions
Actions

Also available in: Atom PDF