Dont remove whitespace

This commit is contained in:
Nikolaj Geisle
2022-10-17 11:10:05 +02:00
parent 3f07612306
commit 477f4724c7
2 changed files with 3 additions and 3 deletions

View File

@@ -65,7 +65,7 @@ test.describe('DataTypes', () => {
// Assert
const expected2 = '<p style="color:FF0000">Lorem ipsum dolor sit amet</p>';
await expect(await umbracoApi.content.verifyRenderedContent('/', expected2, true)).toBeTruthy();
await expect(await umbracoApi.content.verifyRenderedContent('/', expected2)).toBeTruthy();
// Clean
await umbracoApi.documentTypes.ensureNameNotExists(name);
@@ -176,7 +176,7 @@ test.describe('DataTypes', () => {
// Testing if the edits match the expected results
const expected = '<a href="/">UrlPickerContent</a>';
await expect(await umbracoApi.content.verifyRenderedContent('/', expected, true)).toBeTruthy();
await expect(await umbracoApi.content.verifyRenderedContent('/', expected)).toBeTruthy();
// Clean
await umbracoApi.documentTypes.ensureNameNotExists(urlPickerDocTypeName);

View File

@@ -50,7 +50,7 @@ test.describe('Modelsbuilder tests', () => {
await umbracoUi.clickElement(umbracoUi.getButtonByLabelKey(ConstantHelper.buttons.saveAndPublish));
await umbracoUi.isSuccessNotificationVisible();
// Ensure that we can render it on the frontend = we can compile the models and views
await umbracoApi.content.verifyRenderedContent("/", "<h1>Hello world!</h1>", true);
await umbracoApi.content.verifyRenderedContent("/", "<h1>Hello world!</h1>");
await umbracoApi.content.deleteAllContent();
await umbracoApi.documentTypes.ensureNameNotExists(docTypeName);