diff --git a/mir-it/src/test/java/org/mycore/mir/it/controller/MIRModsEditorController.java b/mir-it/src/test/java/org/mycore/mir/it/controller/MIRModsEditorController.java index 71d4102e44..56e2e052ce 100644 --- a/mir-it/src/test/java/org/mycore/mir/it/controller/MIRModsEditorController.java +++ b/mir-it/src/test/java/org/mycore/mir/it/controller/MIRModsEditorController.java @@ -371,7 +371,7 @@ public void setAuthors(List names, int fieldOffset) { IntStream.range(0, names.size()).forEach(i -> { String name = names.get(i); - String inputPath = ".//input[contains(@id,'personLabel-" + (i + 1 + fieldOffset) + "')]"; + String inputPath = ".//input[contains(@id,'personLabel-1-" + (i + 1 + fieldOffset) + "')]"; WebElement inputElement = driver.waitAndFindElement(By.xpath(inputPath)); inputElement.sendKeys(name); driver.waitAndFindElement(By.xpath(inputPath + "/.././/button[contains(text(), 'Suchen')]")).click();