Project

General

Profile

Actions

Story #15603

open

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

Added by Tom Morris over 5 years ago. Updated almost 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
11/09/2022
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
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/2022

Actions

Related issues 1 (0 open1 closed)

Related to Arvados - Story #15581: [Workbench2] Improve error handling and reporting Resolved

Actions
Actions

Also available in: Atom PDF