diff --git a/tests/e2e/support/objects/app-files/page/public.ts b/tests/e2e/support/objects/app-files/page/public.ts index 56198384fad..2f5e85a3338 100644 --- a/tests/e2e/support/objects/app-files/page/public.ts +++ b/tests/e2e/support/objects/app-files/page/public.ts @@ -23,7 +23,7 @@ export class Public { async upload({ resources }: { resources: File[] }): Promise { await this.#page - .locator('//input[@id="file_upload_start" or @class="dz-hidden-input"]') + .locator('//input[@id="fileUploadInput"]') .setInputFiles(resources.map((file) => file.path)) } }