We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d700e93 commit 77eb465Copy full SHA for 77eb465
src/org/labkey/test/components/ui/domainproperties/EntityTypeDesigner.java
@@ -42,7 +42,7 @@ protected ElementCache newElementCache()
42
43
public T setSystemFieldVisibility(String fieldName, boolean isVisible)
44
{
45
- var xpath = "//div[contains(@class, 'domain-system-fields__grid')]//td[text()='" + fieldName + "']/preceding-sibling::td//input";
+ var xpath = "//div[contains(@class, 'domain-system-fields__grid')]//td[.//div[text()='" + fieldName + "']]/preceding-sibling::td//input";
46
var checkBox = Checkbox.Checkbox(Locator.xpath(xpath));
47
var enabledCheckBox = checkBox.find(getFieldsPanel());
48
enabledCheckBox.set(isVisible);
0 commit comments