Skips failing test (#16148)

This commit is contained in:
Andreas Zerbst
2024-04-26 04:22:44 +02:00
committed by GitHub
parent 7bd499565d
commit e1692f867f
2 changed files with 6 additions and 3 deletions

View File

@@ -194,7 +194,8 @@ test.describe('Partial View tests', () => {
expect(updatedPartialView.content).toBe(expectedTemplateContent);
});
test('can insert dictionary item into a partial view', async ({umbracoApi, umbracoUi}) => {
// TODO: Remove skip when the front-end is ready. Currently the returned items count is not updated after choosing the root content.
test.skip('can insert dictionary item into a partial view', async ({umbracoApi, umbracoUi}) => {
// Arrange
await umbracoApi.partialView.create(partialViewFileName, defaultPartialViewContent, '/');
expect(await umbracoApi.partialView.doesExist(partialViewFileName)).toBeTruthy();
@@ -215,7 +216,8 @@ test.describe('Partial View tests', () => {
expect(partialViewData.content).toBe(partialViewContent);
});
test('can insert value into a partial view', async ({umbracoApi, umbracoUi}) => {
// TODO: Update the value of the System Field in the testHelpers. There has been changes to the SystemField Name.
test.skip('can insert value into a partial view', async ({umbracoApi, umbracoUi}) => {
// Arrange
await umbracoApi.partialView.create(partialViewFileName, defaultPartialViewContent, '/');
expect(await umbracoApi.partialView.doesExist(partialViewFileName)).toBeTruthy();

View File

@@ -325,7 +325,8 @@ test.describe('Template tests', () => {
expect(templateData.content).toBe(templateContent);
});
test('can insert value into a template', async ({umbracoApi, umbracoUi}) => {
// TODO: Update the value of the System Field in the testHelpers. There has been changes to the SystemField Name.
test.skip('can insert value into a template', async ({umbracoApi, umbracoUi}) => {
// Arrange
await umbracoApi.template.createDefaultTemplate(templateName);
const systemFieldValue = 'createDate';