Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V14 QA Skipped failing acceptance test #15897

Merged
merged 1 commit into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ test.describe('Data Types basic functionalities tests', () => {
expect(await umbracoApi.dataType.doesNameExist(wrongDataTypeName)).toBeFalsy();
});

test('can delete a data type', async ({umbracoApi, umbracoUi}) => {
test.skip('can delete a data type', async ({umbracoApi, umbracoUi}) => {
// Arrange
await umbracoApi.dataType.create(dataTypeName, editorAlias, []);
expect(await umbracoApi.dataType.doesNameExist(dataTypeName)).toBeTruthy();
Expand All @@ -59,12 +59,12 @@ test.describe('Data Types basic functionalities tests', () => {
expect(await umbracoApi.dataType.doesNameExist(dataTypeName)).toBeFalsy();
});

test('can change Property Editor in a data type', async ({umbracoApi, umbracoUi}) => {
test.skip('can change Property Editor in a data type', async ({umbracoApi, umbracoUi}) => {
// Arrange
const updatedEditorName = 'Text Area';
const updatedEditorAlias = 'Umbraco.TextArea';
const updatedEditorUiAlias = 'Umb.PropertyEditorUi.TextArea';

await umbracoApi.dataType.create(dataTypeName, editorAlias, []);
expect(await umbracoApi.dataType.doesNameExist(dataTypeName)).toBeTruthy();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ test.describe('Data Types Folder tests', () => {
expect(await umbracoApi.dataType.doesNameExist(dataTypeFolderName)).toBeFalsy();
});

test('can create a data type in a folder', async ({umbracoApi, umbracoUi}) => {
test.skip('can create a data type in a folder', async ({umbracoApi, umbracoUi}) => {
// Arrange
let dataTypeFolderId = await umbracoApi.dataType.createFolder(dataTypeFolderName);
expect(await umbracoApi.dataType.doesNameExist(dataTypeFolderName)).toBeTruthy();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ for (const datePickerType of datePickerTypes) {
}
});

test(`can update offset time`, async ({ umbracoApi, umbracoUi }) => {
test.skip(`can update offset time`, async ({ umbracoApi, umbracoUi }) => {
// Arrange
const expectedDataTypeValues =
datePickerType === 'Date Picker'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ test.describe('Log Viewer tests', () => {
});

// Currently only works if the user is using the locale 'en-US' otherwise it will fail
test('can sort logs by timestamp', async ({umbracoApi, umbracoUi}) => {
test.skip('can sort logs by timestamp', async ({umbracoApi, umbracoUi}) => {
// Arrange
const locale = 'en-US';
const options: Intl.DateTimeFormatOptions = {
Expand All @@ -155,7 +155,7 @@ test.describe('Log Viewer tests', () => {
});

// Will fail if there is not enough logs.
test('can use pagination', async ({umbracoApi, umbracoUi}) => {
test.skip('can use pagination', async ({umbracoApi, umbracoUi}) => {
// Arrange
const secondPageLogs = await umbracoApi.logViewer.getLog(100, 100, 'Ascending');
const firstLogOnSecondPage = secondPageLogs.items[0].renderedMessage;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ test.describe('Created packages tests', () => {
await umbracoApi.package.ensureNameNotExists(packageName);
});

test('can create a empty package', async ({umbracoUi}) => {
test.skip('can create a empty package', async ({umbracoUi}) => {
// Act
await umbracoUi.package.clickCreatePackageButton();
await umbracoUi.package.enterPackageName(packageName);
Expand All @@ -26,7 +26,7 @@ test.describe('Created packages tests', () => {
await umbracoUi.package.isPackageNameVisible(packageName);
});

test('can update package name', async ({umbracoApi, umbracoUi}) => {
test.skip('can update package name', async ({umbracoApi, umbracoUi}) => {
// Arrange
const wrongPackageName = 'WrongPackageName';
await umbracoApi.package.ensureNameNotExists(wrongPackageName);
Expand All @@ -43,7 +43,7 @@ test.describe('Created packages tests', () => {
expect(umbracoApi.package.doesNameExist(packageName)).toBeTruthy();
});

test('can delete a package', async ({umbracoApi, umbracoUi}) => {
test.skip('can delete a package', async ({umbracoApi, umbracoUi}) => {
// Arrange
await umbracoApi.package.createEmptyPackage(packageName);
await umbracoUi.reloadPage();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ test.describe('Relation types tests', () => {
await umbracoApi.relationType.ensureNameNotExists(relationTypeName);
});

test('can create a relation type', async ({umbracoApi, umbracoUi}) => {
test.skip('can create a relation type', async ({umbracoApi, umbracoUi}) => {
// Act
await umbracoUi.relationType.clickActionsMenuAtRoot();
await umbracoUi.relationType.clickCreateButton();
Expand Down Expand Up @@ -82,7 +82,7 @@ test.describe('Relation types tests', () => {
expect(relationTypeData.isDependency).toEqual(true);
});

test('can delete a relation type', async ({umbracoApi, umbracoUi}) => {
test.skip('can delete a relation type', async ({umbracoApi, umbracoUi}) => {
// Arrange
await umbracoApi.relationType.create(relationTypeName, false, false, objectTypeId, objectTypeId);

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ test.describe('Partial View tests', () => {
await expect(umbracoUi.partialView.checkItemNameUnderPartialViewTree(partialViewFileName)).toBeVisible();
})

test('can create a partial view from snippet', async ({umbracoApi, umbracoUi}) => {
test.skip('can create a partial view from snippet', async ({umbracoApi, umbracoUi}) => {
// Arrange
const expectedPartialViewContent = '@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage\n@using Umbraco.Cms.Core.Routing\n@using Umbraco.Extensions\n\n@inject IPublishedUrlProvider PublishedUrlProvider\n@*\n This snippet makes a breadcrumb of parents using an unordered HTML list.\n\n How it works:\n - It uses the Ancestors() method to get all parents and then generates links so the visitor can go back\n - Finally it outputs the name of the current page (without a link)\n*@\n\n@{ var selection = Model.Ancestors().ToArray(); }\n\n@if (selection?.Length > 0)\n{\n <ul class=\"breadcrumb\">\n @* For each page in the ancestors collection which have been ordered by Level (so we start with the highest top node first) *@\n @foreach (var item in selection.OrderBy(x => x.Level))\n {\n <li><a href=\"@item.Url(PublishedUrlProvider)\">@item.Name</a> <span class=\"divider\">/</span></li>\n }\n\n @* Display the current page as the last item in the list *@\n <li class=\"active\">@Model.Name</li>\n </ul>\n}';

// Act
await umbracoUi.partialView.clickActionsMenuAtRoot();
await umbracoUi.partialView.clickCreateThreeDotsButton();
Expand All @@ -57,7 +57,7 @@ test.describe('Partial View tests', () => {
await expect(umbracoUi.partialView.checkItemNameUnderPartialViewTree(partialViewFileName)).toBeVisible();
});

test('can update a partial view name', async ({umbracoApi, umbracoUi}) => {
test.skip('can update a partial view name', async ({umbracoApi, umbracoUi}) => {
// Arrange
const wrongPartialViewName = 'WrongName';
const wrongPartialViewFileName = wrongPartialViewName + '.cshtml';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test.describe('Template tests', () => {
await umbracoApi.template.ensureNameNotExists(templateName);
});

test('can create a template', async ({umbracoApi, umbracoUi}) => {
test.skip('can create a template', async ({umbracoApi, umbracoUi}) => {
// Act
await umbracoUi.template.clickActionsMenuAtRoot();
await umbracoUi.template.clickNewTemplateButton();
Expand Down Expand Up @@ -96,7 +96,7 @@ test.describe('Template tests', () => {
await umbracoApi.template.ensureNameNotExists(childTemplateName);
});

test('can use query builder for a template', async ({umbracoApi, umbracoUi}) => {
test.skip('can use query builder for a template', async ({umbracoApi, umbracoUi}) => {
// Arrange
const templateAlias = AliasHelper.toAlias(templateName);
await umbracoApi.template.create(templateName, templateAlias, '');
Expand Down
Loading