@umbraco/playwright-testhelpers 16.0.19 → 16.0.20

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
  }
@@ -1474,6 +1474,18 @@ class DataTypeApiHelper {
1474
1474
  .build();
1475
1475
  return await this.save(dataType);
1476
1476
  }
1477
+ async createTiptapDataTypeWithStyleSelect(name) {
1478
+ await this.ensureNameNotExists(name);
1479
+ const dataType = new json_models_builders_1.TiptapDataTypeBuilder()
1480
+ .withName(name)
1481
+ .addToolbarRow()
1482
+ .addToolbarGroup()
1483
+ .withStyleSelect(true)
1484
+ .done()
1485
+ .done()
1486
+ .build();
1487
+ return await this.save(dataType);
1488
+ }
1477
1489
  }
1478
1490
  exports.DataTypeApiHelper = DataTypeApiHelper;
1479
1491
  //# sourceMappingURL=DataTypeApiHelper.js.map