Skip to content

Commit a9906e9

Browse files
committed
More specific locator
1 parent 2114d0c commit a9906e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

LDK/test/src/org/labkey/test/util/external/labModules/LabModuleHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ public void goToAssayResultImport(String assayName, boolean supportsTemplates)
262262
@LogMethod(quiet = true)
263263
public String clickAndGetExampleData()
264264
{
265-
Locator btn = Locator.linkContainingText("Download Example Data");
265+
Locator btn = Ext4Helper.Locators.ext4ButtonEnabled("Download Example Data");
266266
String currentWindow = _test.getDriver().getWindowHandle();
267267
_test.waitForElement(btn);
268268
_test.waitAndClick(btn);

0 commit comments

Comments
 (0)