Commit 6c10133c authored by holivier's avatar holivier

Change test on error message because VueJs code change (now use uiLabel)

parent 3c7fbcf4
......@@ -462,7 +462,7 @@ public class ExampleVueJsScreens {
fieldsExampleItem(testSuite, exampleItem);
testSuite.click("form#vue-form_EditExampleItem button[type='submit']");
WebElement we = testSuite.getDriverWait().until(ExpectedConditions.presenceOfElementLocated(By.cssSelector("div.v-messages__message")));
assertEquals("wrong message", "This field is required", we.getText());
assertEquals("wrong message", "Required", we.getText());
// remove after 2019.12.31
//* check/valid the auto-entity error message via {@link SimpleTestSuite#checkVueJsErrorMessage SimpleTestSuite.checkVueJsErrorMessage}.
//testSuite.checkVueJsErrorMessage("The following required parameter is missing: [createExampleItem.description]");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment