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) {
42
42
43
43
@ JDIAction ("Assert that '{name}' is focused" )
44
44
public InputAssert focused () {
45
- jdiAssert (element ().isFocused (), Matchers .is (true ));
45
+ jdiAssert (element ().isFocused (), Matchers .is (true ), "ERROR MESSAGE IS REQUIRED" );
46
46
return this ;
47
47
}
48
48
@@ -54,7 +54,7 @@ public InputAssert notFocused() {
54
54
55
55
@ JDIAction ("Assert that '{name}' has aria-label '{0}'" )
56
56
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" );
58
58
return this ;
59
59
}
60
60
}
You can’t perform that action at this time.
0 commit comments