Dont remove whitespace
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user