From 80b71c4a7b06696fa2c036290081a585fa846976 Mon Sep 17 00:00:00 2001 From: katherinehhh Date: Thu, 11 Jan 2024 16:51:22 +0800 Subject: [PATCH] test: collection selector test (#3371) * test: collection selector test * test: collection selector test --- .../src/client/__e2e__/collection-template/general.test.ts | 2 +- .../plugin-collection-manager/src/client/__e2e__/utils.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/collection-template/general.test.ts b/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/collection-template/general.test.ts index 0b878de7bd..d9dd576190 100644 --- a/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/collection-template/general.test.ts +++ b/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/collection-template/general.test.ts @@ -227,7 +227,7 @@ test.describe('configure fields', () => { // JSON await addField('JSON'); // Collection - await addField('Collection'); + await addField('Collection selector'); async function addField(fieldType: FieldInterface) { const value = uid(); diff --git a/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/utils.ts b/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/utils.ts index 982d526790..e69d8b1e3f 100644 --- a/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/utils.ts +++ b/packages/plugins/@nocobase/plugin-collection-manager/src/client/__e2e__/utils.ts @@ -392,7 +392,7 @@ export type FieldInterface = | 'Formula' | 'Sequence' | 'JSON' - | 'Collection' + | 'Collection selector' | 'ID' | 'Table OID' | 'Created at'