diff --git a/e2e/suites/actions/create-file-from-template.test.ts b/e2e/suites/actions/create-file-from-template.test.ts index 80537c409..a22409792 100755 --- a/e2e/suites/actions/create-file-from-template.test.ts +++ b/e2e/suites/actions/create-file-from-template.test.ts @@ -252,7 +252,7 @@ describe('Create file from template', () => { expect(await createFromTemplateDialog.getName()).toEqual(template1InRootFolder); await createFromTemplateDialog.deleteNameWithBackspace(); - expect(await createFromTemplateDialog.getValidationMessage()).toEqual('File name is required'); + expect(await createFromTemplateDialog.getValidationMessage()).toEqual('Name is required'); expect(await createFromTemplateDialog.isCreateButtonEnabled()).toBe(false, 'Create button is not disabled'); }); @@ -262,7 +262,7 @@ describe('Create file from template', () => { for (const name of namesWithSpecialChars) { await createFromTemplateDialog.enterName(name); expect(await createFromTemplateDialog.isCreateButtonEnabled()).toBe(false, 'Create button is not disabled'); - expect(await createFromTemplateDialog.getValidationMessage()).toContain(`File name can't contain these characters`); + expect(await createFromTemplateDialog.getValidationMessage()).toContain(`Name can't contain these characters`); } }); @@ -270,14 +270,14 @@ describe('Create file from template', () => { await createFromTemplateDialog.enterName('file-name.'); expect(await createFromTemplateDialog.isCreateButtonEnabled()).toBe(false, 'Create button is not disabled'); - expect(await createFromTemplateDialog.getValidationMessage()).toMatch(`File name can't end with a period .`); + expect(await createFromTemplateDialog.getValidationMessage()).toMatch(`Name can't end with a period .`); }); it('File name containing only spaces - [C325034]', async () => { await createFromTemplateDialog.enterName(' '); expect(await createFromTemplateDialog.isCreateButtonEnabled()).toBe(false, 'Create button is not disabled'); - expect(await createFromTemplateDialog.getValidationMessage()).toMatch(`File name can't contain only spaces`); + expect(await createFromTemplateDialog.getValidationMessage()).toMatch(`Name can't contain only spaces`); }); it('Title too long - [C290146]', async () => { diff --git a/src/assets/i18n/en.json b/src/assets/i18n/en.json index 8825d3e58..cfcd50a6a 100644 --- a/src/assets/i18n/en.json +++ b/src/assets/i18n/en.json @@ -377,10 +377,10 @@ "ERRORS": { "DESCRIPTION_TOO_LONG": "Use 512 characters or less for description", "TITLE_TOO_LONG": "Use 256 characters or less for title", - "REQUIRED": "File name is required", - "SPECIAL_CHARACTERS": "File name can't contain these characters * \" < > \\ / ? : |", - "ENDING_DOT": "File name can't end with a period .", - "ONLY_SPACES": "File name can't contain only spaces" + "REQUIRED": "Name is required", + "SPECIAL_CHARACTERS": "Name can't contain these characters * \" < > \\ / ? : |", + "ENDING_DOT": "Name can't end with a period .", + "ONLY_SPACES": "Name can't contain only spaces" } } },