Project

General

Profile

Actions

Bug #40399

closed

mgr/dashboard: Reduce code duplication through TableActionComponent Unit Tests

Added by Patrick Seidensal almost 5 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% Done:

90%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

The test code for TableActionsComponent is reused at least 7 times across the modules which implement it. This results in duplicated code. With a refactoring, we could save at least 1000 lines of code in frontend unit tests.

Actions #1

Updated by Patrick Seidensal almost 5 years ago

  • Subject changed from mgr/dashboard: Reduce code duplication in TableActionComponent Unit Tests to mgr/dashboard: Reduce code duplication through TableActionComponent Unit Tests
Actions #2

Updated by Patrick Seidensal almost 5 years ago

  • Status changed from In Progress to Fix Under Review
  • % Done changed from 0 to 90
  • Pull request ID set to 28633
Actions #3

Updated by Ricardo Marques almost 5 years ago

  • Status changed from Fix Under Review to Resolved
  • Target version set to v15.0.0
Actions #4

Updated by Ernesto Puerta about 3 years ago

  • Project changed from mgr to Dashboard
Actions

Also available in: Atom PDF