From 9d3752b11c59cda9861bc3bb2877b87acd8f9e5f Mon Sep 17 00:00:00 2001 From: Daria Bodiakova <70635654+DariaBod@users.noreply.github.com> Date: Mon, 11 May 2026 13:08:53 -0700 Subject: [PATCH 1/4] try to fix testDragFillReadOnlyColumn in SM Starter --- src/org/labkey/test/components/ui/grids/EditableGrid.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/org/labkey/test/components/ui/grids/EditableGrid.java b/src/org/labkey/test/components/ui/grids/EditableGrid.java index 5cfeb9271a..2d2d6290f1 100644 --- a/src/org/labkey/test/components/ui/grids/EditableGrid.java +++ b/src/org/labkey/test/components/ui/grids/EditableGrid.java @@ -1032,6 +1032,7 @@ public void dragFill(WebElement selectStart, WebElement selectEnd, WebElement dr { Locator.XPathLocator selectionHandleLoc = Locator.byClass("cell-selection-handle"); selectCellRange(selectStart, selectEnd); + selectEnd.click(); String fillValue = getCellValue(selectEnd); WebElement selectionHandle = selectionHandleLoc.waitForElement(getComponentElement(), 2_000); dragToCell(selectionHandle, dragEnd); @@ -1039,6 +1040,7 @@ public void dragFill(WebElement selectStart, WebElement selectEnd, WebElement dr { // Fill didn't complete — the drag likely extended the selection without triggering the fill. selectCellRange(selectStart, selectEnd); + selectEnd.click(); selectionHandle = selectionHandleLoc.waitForElement(getComponentElement(), 2_000); dragToCell(selectionHandle, dragEnd); WebDriverWrapper.waitFor(() -> fillValue.equals(getCellValue(dragEnd)), From 87b809bc18dcfad56e591a8091fea31194f7d657 Mon Sep 17 00:00:00 2001 From: Daria Bodiakova <70635654+DariaBod@users.noreply.github.com> Date: Mon, 11 May 2026 13:12:38 -0700 Subject: [PATCH 2/4] try to fix testDragFillReadOnlyColumn in SM Starter --- src/org/labkey/test/pages/study/DatasetDesignerPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/labkey/test/pages/study/DatasetDesignerPage.java b/src/org/labkey/test/pages/study/DatasetDesignerPage.java index 4de76d223a..b67d4bba8e 100644 --- a/src/org/labkey/test/pages/study/DatasetDesignerPage.java +++ b/src/org/labkey/test/pages/study/DatasetDesignerPage.java @@ -314,8 +314,8 @@ protected Locator dataRowRadioBtn(Integer index) protected FilteringReactSelect columnMapSelect(String labelText) { // find the row with the specified label span, then get the select in it - WebElement container = Locator.tag("div").withChild(Locator.tag("div") - .withChild(Locator.tagWithClass("span", "domain-no-wrap").withText(labelText))) + WebElement container = Locator.tag("div").withChild(Locator.tag("div").withChild(Locator.tag("span") + .withChild(Locator.tagWithClass("span", "domain-no-wrap").withText(labelText)))) .waitForElement(fieldsPanel, 2000); return FilteringReactSelect.finder(getDriver()).find(container); } From 1b798d09b9d02e5a50034922cabda5f593e6eee3 Mon Sep 17 00:00:00 2001 From: Daria Bodiakova <70635654+DariaBod@users.noreply.github.com> Date: Mon, 11 May 2026 13:31:31 -0700 Subject: [PATCH 3/4] Revert "try to fix testDragFillReadOnlyColumn in SM Starter" This reverts commit 87b809bc18dcfad56e591a8091fea31194f7d657. --- src/org/labkey/test/pages/study/DatasetDesignerPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/labkey/test/pages/study/DatasetDesignerPage.java b/src/org/labkey/test/pages/study/DatasetDesignerPage.java index b67d4bba8e..4de76d223a 100644 --- a/src/org/labkey/test/pages/study/DatasetDesignerPage.java +++ b/src/org/labkey/test/pages/study/DatasetDesignerPage.java @@ -314,8 +314,8 @@ protected Locator dataRowRadioBtn(Integer index) protected FilteringReactSelect columnMapSelect(String labelText) { // find the row with the specified label span, then get the select in it - WebElement container = Locator.tag("div").withChild(Locator.tag("div").withChild(Locator.tag("span") - .withChild(Locator.tagWithClass("span", "domain-no-wrap").withText(labelText)))) + WebElement container = Locator.tag("div").withChild(Locator.tag("div") + .withChild(Locator.tagWithClass("span", "domain-no-wrap").withText(labelText))) .waitForElement(fieldsPanel, 2000); return FilteringReactSelect.finder(getDriver()).find(container); } From 48174fe209659806c589523be526cc6d5bf55f76 Mon Sep 17 00:00:00 2001 From: Daria Bodiakova <70635654+DariaBod@users.noreply.github.com> Date: Mon, 11 May 2026 13:33:15 -0700 Subject: [PATCH 4/4] add another span --- src/org/labkey/test/pages/study/DatasetDesignerPage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/labkey/test/pages/study/DatasetDesignerPage.java b/src/org/labkey/test/pages/study/DatasetDesignerPage.java index 4de76d223a..b67d4bba8e 100644 --- a/src/org/labkey/test/pages/study/DatasetDesignerPage.java +++ b/src/org/labkey/test/pages/study/DatasetDesignerPage.java @@ -314,8 +314,8 @@ protected Locator dataRowRadioBtn(Integer index) protected FilteringReactSelect columnMapSelect(String labelText) { // find the row with the specified label span, then get the select in it - WebElement container = Locator.tag("div").withChild(Locator.tag("div") - .withChild(Locator.tagWithClass("span", "domain-no-wrap").withText(labelText))) + WebElement container = Locator.tag("div").withChild(Locator.tag("div").withChild(Locator.tag("span") + .withChild(Locator.tagWithClass("span", "domain-no-wrap").withText(labelText)))) .waitForElement(fieldsPanel, 2000); return FilteringReactSelect.finder(getDriver()).find(container); }