File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
jdi-light-angular/src/main/java/com/epam/jdi/light/angular/asserts Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public InputAssert placeholder(String placeholder) {
4242
4343 @ JDIAction ("Assert that '{name}' is focused" )
4444 public InputAssert focused () {
45- jdiAssert (element ().isFocused (), Matchers .is (true ));
45+ jdiAssert (element ().isFocused (), Matchers .is (true ), "ERROR MESSAGE IS REQUIRED" );
4646 return this ;
4747 }
4848
@@ -54,7 +54,7 @@ public InputAssert notFocused() {
5454
5555 @ JDIAction ("Assert that '{name}' has aria-label '{0}'" )
5656 public InputAssert ariaLabel (String ariaLabel ) {
57- jdiAssert (element ().hasAriaLabel (ariaLabel ), Matchers .is (true ));
57+ jdiAssert (element ().hasAriaLabel (ariaLabel ), Matchers .is (true ), "ERROR MESSAGE IS REQUIRED" );
5858 return this ;
5959 }
6060}
You can’t perform that action at this time.
0 commit comments