Skip to content

Commit 77eb465

Browse files
committed
EntityTypeDesigner: Fix xpath for checkbox
1 parent d700e93 commit 77eb465

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/org/labkey/test/components/ui/domainproperties/EntityTypeDesigner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected ElementCache newElementCache()
4242

4343
public T setSystemFieldVisibility(String fieldName, boolean isVisible)
4444
{
45-
var xpath = "//div[contains(@class, 'domain-system-fields__grid')]//td[text()='" + fieldName + "']/preceding-sibling::td//input";
45+
var xpath = "//div[contains(@class, 'domain-system-fields__grid')]//td[.//div[text()='" + fieldName + "']]/preceding-sibling::td//input";
4646
var checkBox = Checkbox.Checkbox(Locator.xpath(xpath));
4747
var enabledCheckBox = checkBox.find(getFieldsPanel());
4848
enabledCheckBox.set(isVisible);

0 commit comments

Comments
 (0)