mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-07-24 17:31:52 +00:00
[ACS-6412] remove excluded test for template issue (#4461)
* ACS-6412 remove excluded test for template issue * ACS-6412 fix locator * ACS-6412 fix locator * ACS-6412 fix locator * ACS-6412 test case fix * ACS-6412 locator mat selector fix * ACS-6412 locator mat selector fix
This commit is contained in:
@@ -51,7 +51,7 @@ test.describe('Create file from template', () => {
|
||||
let fileLink: string;
|
||||
const selectDialogTitle = 'Select a document template';
|
||||
const dialogBreadcrumb = 'Node Templates';
|
||||
const nameLabel = 'Name *';
|
||||
const nameLabel = 'Name';
|
||||
const titleLabel = 'Title';
|
||||
const descriptionLabel = 'Description';
|
||||
const emptyString = '';
|
||||
@@ -267,7 +267,7 @@ test.describe('Create file from template', () => {
|
||||
});
|
||||
|
||||
test('[XAT-5240] File name ending with a dot', async () => {
|
||||
await createFileFromTemplateDialog.getDialogLabel(nameLabel).fill(dotString);
|
||||
await createFileFromTemplateDialog.getDialogLabel(nameLabel).fill(template1InRoot + dotString);
|
||||
await createFileFromTemplateDialog.page.keyboard.press(tabKeyString);
|
||||
await expect(createFileFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(template1InRoot + dotString);
|
||||
expect
|
||||
|
@@ -52,7 +52,7 @@ test.describe('Create folder from template', () => {
|
||||
let folderLink: string;
|
||||
const selectDialogTitle = 'Select a folder template';
|
||||
const dialogBreadcrumb = 'Space Templates';
|
||||
const nameLabel = 'Name *';
|
||||
const nameLabel = 'Name';
|
||||
const titleLabel = 'Title';
|
||||
const descriptionLabel = 'Description';
|
||||
const emptyString = '';
|
||||
@@ -294,7 +294,7 @@ test.describe('Create folder from template', () => {
|
||||
});
|
||||
|
||||
test('[XAT-5262] Folder name ending with a dot', async () => {
|
||||
await createFolderFromTemplateDialog.getDialogLabel(nameLabel).fill(dotString);
|
||||
await createFolderFromTemplateDialog.getDialogLabel(nameLabel).fill(templateFolder1 + dotString);
|
||||
await createFolderFromTemplateDialog.page.keyboard.press(tabKeyString);
|
||||
await expect(createFolderFromTemplateDialog.getDialogLabel(nameLabel)).toHaveValue(templateFolder1 + dotString);
|
||||
expect
|
||||
|
Reference in New Issue
Block a user