Nathan.fooo cb149ec73d
test: add save date cell and checkbox cell (#2167)
* test: add save date cell and checkbox cell

* chore: add move field test

* ci: fix tauri build
2023-04-03 09:26:12 +08:00

65 lines
2.2 KiB
TypeScript

import React from 'react';
import {
RunAllGridTests,
TestCreateGrid,
TestCreateNewField,
TestCreateRow,
TestCreateSelectOptionInCell,
TestDeleteField,
TestDeleteRow,
TestEditCell,
TestEditCheckboxCell,
TestEditDateCell,
TestEditField,
TestEditTextCell,
TestEditURLCell,
TestGetSingleSelectFieldData,
TestMoveField,
TestSwitchFromMultiSelectToText,
TestSwitchFromSingleSelectToNumber,
} from './TestGrid';
import {
TestCreateKanbanBoard,
TestCreateKanbanBoardColumn,
TestCreateKanbanBoardRowInNoStatusGroup,
TestAllKanbanTests,
TestMoveKanbanBoardColumn,
TestMoveKanbanBoardRow,
} from './TestGroup';
import { TestCreateDocument } from './TestDocument';
export const TestAPI = () => {
return (
<React.Fragment>
<ul className='m-6, space-y-2'>
{/*<tests></tests>*/}
<RunAllGridTests></RunAllGridTests>
<TestCreateGrid></TestCreateGrid>
<TestCreateRow></TestCreateRow>
<TestDeleteRow></TestDeleteRow>
<TestEditCell></TestEditCell>
<TestEditTextCell></TestEditTextCell>
<TestEditURLCell></TestEditURLCell>
<TestEditDateCell></TestEditDateCell>
<TestEditCheckboxCell></TestEditCheckboxCell>
<TestCreateSelectOptionInCell></TestCreateSelectOptionInCell>
<TestGetSingleSelectFieldData></TestGetSingleSelectFieldData>
<TestEditField></TestEditField>
<TestMoveField></TestMoveField>
<TestCreateNewField></TestCreateNewField>
<TestDeleteField></TestDeleteField>
<TestSwitchFromSingleSelectToNumber></TestSwitchFromSingleSelectToNumber>
<TestSwitchFromMultiSelectToText></TestSwitchFromMultiSelectToText>
{/*kanban board */}
<TestAllKanbanTests></TestAllKanbanTests>
<TestCreateKanbanBoard></TestCreateKanbanBoard>
<TestCreateKanbanBoardRowInNoStatusGroup></TestCreateKanbanBoardRowInNoStatusGroup>
<TestMoveKanbanBoardRow></TestMoveKanbanBoardRow>
<TestMoveKanbanBoardColumn></TestMoveKanbanBoardColumn>
<TestCreateKanbanBoardColumn></TestCreateKanbanBoardColumn>
<TestCreateDocument></TestCreateDocument>
</ul>
</React.Fragment>
);
};