[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:
Akash Rathod
2025-03-19 12:03:24 +01:00
committed by GitHub
parent 9d22bf0efe
commit 3575974609
5 changed files with 13 additions and 60 deletions

View File

@@ -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

View File

@@ -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