From 54b7bb6d5245c22bffd7f22ea321dd89ef6dad1e Mon Sep 17 00:00:00 2001 From: Junyi Date: Thu, 17 Oct 2024 09:38:48 +0800 Subject: [PATCH] fix(plugin-file-manager): fix e2e due to component changed (#5437) --- .../plugin-data-source-main/src/client/__e2e__/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/plugins/@nocobase/plugin-data-source-main/src/client/__e2e__/utils.ts b/packages/plugins/@nocobase/plugin-data-source-main/src/client/__e2e__/utils.ts index f858128762..5806ad18d2 100644 --- a/packages/plugins/@nocobase/plugin-data-source-main/src/client/__e2e__/utils.ts +++ b/packages/plugins/@nocobase/plugin-data-source-main/src/client/__e2e__/utils.ts @@ -331,7 +331,7 @@ export class CollectionSettings { } private async ['File storage'](value: string) { - await this.page.getByLabel('block-item-Select-collections-File storage').getByTestId('select-single').click(); + await this.page.getByLabel('block-item-RemoteSelect-collections-File storage').getByTestId('select-single').click(); await this.page.getByRole('option', { name: value }).click(); }