@umbraco/playwright-testhelpers 15.0.28 → 15.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/helpers/ContentUiHelper.d.ts +16 -0
- package/dist/lib/helpers/ContentUiHelper.js +80 -5
- package/dist/lib/helpers/ContentUiHelper.js.map +1 -1
- package/dist/lib/helpers/DataTypeApiHelper.d.ts +5 -0
- package/dist/lib/helpers/DataTypeApiHelper.js +54 -0
- package/dist/lib/helpers/DataTypeApiHelper.js.map +1 -1
- package/dist/lib/helpers/DataTypeUiHelper.d.ts +29 -29
- package/dist/lib/helpers/DataTypeUiHelper.js +69 -69
- package/dist/lib/helpers/DataTypeUiHelper.js.map +1 -1
- package/dist/lib/helpers/DocumentApiHelper.d.ts +1 -0
- package/dist/lib/helpers/DocumentApiHelper.js +7 -0
- package/dist/lib/helpers/DocumentApiHelper.js.map +1 -1
- package/dist/lib/helpers/DocumentTypeUiHelper.d.ts +2 -2
- package/dist/lib/helpers/DocumentTypeUiHelper.js +5 -5
- package/dist/lib/helpers/DocumentTypeUiHelper.js.map +1 -1
- package/dist/lib/helpers/FormsUiHelper.js +7 -7
- package/dist/lib/helpers/FormsUiHelper.js.map +1 -1
- package/dist/lib/helpers/LanguageUiHelper.js +2 -2
- package/dist/lib/helpers/LanguageUiHelper.js.map +1 -1
- package/dist/lib/helpers/MemberUiHelper.d.ts +6 -6
- package/dist/lib/helpers/MemberUiHelper.js +12 -12
- package/dist/lib/helpers/MemberUiHelper.js.map +1 -1
- package/dist/lib/helpers/NotificationConstantHelper.d.ts +1 -0
- package/dist/lib/helpers/NotificationConstantHelper.js +2 -1
- package/dist/lib/helpers/NotificationConstantHelper.js.map +1 -1
- package/dist/lib/helpers/ProfilingUiHelper.d.ts +3 -3
- package/dist/lib/helpers/ProfilingUiHelper.js +5 -5
- package/dist/lib/helpers/ProfilingUiHelper.js.map +1 -1
- package/dist/lib/helpers/RelationTypeUiHelper.d.ts +2 -2
- package/dist/lib/helpers/RelationTypeUiHelper.js +4 -4
- package/dist/lib/helpers/RelationTypeUiHelper.js.map +1 -1
- package/dist/lib/helpers/TelemetryDataUiHelper.d.ts +1 -1
- package/dist/lib/helpers/TelemetryDataUiHelper.js +4 -4
- package/dist/lib/helpers/TelemetryDataUiHelper.js.map +1 -1
- package/dist/lib/helpers/UiBaseLocators.d.ts +2 -2
- package/dist/lib/helpers/UiBaseLocators.js +4 -4
- package/dist/lib/helpers/UiBaseLocators.js.map +1 -1
- package/dist/lib/helpers/UserUiHelper.d.ts +4 -4
- package/dist/lib/helpers/UserUiHelper.js +8 -8
- package/dist/lib/helpers/UserUiHelper.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -7,10 +7,10 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
7
7
|
private readonly dataTypeNameTxt;
|
|
8
8
|
private readonly createDataTypeFolderBtn;
|
|
9
9
|
private readonly updateDataTypeFolderBtn;
|
|
10
|
-
private readonly
|
|
10
|
+
private readonly includeLabelsToggle;
|
|
11
11
|
private readonly addColorBtn;
|
|
12
12
|
private readonly colorValueTxt;
|
|
13
|
-
private readonly
|
|
13
|
+
private readonly offsetTimeToggle;
|
|
14
14
|
private readonly dateFormatTxt;
|
|
15
15
|
private readonly pageSizeTxt;
|
|
16
16
|
private readonly ascendingRadioBtn;
|
|
@@ -18,8 +18,8 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
18
18
|
private readonly chooseColumnsDisplayedBtn;
|
|
19
19
|
private readonly workspaceViewName;
|
|
20
20
|
private readonly orderByDropDownBox;
|
|
21
|
-
private readonly
|
|
22
|
-
private readonly
|
|
21
|
+
private readonly showWorkspaceViewFirstToggle;
|
|
22
|
+
private readonly editInInfiniteEditorToggle;
|
|
23
23
|
private readonly aliasTxt;
|
|
24
24
|
private readonly widthTxt;
|
|
25
25
|
private readonly heightTxt;
|
|
@@ -38,11 +38,11 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
38
38
|
private readonly addAcceptedFileExtensionsBtn;
|
|
39
39
|
private readonly minimumNumberOfItemsTxt;
|
|
40
40
|
private readonly maximumNumberOfItemsTxt;
|
|
41
|
-
private readonly
|
|
41
|
+
private readonly ignoreUserStartNodesToggle;
|
|
42
42
|
private readonly overlaySizeDropDownBox;
|
|
43
|
-
private readonly
|
|
44
|
-
private readonly
|
|
45
|
-
private readonly
|
|
43
|
+
private readonly hideAnchorQueryStringInputToggle;
|
|
44
|
+
private readonly pickMultipleItemsToggle;
|
|
45
|
+
private readonly enableFocalPointToggle;
|
|
46
46
|
private readonly amountLowValueTxt;
|
|
47
47
|
private readonly amountHighValueTxt;
|
|
48
48
|
private readonly toolbarCheckboxes;
|
|
@@ -50,20 +50,20 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
50
50
|
private readonly dimensionsWidthTxt;
|
|
51
51
|
private readonly dimensionsHeightTxt;
|
|
52
52
|
private readonly maxImageSizeTxt;
|
|
53
|
-
private readonly
|
|
53
|
+
private readonly hideLabelToggle;
|
|
54
54
|
private readonly defineTagGroupTxt;
|
|
55
|
-
private readonly
|
|
56
|
-
private readonly
|
|
55
|
+
private readonly showOpenButtonToggle;
|
|
56
|
+
private readonly enableMultipleChoiceToggle;
|
|
57
57
|
private readonly addOptionsBtn;
|
|
58
|
-
private readonly
|
|
59
|
-
private readonly
|
|
58
|
+
private readonly presetValueToggle;
|
|
59
|
+
private readonly showToggleLabelsToggle;
|
|
60
60
|
private readonly labelOnTxt;
|
|
61
61
|
private readonly labelOffTxt;
|
|
62
62
|
private readonly labelTxt;
|
|
63
63
|
private readonly chooseAcceptedTypesBtn;
|
|
64
64
|
private readonly chooseWithPlusBtn;
|
|
65
65
|
private readonly storageTypeDropDownBox;
|
|
66
|
-
private readonly
|
|
66
|
+
private readonly allowDecimalsToggle;
|
|
67
67
|
private readonly chooseLayoutsBtn;
|
|
68
68
|
private readonly columnsDisplayedItems;
|
|
69
69
|
private readonly layoutsItems;
|
|
@@ -151,11 +151,11 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
151
151
|
addContentStartNode(contentName: string): Promise<void>;
|
|
152
152
|
clickSelectAPropertyEditorButton(): Promise<void>;
|
|
153
153
|
selectAPropertyEditor(propertyName: string, filterKeyword?: string): Promise<void>;
|
|
154
|
-
|
|
154
|
+
clickIncludeLabelsToggle(): Promise<void>;
|
|
155
155
|
removeColorByValue(value: string): Promise<void>;
|
|
156
156
|
addColor(value: string): Promise<void>;
|
|
157
157
|
changeValueType(valueType: string): Promise<void>;
|
|
158
|
-
|
|
158
|
+
clickOffsetTimeToggle(): Promise<void>;
|
|
159
159
|
enterDateFormatValue(value: string): Promise<void>;
|
|
160
160
|
enterPageSizeValue(value: string): Promise<void>;
|
|
161
161
|
chooseOrderDirection(isAscending: boolean): Promise<void>;
|
|
@@ -165,9 +165,9 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
165
165
|
removeLayouts(layoutAlias: string): Promise<void>;
|
|
166
166
|
chooseOrderByValue(value: string): Promise<void>;
|
|
167
167
|
enterWorkspaceViewName(name: string): Promise<void>;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
168
|
+
clickShowContentWorkspaceViewFirstToggle(): Promise<void>;
|
|
169
|
+
clickEditInInfiniteEditorToggle(): Promise<void>;
|
|
170
|
+
clickBulkActionPermissionsToggleByValue(value: string): Promise<void>;
|
|
171
171
|
clickSelectIconButton(): Promise<void>;
|
|
172
172
|
chooseWorkspaceViewIconByValue(value: string): Promise<void>;
|
|
173
173
|
enterCropValues(label: string, alias: string, width: string, height: string): Promise<void>;
|
|
@@ -178,7 +178,7 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
178
178
|
enterMinimumValue(value: string): Promise<void>;
|
|
179
179
|
enterMaximumValue(value: string): Promise<void>;
|
|
180
180
|
enterStepSizeValue(value: string): Promise<void>;
|
|
181
|
-
|
|
181
|
+
clickAllowDecimalsToggle(): Promise<void>;
|
|
182
182
|
removeOptionByName(name: string): Promise<void>;
|
|
183
183
|
enterOptionName(name: string): Promise<void>;
|
|
184
184
|
clickAddOptionButton(): Promise<void>;
|
|
@@ -191,11 +191,11 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
191
191
|
clickAddAcceptedFileExtensionsButton(): Promise<void>;
|
|
192
192
|
enterMinimumNumberOfItemsValue(value: string): Promise<void>;
|
|
193
193
|
enterMaximumNumberOfItemsValue(value: string): Promise<void>;
|
|
194
|
-
|
|
194
|
+
clickIgnoreUserStartNodesToggle(): Promise<void>;
|
|
195
195
|
chooseOverlaySizeByValue(value: string): Promise<void>;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
196
|
+
clickHideAnchorQueryStringInputToggle(): Promise<void>;
|
|
197
|
+
clickPickMultipleItemsToggle(): Promise<void>;
|
|
198
|
+
clickEnableFocalPointToggle(): Promise<void>;
|
|
199
199
|
enterAmountValue(lowValue: string, highValue: string): Promise<void>;
|
|
200
200
|
addAcceptedType(mediaTypeName: string): Promise<void>;
|
|
201
201
|
removeAcceptedType(mediaTypeName: string): Promise<void>;
|
|
@@ -205,7 +205,7 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
205
205
|
addStylesheet(stylesheetName: string): Promise<void>;
|
|
206
206
|
enterDimensionsValue(width: string, height: string): Promise<void>;
|
|
207
207
|
enterMaximumSizeForImages(value: string): Promise<void>;
|
|
208
|
-
|
|
208
|
+
clickHideLabelToggle(): Promise<void>;
|
|
209
209
|
clickInlineRadioButton(): Promise<void>;
|
|
210
210
|
clickChooseWithPlusButton(): Promise<void>;
|
|
211
211
|
addImageUploadFolder(mediaFolderName: string): Promise<void>;
|
|
@@ -213,12 +213,12 @@ export declare class DataTypeUiHelper extends UiBaseLocators {
|
|
|
213
213
|
addAvailableBlocks(blockName: string): Promise<void>;
|
|
214
214
|
enterDefineTagGroupValue(value: string): Promise<void>;
|
|
215
215
|
selectStorageTypeOption(option: string): Promise<void>;
|
|
216
|
-
|
|
216
|
+
clickShowOpenButtonToggle(): Promise<void>;
|
|
217
217
|
removeContentStartNode(contentName: string): Promise<void>;
|
|
218
|
-
|
|
218
|
+
clickEnableMultipleChoiceToggle(): Promise<void>;
|
|
219
219
|
clickAddOptionsButton(): Promise<void>;
|
|
220
|
-
|
|
221
|
-
|
|
220
|
+
clickPresetValueToggle(): Promise<void>;
|
|
221
|
+
clickShowToggleLabelsToggle(): Promise<void>;
|
|
222
222
|
enterLabelOnValue(value: string): Promise<void>;
|
|
223
223
|
enterLabelOffValue(value: string): Promise<void>;
|
|
224
224
|
clickAddBlockButton(index?: number): Promise<void>;
|
|
@@ -10,10 +10,10 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
10
10
|
dataTypeNameTxt;
|
|
11
11
|
createDataTypeFolderBtn;
|
|
12
12
|
updateDataTypeFolderBtn;
|
|
13
|
-
|
|
13
|
+
includeLabelsToggle;
|
|
14
14
|
addColorBtn;
|
|
15
15
|
colorValueTxt;
|
|
16
|
-
|
|
16
|
+
offsetTimeToggle;
|
|
17
17
|
dateFormatTxt;
|
|
18
18
|
pageSizeTxt;
|
|
19
19
|
ascendingRadioBtn;
|
|
@@ -21,8 +21,8 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
21
21
|
chooseColumnsDisplayedBtn;
|
|
22
22
|
workspaceViewName;
|
|
23
23
|
orderByDropDownBox;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
showWorkspaceViewFirstToggle;
|
|
25
|
+
editInInfiniteEditorToggle;
|
|
26
26
|
aliasTxt;
|
|
27
27
|
widthTxt;
|
|
28
28
|
heightTxt;
|
|
@@ -41,11 +41,11 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
41
41
|
addAcceptedFileExtensionsBtn;
|
|
42
42
|
minimumNumberOfItemsTxt;
|
|
43
43
|
maximumNumberOfItemsTxt;
|
|
44
|
-
|
|
44
|
+
ignoreUserStartNodesToggle;
|
|
45
45
|
overlaySizeDropDownBox;
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
hideAnchorQueryStringInputToggle;
|
|
47
|
+
pickMultipleItemsToggle;
|
|
48
|
+
enableFocalPointToggle;
|
|
49
49
|
amountLowValueTxt;
|
|
50
50
|
amountHighValueTxt;
|
|
51
51
|
toolbarCheckboxes;
|
|
@@ -53,20 +53,20 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
53
53
|
dimensionsWidthTxt;
|
|
54
54
|
dimensionsHeightTxt;
|
|
55
55
|
maxImageSizeTxt;
|
|
56
|
-
|
|
56
|
+
hideLabelToggle;
|
|
57
57
|
defineTagGroupTxt;
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
showOpenButtonToggle;
|
|
59
|
+
enableMultipleChoiceToggle;
|
|
60
60
|
addOptionsBtn;
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
presetValueToggle;
|
|
62
|
+
showToggleLabelsToggle;
|
|
63
63
|
labelOnTxt;
|
|
64
64
|
labelOffTxt;
|
|
65
65
|
labelTxt;
|
|
66
66
|
chooseAcceptedTypesBtn;
|
|
67
67
|
chooseWithPlusBtn;
|
|
68
68
|
storageTypeDropDownBox;
|
|
69
|
-
|
|
69
|
+
allowDecimalsToggle;
|
|
70
70
|
chooseLayoutsBtn;
|
|
71
71
|
columnsDisplayedItems;
|
|
72
72
|
layoutsItems;
|
|
@@ -142,16 +142,16 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
142
142
|
this.createDataTypeFolderBtn = page.getByLabel('Create folder');
|
|
143
143
|
this.newFolderBtn = page.locator('[name="Folder"]');
|
|
144
144
|
this.updateDataTypeFolderBtn = page.getByLabel('Update folder');
|
|
145
|
-
this.
|
|
145
|
+
this.ignoreUserStartNodesToggle = page.locator('[data-mark="property:ignoreUserStartNodes"] #toggle');
|
|
146
146
|
this.duplicateBtn = this.sidebarModal.getByLabel('Duplicate', { exact: true });
|
|
147
147
|
this.selectAPropertyEditorBtn = page.getByLabel('Select a property editor');
|
|
148
148
|
this.typeToFilterTxt = page.locator('#filter #input');
|
|
149
149
|
// Approved Color
|
|
150
|
-
this.
|
|
150
|
+
this.includeLabelsToggle = page.locator('#toggle');
|
|
151
151
|
this.addColorBtn = page.getByLabel('Add');
|
|
152
152
|
this.colorValueTxt = page.getByPlaceholder('Value').getByRole('textbox');
|
|
153
153
|
// Date Picker
|
|
154
|
-
this.
|
|
154
|
+
this.offsetTimeToggle = page.locator('umb-property[label="Offset time"] #toggle');
|
|
155
155
|
this.dateFormatTxt = page.locator('[data-mark="property:format"] #input');
|
|
156
156
|
// List View
|
|
157
157
|
this.pageSizeTxt = page.locator('[data-mark="property:pageSize"] #input');
|
|
@@ -160,8 +160,8 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
160
160
|
this.chooseColumnsDisplayedBtn = page.locator('[data-mark="property:includeProperties"]').getByLabel('Choose');
|
|
161
161
|
this.columnsDisplayedItems = page.locator('[data-mark="property:includeProperties"] .layout-item');
|
|
162
162
|
this.workspaceViewName = page.locator('[data-mark="property:tabName"] #input');
|
|
163
|
-
this.
|
|
164
|
-
this.
|
|
163
|
+
this.showWorkspaceViewFirstToggle = page.locator('[data-mark="property:showContentFirst"] #toggle');
|
|
164
|
+
this.editInInfiniteEditorToggle = page.locator('umb-property[label="Edit in Infinite Editor"] #toggle');
|
|
165
165
|
this.orderByDropDownBox = page.locator('[data-mark="property:orderBy"] select');
|
|
166
166
|
this.chooseLayoutsBtn = page.locator('[data-mark="property:layouts"]').getByLabel('Choose');
|
|
167
167
|
this.layoutsItems = page.locator('[data-mark="property:layouts"] .layout-item');
|
|
@@ -176,7 +176,7 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
176
176
|
this.minimumTxt = page.locator('[data-mark="property:min"] #input');
|
|
177
177
|
this.maximumTxt = page.locator('[data-mark="property:max"] #input');
|
|
178
178
|
this.stepSizeTxt = page.locator('[data-mark="property:step"] #input');
|
|
179
|
-
this.
|
|
179
|
+
this.allowDecimalsToggle = page.locator('umb-property[label="Allow decimals"] #toggle');
|
|
180
180
|
// Radiobox
|
|
181
181
|
this.optionTxt = page.locator('[data-mark="property:items"] #input');
|
|
182
182
|
this.addOptionBtn = page.locator('[data-mark="property:items"]').getByLabel('Add', { exact: true });
|
|
@@ -192,10 +192,10 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
192
192
|
this.minimumNumberOfItemsTxt = page.locator('[data-mark="property:minNumber"] #input');
|
|
193
193
|
this.maximumNumberOfItemsTxt = page.locator('[data-mark="property:maxNumber"] #input');
|
|
194
194
|
this.overlaySizeDropDownBox = page.locator('[data-mark="property:overlaySize"] select');
|
|
195
|
-
this.
|
|
195
|
+
this.hideAnchorQueryStringInputToggle = page.locator('[data-mark="property:hideAnchor"] #toggle');
|
|
196
196
|
// Media Picker
|
|
197
|
-
this.
|
|
198
|
-
this.
|
|
197
|
+
this.pickMultipleItemsToggle = page.locator('[data-mark="property:multiple"] #toggle');
|
|
198
|
+
this.enableFocalPointToggle = page.locator('[data-mark="property:enableLocalFocalPoint"] #toggle');
|
|
199
199
|
this.amountLowValueTxt = page.locator('[data-mark="property:validationLimit"]').getByLabel('Low value');
|
|
200
200
|
this.amountHighValueTxt = page.locator('[data-mark="property:validationLimit"]').getByLabel('High value');
|
|
201
201
|
this.chooseAcceptedTypesBtn = page.locator('[data-mark="property:filter"]').getByLabel('Choose');
|
|
@@ -207,29 +207,29 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
207
207
|
this.dimensionsWidthTxt = page.locator('[data-mark="property:dimensions"]').getByLabel('Width');
|
|
208
208
|
this.dimensionsHeightTxt = page.locator('[data-mark="property:dimensions"]').getByLabel('Height');
|
|
209
209
|
this.maxImageSizeTxt = page.locator('[data-mark="property:maxImageSize"] #input');
|
|
210
|
-
this.
|
|
210
|
+
this.hideLabelToggle = page.locator('[data-mark="property:hideLabel"] #toggle');
|
|
211
211
|
this.inlineRadioBtn = page.locator('[data-mark="property:mode"] uui-radio[value="Inline"]');
|
|
212
212
|
this.addWithPlusBtn = page.locator('[data-mark="property:blocks"] #add-button');
|
|
213
213
|
// Tags
|
|
214
214
|
this.defineTagGroupTxt = page.locator('[data-mark="property:group"] #input');
|
|
215
215
|
this.storageTypeDropDownBox = page.locator('#native');
|
|
216
216
|
// Content Picker
|
|
217
|
-
this.
|
|
217
|
+
this.showOpenButtonToggle = page.locator('[data-mark="property:showOpenButton"] #toggle');
|
|
218
218
|
// Dropdown
|
|
219
|
-
this.
|
|
219
|
+
this.enableMultipleChoiceToggle = page.locator('[data-mark="property:multiple"] #toggle');
|
|
220
220
|
this.addOptionsBtn = page.locator('[data-mark="property:items"]').getByLabel('Add', { exact: true });
|
|
221
221
|
// True/false
|
|
222
|
-
this.
|
|
223
|
-
this.
|
|
222
|
+
this.presetValueToggle = page.locator('[data-mark="property:default"] #toggle');
|
|
223
|
+
this.showToggleLabelsToggle = page.locator('[data-mark="property:showLabels"] #toggle');
|
|
224
224
|
this.labelOnTxt = page.locator('[data-mark="property:labelOn"] #input');
|
|
225
225
|
this.labelOffTxt = page.locator('[data-mark="property:labelOff"] #input');
|
|
226
226
|
// Block List Editor and Block Grid Editor
|
|
227
227
|
this.addBlockBtn = page.locator('umb-input-block-type #blocks').getByLabel('open');
|
|
228
228
|
this.minAmountTxt = page.getByLabel('Low value');
|
|
229
229
|
this.maxAmountTxt = page.getByLabel('High value');
|
|
230
|
-
this.singleBlockModeBtn = this.page.locator('umb-property-layout').filter({ hasText: 'Single block mode' }).locator('#
|
|
231
|
-
this.liveEditingModeBtn = this.page.locator('umb-property-layout').filter({ hasText: 'Live editing' }).locator('#
|
|
232
|
-
this.inlineEditingModeBtn = this.page.locator('umb-property-layout').filter({ hasText: 'Inline editing' }).locator('#
|
|
230
|
+
this.singleBlockModeBtn = this.page.locator('umb-property-layout').filter({ hasText: 'Single block mode' }).locator('#toggle');
|
|
231
|
+
this.liveEditingModeBtn = this.page.locator('umb-property-layout').filter({ hasText: 'Live editing' }).locator('#toggle');
|
|
232
|
+
this.inlineEditingModeBtn = this.page.locator('umb-property-layout').filter({ hasText: 'Inline editing' }).locator('#toggle');
|
|
233
233
|
this.propertyEditorWidthTxt = this.page.locator('umb-property-layout').filter({ hasText: 'Property editor width' }).locator('#input');
|
|
234
234
|
this.labelTextTxt = this.page.locator('[label="Label"]').locator('#input');
|
|
235
235
|
this.overlaySizeOption = this.page.locator('[label="Overlay editor size"]').locator('#native');
|
|
@@ -245,8 +245,8 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
245
245
|
this.iconColorBtn = this.page.locator('umb-property-layout').filter({ hasText: 'Icon color' }).getByLabel('Eye dropper');
|
|
246
246
|
this.iconColorTxt = this.page.locator('[label="Icon color"]').locator('[label="Eye dropper"]').locator('#input');
|
|
247
247
|
this.stylesheetRemoveBtn = this.page.locator('uui-ref-node').getByLabel('Remove', { exact: true });
|
|
248
|
-
this.hideContentEditorBlockListBtn = this.page.locator('[alias="forceHideContentEditorInOverlay"]').locator('#
|
|
249
|
-
this.hideContentEditorBlockGridBtn = this.page.locator('[alias="hideContentEditor"]').locator('#
|
|
248
|
+
this.hideContentEditorBlockListBtn = this.page.locator('[alias="forceHideContentEditorInOverlay"]').locator('#toggle');
|
|
249
|
+
this.hideContentEditorBlockGridBtn = this.page.locator('[alias="hideContentEditor"]').locator('#toggle');
|
|
250
250
|
this.customStylesheetLabel = this.page.locator('[label="Custom stylesheet"]');
|
|
251
251
|
this.chooseThumbnailAlias = this.page.locator('[alias="thumbnail"]').getByLabel('Choose');
|
|
252
252
|
this.documentTypeWorkspace = this.page.locator('umb-document-type-workspace-editor');
|
|
@@ -365,8 +365,8 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
365
365
|
await this.clickTextButtonWithName(propertyName);
|
|
366
366
|
}
|
|
367
367
|
// Approved Color
|
|
368
|
-
async
|
|
369
|
-
await this.
|
|
368
|
+
async clickIncludeLabelsToggle() {
|
|
369
|
+
await this.includeLabelsToggle.click();
|
|
370
370
|
}
|
|
371
371
|
async removeColorByValue(value) {
|
|
372
372
|
await this.page.locator('[value="' + value + '"] uui-button svg').click();
|
|
@@ -382,8 +382,8 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
382
382
|
await this.page.getByLabel('Select a value type').selectOption({ label: valueType });
|
|
383
383
|
}
|
|
384
384
|
// Date Picker
|
|
385
|
-
async
|
|
386
|
-
await this.
|
|
385
|
+
async clickOffsetTimeToggle() {
|
|
386
|
+
await this.offsetTimeToggle.click();
|
|
387
387
|
}
|
|
388
388
|
async enterDateFormatValue(value) {
|
|
389
389
|
await this.dateFormatTxt.clear();
|
|
@@ -428,14 +428,14 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
428
428
|
await this.workspaceViewName.clear();
|
|
429
429
|
await this.workspaceViewName.fill(name);
|
|
430
430
|
}
|
|
431
|
-
async
|
|
432
|
-
await this.
|
|
431
|
+
async clickShowContentWorkspaceViewFirstToggle() {
|
|
432
|
+
await this.showWorkspaceViewFirstToggle.click();
|
|
433
433
|
}
|
|
434
|
-
async
|
|
435
|
-
await this.
|
|
434
|
+
async clickEditInInfiniteEditorToggle() {
|
|
435
|
+
await this.editInInfiniteEditorToggle.click();
|
|
436
436
|
}
|
|
437
|
-
async
|
|
438
|
-
await this.page.locator("uui-toggle[label='" + value + "'] #
|
|
437
|
+
async clickBulkActionPermissionsToggleByValue(value) {
|
|
438
|
+
await this.page.locator("uui-toggle[label='" + value + "'] #toggle").click();
|
|
439
439
|
}
|
|
440
440
|
async clickSelectIconButton() {
|
|
441
441
|
await (0, test_1.expect)(this.selectIconBtn).toBeVisible();
|
|
@@ -492,9 +492,9 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
492
492
|
await this.stepSizeTxt.clear();
|
|
493
493
|
await this.stepSizeTxt.fill(value);
|
|
494
494
|
}
|
|
495
|
-
async
|
|
496
|
-
await (0, test_1.expect)(this.
|
|
497
|
-
await this.
|
|
495
|
+
async clickAllowDecimalsToggle() {
|
|
496
|
+
await (0, test_1.expect)(this.allowDecimalsToggle).toBeVisible();
|
|
497
|
+
await this.allowDecimalsToggle.click();
|
|
498
498
|
}
|
|
499
499
|
// Radiobox
|
|
500
500
|
async removeOptionByName(name) {
|
|
@@ -552,22 +552,22 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
552
552
|
await this.maximumNumberOfItemsTxt.clear();
|
|
553
553
|
await this.maximumNumberOfItemsTxt.fill(value);
|
|
554
554
|
}
|
|
555
|
-
async
|
|
556
|
-
await this.
|
|
555
|
+
async clickIgnoreUserStartNodesToggle() {
|
|
556
|
+
await this.ignoreUserStartNodesToggle.click();
|
|
557
557
|
}
|
|
558
558
|
async chooseOverlaySizeByValue(value) {
|
|
559
559
|
await this.overlaySizeDropDownBox.selectOption({ value: value });
|
|
560
560
|
}
|
|
561
|
-
async
|
|
562
|
-
await this.
|
|
561
|
+
async clickHideAnchorQueryStringInputToggle() {
|
|
562
|
+
await this.hideAnchorQueryStringInputToggle.click();
|
|
563
563
|
}
|
|
564
564
|
// Media Picker
|
|
565
|
-
async
|
|
566
|
-
await this.
|
|
565
|
+
async clickPickMultipleItemsToggle() {
|
|
566
|
+
await this.pickMultipleItemsToggle.click();
|
|
567
567
|
}
|
|
568
|
-
async
|
|
569
|
-
await (0, test_1.expect)(this.
|
|
570
|
-
await this.
|
|
568
|
+
async clickEnableFocalPointToggle() {
|
|
569
|
+
await (0, test_1.expect)(this.enableFocalPointToggle).toBeVisible();
|
|
570
|
+
await this.enableFocalPointToggle.click();
|
|
571
571
|
}
|
|
572
572
|
async enterAmountValue(lowValue, highValue) {
|
|
573
573
|
await this.amountLowValueTxt.clear();
|
|
@@ -612,8 +612,8 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
612
612
|
await this.maxImageSizeTxt.clear();
|
|
613
613
|
await this.maxImageSizeTxt.fill(value);
|
|
614
614
|
}
|
|
615
|
-
async
|
|
616
|
-
await this.
|
|
615
|
+
async clickHideLabelToggle() {
|
|
616
|
+
await this.hideLabelToggle.click();
|
|
617
617
|
}
|
|
618
618
|
async clickInlineRadioButton() {
|
|
619
619
|
await this.inlineRadioBtn.click();
|
|
@@ -647,9 +647,9 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
647
647
|
await this.storageTypeDropDownBox.selectOption({ label: option });
|
|
648
648
|
}
|
|
649
649
|
// Content Picker
|
|
650
|
-
async
|
|
651
|
-
await (0, test_1.expect)(this.
|
|
652
|
-
await this.
|
|
650
|
+
async clickShowOpenButtonToggle() {
|
|
651
|
+
await (0, test_1.expect)(this.showOpenButtonToggle).toBeVisible();
|
|
652
|
+
await this.showOpenButtonToggle.click();
|
|
653
653
|
}
|
|
654
654
|
async removeContentStartNode(contentName) {
|
|
655
655
|
const startNodeLocator = this.page.locator('umb-entity-item-ref').filter({ has: this.page.locator('[name="' + contentName + '"]') });
|
|
@@ -658,22 +658,22 @@ class DataTypeUiHelper extends UiBaseLocators_1.UiBaseLocators {
|
|
|
658
658
|
await this.clickConfirmRemoveButton();
|
|
659
659
|
}
|
|
660
660
|
// Dropdown
|
|
661
|
-
async
|
|
662
|
-
await (0, test_1.expect)(this.
|
|
663
|
-
await this.
|
|
661
|
+
async clickEnableMultipleChoiceToggle() {
|
|
662
|
+
await (0, test_1.expect)(this.enableMultipleChoiceToggle).toBeVisible();
|
|
663
|
+
await this.enableMultipleChoiceToggle.click();
|
|
664
664
|
}
|
|
665
665
|
async clickAddOptionsButton() {
|
|
666
666
|
await (0, test_1.expect)(this.addOptionsBtn).toBeVisible();
|
|
667
667
|
await this.addOptionsBtn.click();
|
|
668
668
|
}
|
|
669
669
|
// True/false
|
|
670
|
-
async
|
|
671
|
-
await (0, test_1.expect)(this.
|
|
672
|
-
await this.
|
|
670
|
+
async clickPresetValueToggle() {
|
|
671
|
+
await (0, test_1.expect)(this.presetValueToggle).toBeVisible();
|
|
672
|
+
await this.presetValueToggle.click();
|
|
673
673
|
}
|
|
674
|
-
async
|
|
675
|
-
await (0, test_1.expect)(this.
|
|
676
|
-
await this.
|
|
674
|
+
async clickShowToggleLabelsToggle() {
|
|
675
|
+
await (0, test_1.expect)(this.showToggleLabelsToggle).toBeVisible();
|
|
676
|
+
await this.showToggleLabelsToggle.click();
|
|
677
677
|
}
|
|
678
678
|
async enterLabelOnValue(value) {
|
|
679
679
|
await (0, test_1.expect)(this.labelOnTxt).toBeVisible();
|