Skip to content
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
967 changes: 489 additions & 478 deletions src/Umbraco.Web.UI.Client/package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/Umbraco.Web.UI.Client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,8 @@
"@tiptap/pm": "2.11.5",
"@tiptap/starter-kit": "2.11.5",
"@types/diff": "^7.0.1",
"@umbraco-ui/uui": "^1.12.2",
"@umbraco-ui/uui-css": "^1.12.1",
"@umbraco-ui/uui": "^1.13.0-rc.1",
"@umbraco-ui/uui-css": "^1.13.0-rc.0",
"diff": "^7.0.0",
"dompurify": "^3.2.4",
"element-internals-polyfill": "^1.3.13",
Expand Down
8 changes: 4 additions & 4 deletions tests/Umbraco.Tests.AcceptanceTest/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tests/Umbraco.Tests.AcceptanceTest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
},
"dependencies": {
"@umbraco/json-models-builders": "^2.0.29",
"@umbraco/playwright-testhelpers": "^15.0.29",
"@umbraco/playwright-testhelpers": "^15.0.30",
"camelize": "^1.0.0",
"dotenv": "^16.3.1",
"node-fetch": "^2.6.7"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ test('can include label', async ({umbracoApi, umbracoUi}) => {
await umbracoUi.dataType.goToDataType(dataTypeName);

// Act
await umbracoUi.dataType.clickIncludeLabelsSlider();
await umbracoUi.dataType.clickIncludeLabelsToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test('can show open button', async ({umbracoApi, umbracoUi}) => {
await umbracoUi.dataType.goToDataType(dataTypeName);

// Act
await umbracoUi.dataType.clickShowOpenButtonSlider();
await umbracoUi.dataType.clickShowOpenButtonToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand All @@ -43,7 +43,7 @@ test('can ignore user start nodes', async ({umbracoApi, umbracoUi}) => {
await umbracoUi.dataType.goToDataType(dataTypeName);

// Act
await umbracoUi.dataType.clickIgnoreUserStartNodesSlider();
await umbracoUi.dataType.clickIgnoreUserStartNodesToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ for (const datePickerType of datePickerTypes) {
];

// Act
await umbracoUi.dataType.clickOffsetTimeSlider();
await umbracoUi.dataType.clickOffsetTimeToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import {expect} from "@playwright/test";

const dataTypeName = 'Dropdown';
let dataTypeDefaultData = null;
let dataTypeDefaultData = null;
let dataTypeData = null;

test.beforeEach(async ({umbracoUi, umbracoApi}) => {
Expand All @@ -13,8 +13,8 @@ test.beforeEach(async ({umbracoUi, umbracoApi}) => {

test.afterEach(async ({umbracoApi}) => {
if (dataTypeDefaultData !== null) {
await umbracoApi.dataType.update(dataTypeDefaultData.id, dataTypeDefaultData);
}
await umbracoApi.dataType.update(dataTypeDefaultData.id, dataTypeDefaultData);
}
});

test('can enable multiple choice', async ({umbracoApi, umbracoUi}) => {
Expand All @@ -26,11 +26,11 @@ test('can enable multiple choice', async ({umbracoApi, umbracoUi}) => {
// Remove all existing options
dataTypeData = await umbracoApi.dataType.getByName(dataTypeName);
dataTypeData.values = [];
await umbracoApi.dataType.update(dataTypeData.id, dataTypeData);
await umbracoApi.dataType.update(dataTypeData.id, dataTypeData);
await umbracoUi.dataType.goToDataType(dataTypeName);

// Act
await umbracoUi.dataType.clickEnableMultipleChoiceSlider();
await umbracoUi.dataType.clickEnableMultipleChoiceToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand All @@ -50,7 +50,7 @@ test('can add option', async ({umbracoApi, umbracoUi}) => {
// Remove all existing options
dataTypeData = await umbracoApi.dataType.getByName(dataTypeName);
dataTypeData.values = [];
await umbracoApi.dataType.update(dataTypeData.id, dataTypeData);
await umbracoApi.dataType.update(dataTypeData.id, dataTypeData);
await umbracoUi.dataType.goToDataType(dataTypeName);

// Act
Expand All @@ -75,7 +75,7 @@ test('can remove option', async ({umbracoApi, umbracoUi}) => {
// Remove all existing options and add an option to remove
dataTypeData = await umbracoApi.dataType.getByName(dataTypeName);
dataTypeData.values = removedOptionValues;
await umbracoApi.dataType.update(dataTypeData.id, dataTypeData);
await umbracoApi.dataType.update(dataTypeData.id, dataTypeData);
await umbracoUi.dataType.goToDataType(dataTypeName);

// Act
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ for (const listViewType of listViewTypes) {

// Act
await umbracoUi.dataType.goToDataType(listViewType);
await umbracoUi.dataType.clickBulkActionPermissionsSliderByValue(bulkActionPermissionValue);
await umbracoUi.dataType.clickBulkActionPermissionsToggleByValue(bulkActionPermissionValue);
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down Expand Up @@ -262,7 +262,7 @@ for (const listViewType of listViewTypes) {

// Act
await umbracoUi.dataType.goToDataType(listViewType);
await umbracoUi.dataType.clickShowContentWorkspaceViewFirstSlider();
await umbracoUi.dataType.clickShowContentWorkspaceViewFirstToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand All @@ -280,7 +280,7 @@ for (const listViewType of listViewTypes) {

// Act
await umbracoUi.dataType.goToDataType(listViewType);
await umbracoUi.dataType.clickEditInInfiniteEditorSlider();
await umbracoUi.dataType.clickEditInInfiniteEditorToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ for (const dataTypeName of dataTypes) {

// Act
await umbracoUi.dataType.goToDataType(dataTypeName);
await umbracoUi.dataType.clickPickMultipleItemsSlider();
await umbracoUi.dataType.clickPickMultipleItemsToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down Expand Up @@ -67,7 +67,7 @@ for (const dataTypeName of dataTypes) {

// Act
await umbracoUi.dataType.goToDataType(dataTypeName);
await umbracoUi.dataType.clickEnableFocalPointSlider();
await umbracoUi.dataType.clickEnableFocalPointToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down Expand Up @@ -118,7 +118,7 @@ for (const dataTypeName of dataTypes) {

// Act
await umbracoUi.dataType.goToDataType(dataTypeName);
await umbracoUi.dataType.clickIgnoreUserStartNodesSlider();
await umbracoUi.dataType.clickIgnoreUserStartNodesToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ test.beforeEach(async ({umbracoUi, umbracoApi}) => {

test.afterEach(async ({umbracoApi}) => {
if (dataTypeDefaultData !== null) {
await umbracoApi.dataType.update(dataTypeDefaultData.id, dataTypeDefaultData);
}
await umbracoApi.dataType.update(dataTypeDefaultData.id, dataTypeDefaultData);
}
});

test('can update minimum number of items value', async ({umbracoApi, umbracoUi}) => {
Expand Down Expand Up @@ -60,7 +60,7 @@ test('can enable ignore user start nodes', async ({umbracoApi, umbracoUi}) => {
};

// Act
await umbracoUi.dataType.clickIgnoreUserStartNodesSlider();
await umbracoUi.dataType.clickIgnoreUserStartNodesToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down Expand Up @@ -93,7 +93,7 @@ test('can update hide anchor/query string input', async ({umbracoApi, umbracoUi}
};

// Act
await umbracoUi.dataType.clickHideAnchorQueryStringInputSlider();
await umbracoUi.dataType.clickHideAnchorQueryStringInputToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ test.skip('can allow decimals', async ({umbracoApi, umbracoUi}) => {
};

// Act
await umbracoUi.dataType.clickAllowDecimalsSlider();
await umbracoUi.dataType.clickAllowDecimalsToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ test('can enable hide label', async ({umbracoApi, umbracoUi}) => {
await umbracoUi.dataType.goToDataType(tinyMCEName);

// Act
await umbracoUi.dataType.clickHideLabelSlider();
await umbracoUi.dataType.clickHideLabelToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down Expand Up @@ -278,7 +278,7 @@ test('can enable ignore user start nodes', async ({umbracoApi, umbracoUi}) => {
await umbracoUi.dataType.goToDataType(tinyMCEName);

// Act
await umbracoUi.dataType.clickIgnoreUserStartNodesSlider();
await umbracoUi.dataType.clickIgnoreUserStartNodesToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ test('can enable ignore user start nodes', async ({umbracoApi, umbracoUi}) => {
await umbracoUi.dataType.goToDataType(tipTapName);

// Act
await umbracoUi.dataType.clickIgnoreUserStartNodesSlider();
await umbracoUi.dataType.clickIgnoreUserStartNodesToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ test('can update preset value state', async ({umbracoApi, umbracoUi}) => {
};

// Act
await umbracoUi.dataType.clickPresetValueSlider();
await umbracoUi.dataType.clickPresetValueToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand All @@ -42,7 +42,7 @@ test('can update show toggle labels', async ({umbracoApi, umbracoUi}) => {
};

// Act
await umbracoUi.dataType.clickShowToggleLabelsSlider();
await umbracoUi.dataType.clickShowToggleLabelsToggle();
await umbracoUi.dataType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ test('can enable approved', async ({umbracoApi, umbracoUi}) => {

// Act
await umbracoUi.member.clickMemberLinkByName(memberName);
await umbracoUi.member.clickApprovedSlider();
await umbracoUi.member.clickApprovedToggle();
await umbracoUi.member.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ test.skip('can update isDependency value of a relation type', async ({umbracoApi

// Act
await umbracoUi.relationType.openRelationTypeByNameAtRoot(relationTypeName);
await umbracoUi.relationType.clickIsDependencySlider();
await umbracoUi.relationType.clickIsDependencyToggle();
await umbracoUi.relationType.clickSaveButton();

// Assert
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ test.beforeEach(async ({umbracoUi}) => {

test('can update value of activate the profiler by default', async ({umbracoUi}) => {
// Act
await umbracoUi.profiling.clickActivateProfilerByDefaultSlider();
await umbracoUi.profiling.clickActivateProfilerByDefaultToggle();
await umbracoUi.reloadPage();

// Assert
await umbracoUi.profiling.isActivateProfilerByDefaultSliderChecked(true);
await umbracoUi.profiling.isActivateProfilerByDefaultToggleChecked(true);
});
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ test('can set is mandatory for a property in a document type', {tag: '@smoke'},
// Act
await umbracoUi.documentType.goToDocumentType(documentTypeName);
await umbracoUi.documentType.clickEditorSettingsButton();
await umbracoUi.documentType.clickMandatorySlider();
await umbracoUi.documentType.clickMandatoryToggle();
await umbracoUi.documentType.clickSubmitButton();
await umbracoUi.documentType.clickSaveButton();

Expand Down Expand Up @@ -403,7 +403,7 @@ test('can allow vary by culture for a property in a document type', {tag: '@smok
// Act
await umbracoUi.documentType.goToDocumentType(documentTypeName);
await umbracoUi.documentType.clickEditorSettingsButton();
await umbracoUi.documentType.clickVaryByCultureSlider();
await umbracoUi.documentType.clickVaryByCultureToggle();
await umbracoUi.documentType.clickSubmitButton();
await umbracoUi.documentType.clickSaveButton();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ test('can set a property as mandatory in a media type', {tag: '@smoke'}, async (
// Act
await umbracoUi.mediaType.goToMediaType(mediaTypeName);
await umbracoUi.mediaType.clickEditorSettingsButton();
await umbracoUi.mediaType.clickMandatorySlider();
await umbracoUi.mediaType.clickMandatoryToggle();
await umbracoUi.mediaType.clickSubmitButton();
await umbracoUi.mediaType.clickSaveButton();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ test('can allow access to all documents for a user', async ({umbracoApi, umbraco

// Act
await umbracoUi.user.clickUserWithName(nameOfTheUser);
await umbracoUi.user.clickAllowAccessToAllDocumentsSlider();
await umbracoUi.user.clickAllowAccessToAllDocumentsToggle();
await umbracoUi.user.clickSaveButton();

// Assert
Expand All @@ -336,7 +336,7 @@ test('can allow access to all media for a user', async ({umbracoApi, umbracoUi})

// Act
await umbracoUi.user.clickUserWithName(nameOfTheUser);
await umbracoUi.user.clickAllowAccessToAllMediaSlider();
await umbracoUi.user.clickAllowAccessToAllMediaToggle();
await umbracoUi.user.clickSaveButton();

// Assert
Expand Down
Loading