diff --git a/e2e/README.md b/e2e/README.md index 881d8d23279..33491b7ebde 100644 --- a/e2e/README.md +++ b/e2e/README.md @@ -426,7 +426,7 @@ By adhering to this principle, we can create tests that are both robust and refl // Fill the "Notes" section with information about the // currently running test and its project. const { testNotes } = page; - const notesInput = page.locator('form[name="mctForm"] #notes-textarea'); + const notesInput = page.locator('form[name="mctForm"] #form-notes'); await notesInput.fill(testNotes); ``` diff --git a/e2e/appActions.js b/e2e/appActions.js index 7bb82726f20..89e617d71b5 100644 --- a/e2e/appActions.js +++ b/e2e/appActions.js @@ -93,7 +93,7 @@ async function createDomainObjectWithDefaults(page, { type, name, parent = 'mine // Fill the "Notes" section with information about the // currently running test and its project. // eslint-disable-next-line playwright/no-raw-locators - await page.locator('#notes-textarea').fill(page.testNotes); + await page.locator('#form-notes').fill(page.testNotes); } await page.getByRole('button', { name: 'Save' }).click(); diff --git a/e2e/tests/functional/forms.e2e.spec.js b/e2e/tests/functional/forms.e2e.spec.js index bda12a48944..6523496eba3 100644 --- a/e2e/tests/functional/forms.e2e.spec.js +++ b/e2e/tests/functional/forms.e2e.spec.js @@ -223,8 +223,8 @@ test.describe('Persistence operations @couchdb @network', () => { // Both pages: Fill the "Notes" section with information about the // currently running test and its project. const testNotes = page.testNotes; - const notesInput = page.locator('form[name="mctForm"] #notes-textarea'); - const notesInput2 = page2.locator('form[name="mctForm"] #notes-textarea'); + const notesInput = page.locator('form[name="mctForm"] #form-notes'); + const notesInput2 = page2.locator('form[name="mctForm"] #form-notes'); await Promise.all([notesInput.fill(testNotes), notesInput2.fill(testNotes)]); // Page 2: Click "OK" to create the domain object and wait for navigation. diff --git a/src/api/forms/components/FormRow.vue b/src/api/forms/components/FormRow.vue index ce1c88e403d..a940de144c0 100644 --- a/src/api/forms/components/FormRow.vue +++ b/src/api/forms/components/FormRow.vue @@ -22,7 +22,11 @@