test: splits remaining field tests (#9959)
As field tests grow in size, they need to be moved out of the greater fields test spec and into their own standalone files for readability, maintainability, and speed. This way they we can write field tests in a more isolated environment, and they can run in parallel in CI.
This commit is contained in:
@@ -969,7 +969,7 @@ export interface ConditionalLogic {
|
||||
id: string;
|
||||
text: string;
|
||||
toggleField?: boolean | null;
|
||||
fieldToToggle?: string | null;
|
||||
fieldWithCondition?: string | null;
|
||||
userConditional?: string | null;
|
||||
parentGroup?: {
|
||||
enableParentGroupFields?: boolean | null;
|
||||
@@ -983,6 +983,23 @@ export interface ConditionalLogic {
|
||||
group2?: {
|
||||
group2Field?: string | null;
|
||||
};
|
||||
enableConditionalFields?: boolean | null;
|
||||
arrayWithConditionalField?:
|
||||
| {
|
||||
text?: string | null;
|
||||
textWithCondition?: string | null;
|
||||
id?: string | null;
|
||||
}[]
|
||||
| null;
|
||||
blocksWithConditionalField?:
|
||||
| {
|
||||
text?: string | null;
|
||||
textWithCondition?: string | null;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'blockWithConditionalField';
|
||||
}[]
|
||||
| null;
|
||||
updatedAt: string;
|
||||
createdAt: string;
|
||||
}
|
||||
@@ -2639,7 +2656,7 @@ export interface CollapsibleFieldsSelect<T extends boolean = true> {
|
||||
export interface ConditionalLogicSelect<T extends boolean = true> {
|
||||
text?: T;
|
||||
toggleField?: T;
|
||||
fieldToToggle?: T;
|
||||
fieldWithCondition?: T;
|
||||
userConditional?: T;
|
||||
parentGroup?:
|
||||
| T
|
||||
@@ -2659,6 +2676,26 @@ export interface ConditionalLogicSelect<T extends boolean = true> {
|
||||
| {
|
||||
group2Field?: T;
|
||||
};
|
||||
enableConditionalFields?: T;
|
||||
arrayWithConditionalField?:
|
||||
| T
|
||||
| {
|
||||
text?: T;
|
||||
textWithCondition?: T;
|
||||
id?: T;
|
||||
};
|
||||
blocksWithConditionalField?:
|
||||
| T
|
||||
| {
|
||||
blockWithConditionalField?:
|
||||
| T
|
||||
| {
|
||||
text?: T;
|
||||
textWithCondition?: T;
|
||||
id?: T;
|
||||
blockName?: T;
|
||||
};
|
||||
};
|
||||
updatedAt?: T;
|
||||
createdAt?: T;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user