@bitforgehq/ui 0.3.2 → 0.3.3

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.
@@ -404,6 +404,7 @@ var BfTableHarness = class BfTableHarness extends ComponentHarness {
404
404
  rows = this.locatorForAll("tbody tr[data-bf-table-row]");
405
405
  selectAllBox = this.locatorForOptional("thead input[type=\"checkbox\"]");
406
406
  rowBoxes = this.locatorForAll("tbody tr[data-bf-table-row] input[type=\"checkbox\"]");
407
+ sortSelect = this.locatorForOptional(BfSelectHarness.with({ ancestor: "[data-bf-table-stack-bar]" }));
407
408
  static with(filters = {}) {
408
409
  return new HarnessPredicate(BfTableHarness, filters).addOption("label", filters.label, async (harness, label) => HarnessPredicate.stringMatches(harness.getLabel(), label));
409
410
  }
@@ -438,6 +439,9 @@ var BfTableHarness = class BfTableHarness extends ComponentHarness {
438
439
  }
439
440
  return null;
440
441
  }
442
+ async getSortSelect() {
443
+ return this.sortSelect();
444
+ }
441
445
  async selectRow(index) {
442
446
  const box = (await this.rowBoxes())[index];
443
447
  if (!box) throw new Error(`BfTableHarness: no selectable row ${index}`);