File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed
jdi-light-core/src/main/java/com/epam/jdi/light/elements/interfaces/base
jdi-light-vuetify-tests/src/test/java/io/github/epam/vuetify/tests/complex
jdi-light-vuetify/src/main/java/com/epam/jdi/light/vuetify/elements/complex Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 5
5
* Email: roman.iovlev.jdi@gmail.com; Skype: roman.iovlev
6
6
*/
7
7
public interface HasPlaceholder extends ICoreElement {
8
- default String placeholder () { return core ().placeholder (); }
8
+ default String placeholder () {
9
+ return core ().placeholder ();
10
+ }
9
11
}
Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ public void iconSlotsTextFieldTest() {
311
311
tooltip .is ().visible ();
312
312
}
313
313
314
+ // TODO Check this test, find is not a testable feature here
314
315
@ Test (description = "Test checks text field label and it's text" )
315
316
public void labelTextFieldTest () {
316
317
labelTextField .has ().label ();
@@ -343,6 +344,7 @@ public void heightTextFieldTest() {
343
344
customHeightTextField1 .has ().height (184 );
344
345
}
345
346
347
+ // TODO Check assert for progress
346
348
@ Test (description = "Test checks progress bar condition" )
347
349
public void progressTextFieldTest () {
348
350
for (int i = 1 ; i < 10 ; i ++) {
@@ -379,7 +381,6 @@ public void placeholderTextField() {
379
381
placeholderTextField1 .has ().placeholder ();
380
382
placeholderTextField1 .has ().placeholder ("Filled" );
381
383
noPlaceholderTextField .has ().notPlaceholder ();
382
-
383
384
}
384
385
385
386
@ Test (description = "Test checks reverse feature : reverse (y/n)" )
Original file line number Diff line number Diff line change @@ -239,6 +239,11 @@ public String labelText() {
239
239
return label ().getText ();
240
240
}
241
241
242
+ @ Override
243
+ public String placeholder () {
244
+ return this .labelText ();
245
+ }
246
+
242
247
@ JDIAction ("Get if '{name}' has placeholder" )
243
248
public boolean hasPlaceholder () {
244
249
return core ().hasClass ("v-text-field--placeholder" );
You can’t perform that action at this time.
0 commit comments