@@ -67,7 +67,7 @@ exports[`FilesDrop when "loading" is set to false should show share information
admin shared this folder with you for uploading
-
+
diff --git a/tests/acceptance/pageObjects/personalPage.js b/tests/acceptance/pageObjects/personalPage.js
index 480dd78611c..a08eb6e86c5 100644
--- a/tests/acceptance/pageObjects/personalPage.js
+++ b/tests/acceptance/pageObjects/personalPage.js
@@ -406,10 +406,10 @@ module.exports = {
selector: '#files-file-upload-button'
},
fileUploadInput: {
- selector: '#fileUploadInput'
+ selector: '#files-file-upload-input'
},
folderUploadInput: {
- selector: '#folderUploadInput'
+ selector: '#files-folder-upload-input'
},
fileUploadProgress: {
selector: '#files-upload-progress'
diff --git a/tests/e2e/support/objects/app-files/page/public.ts b/tests/e2e/support/objects/app-files/page/public.ts
index 0bf0e9f7b87..efb4e315f2b 100644
--- a/tests/e2e/support/objects/app-files/page/public.ts
+++ b/tests/e2e/support/objects/app-files/page/public.ts
@@ -27,7 +27,7 @@ export class Public {
const startUrl = this.#page.url()
const resourceSelector = `[data-test-resource-name="%s"]`
await this.#page
- .locator('//input[@id="fileUploadInput"]')
+ .locator('//input[@id="files-file-upload-input"]')
.setInputFiles(resources.map((file) => file.path))
const names = resources.map((file) => path.basename(file.name))
await Promise.all(
diff --git a/tests/e2e/support/objects/app-files/resource/actions.ts b/tests/e2e/support/objects/app-files/resource/actions.ts
index 80b16c213df..3d16c1ad9e8 100644
--- a/tests/e2e/support/objects/app-files/resource/actions.ts
+++ b/tests/e2e/support/objects/app-files/resource/actions.ts
@@ -77,7 +77,7 @@ export const uploadResource = async (args: uploadResourceArgs): Promise
=>
}
await page.locator('#upload-menu-btn').click()
- await page.locator('#fileUploadInput').setInputFiles(resources.map((file) => file.path))
+ await page.locator('#files-file-upload-input').setInputFiles(resources.map((file) => file.path))
if (createVersion) {
await page.locator('.oc-modal-body-actions-confirm').click()