mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat: add formatting column and formatting object to conditional formating table (#35897)
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* under the License.
|
||||
*/
|
||||
import '@testing-library/jest-dom';
|
||||
import { ObjectFormattingEnum } from '@superset-ui/chart-controls';
|
||||
import {
|
||||
render,
|
||||
screen,
|
||||
@@ -1250,7 +1251,7 @@ describe('plugin-chart-table', () => {
|
||||
column: 'sum__num',
|
||||
operator: '>',
|
||||
targetValue: 2467,
|
||||
toAllRow: true,
|
||||
columnFormatting: ObjectFormattingEnum.ENTIRE_ROW,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1286,7 +1287,7 @@ describe('plugin-chart-table', () => {
|
||||
column: 'sum__num',
|
||||
operator: '>',
|
||||
targetValue: 2467,
|
||||
toTextColor: true,
|
||||
objectFormatting: ObjectFormattingEnum.TEXT_COLOR,
|
||||
},
|
||||
],
|
||||
},
|
||||
@@ -1319,8 +1320,8 @@ describe('plugin-chart-table', () => {
|
||||
column: 'sum__num',
|
||||
operator: '>',
|
||||
targetValue: 2467,
|
||||
toAllRow: true,
|
||||
toTextColor: true,
|
||||
columnFormatting: ObjectFormattingEnum.ENTIRE_ROW,
|
||||
objectFormatting: ObjectFormattingEnum.TEXT_COLOR,
|
||||
},
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user