Skip to content

Commit 2efd673

Browse files
committed
JBrowseTest fix
1 parent 0cf0b52 commit 2efd673

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

jbrowse/src/client/JBrowse/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -710,8 +710,8 @@ export const multiModalOperator = (operator: GridFilterOperator) => {
710710
return innerFilterFn;
711711
}
712712

713-
return (params: GridCellParams) => {
714-
let cellValue = parseCellValue(params.value)
713+
return (value) => {
714+
let cellValue = parseCellValue(value)
715715

716716
switch(filterItem.operator) {
717717
case "!=":

jbrowse/test/src/org/labkey/test/tests/external/labModules/JBrowseTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1431,8 +1431,8 @@ private void testVariantDataGrid() throws Exception
14311431
// Test filtering
14321432
waitAndClick(Locator.tagWithAttributeContaining("button", "aria-label", "Show filters"));
14331433

1434-
waitAndClick(Locator.tagWithClass("select", "MuiNativeSelect-select").notHidden().withChild(Locator.tagWithText("option", "Chromosome")));
1435-
waitAndClick(Locator.tagWithAttributeContaining("option", "value", "ref"));
1434+
waitAndClick(Locator.tagWithClass("div", "MuiSelect-select").notHidden().withText("Chromosome"));
1435+
waitAndClick(Locator.tagWithAttributeContaining("li", "data-value", "ref"));
14361436

14371437
Locator valueSelector = Locator.tagWithAttributeContaining("input", "placeholder", "Filter value");
14381438
waitAndClick(valueSelector);
@@ -1570,8 +1570,8 @@ private void testVariantTableComparators() throws Exception {
15701570
// Test filtering AF with wrapped comparators
15711571
waitAndClick(Locator.tagWithAttributeContaining("button", "aria-label", "Show filters"));
15721572

1573-
waitAndClick(Locator.tagWithClass("select", "MuiNativeSelect-select").notHidden().withChild(Locator.tagWithText("option", "Chromosome")));
1574-
waitAndClick(Locator.tagWithAttributeContaining("option", "value", "AF"));
1573+
waitAndClick(Locator.tagWithClass("div", "MuiSelect-select").notHidden().withText("Chromosome"));
1574+
waitAndClick(Locator.tagWithAttributeContaining("li", "data-value", "AF"));
15751575

15761576
Locator valueSelector = Locator.tagWithAttributeContaining("input", "placeholder", "Filter value");
15771577
waitAndClick(valueSelector);

0 commit comments

Comments
 (0)