|
21 | 21 | import org.labkey.test.BaseWebDriverTest; |
22 | 22 | import org.labkey.test.Locator; |
23 | 23 | import org.labkey.test.TestFileUtils; |
| 24 | +import org.labkey.test.WebTestHelper; |
24 | 25 | import org.labkey.test.categories.CustomModules; |
25 | 26 | import org.labkey.test.pages.ImportDataPage; |
26 | 27 | import org.labkey.test.params.FieldDefinition; |
@@ -511,12 +512,12 @@ private void doVerifyCrossContainerDatasetStatus() |
511 | 512 | { |
512 | 513 | setDatasetStatus(dataset, "Locked"); |
513 | 514 | } |
514 | | - assertElementPresent(Locator.tagWithAttribute("img", "src", "/labkey/reports/icon_locked.png"), DATASETS.size()); |
| 515 | + assertElementPresent(Locator.tagWithAttribute("img", "src", WebTestHelper.getContextPath() + "/reports/icon_locked.png"), DATASETS.size()); |
515 | 516 | clickButton("Save Changes", defaultWaitForPage); |
516 | 517 | // verify that we are back on the list view |
517 | 518 | assertTextPresent("AllStudiesList", statusCol); |
518 | 519 | // locked icon should now appear once for study2 and for all datasets in study3 |
519 | | - assertElementPresent(Locator.tagWithAttribute("img", "src", "/labkey/reports/icon_locked.png"), DATASETS.size() + 1); |
| 520 | + assertElementPresent(Locator.tagWithAttribute("img", "src", WebTestHelper.getContextPath() + "/reports/icon_locked.png"), DATASETS.size() + 1); |
520 | 521 |
|
521 | 522 | log("Verify data status exports to text as expected."); |
522 | 523 |
|
|
0 commit comments