@umbraco/playwright-testhelpers 15.0.49 → 15.0.51

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.
@@ -170,4 +170,5 @@ export declare class DataTypeApiHelper {
170
170
  createBlockGridWithABlockWithInlineEditingMode(blockGridName: string, contentElementTypeId: string, inlineEditing?: boolean): Promise<string | undefined>;
171
171
  createTiptapDataTypeWithWordCountStatusbar(name: string): Promise<string | undefined>;
172
172
  createTiptapDataTypeWithElementPathStatusbar(name: string): Promise<string | undefined>;
173
+ createTiptapDataTypeWithStyleSelect(name: string): Promise<string | undefined>;
173
174
  }
@@ -1473,6 +1473,18 @@ class DataTypeApiHelper {
1473
1473
  .build();
1474
1474
  return await this.save(dataType);
1475
1475
  }
1476
+ async createTiptapDataTypeWithStyleSelect(name) {
1477
+ await this.ensureNameNotExists(name);
1478
+ const dataType = new json_models_builders_1.TiptapDataTypeBuilder()
1479
+ .withName(name)
1480
+ .addToolbarRow()
1481
+ .addToolbarGroup()
1482
+ .withStyleSelect(true)
1483
+ .done()
1484
+ .done()
1485
+ .build();
1486
+ return await this.save(dataType);
1487
+ }
1476
1488
  }
1477
1489
  exports.DataTypeApiHelper = DataTypeApiHelper;
1478
1490
  //# sourceMappingURL=DataTypeApiHelper.js.map