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 55 * Email: [email protected] ; Skype: roman.iovlev 66 */
77public interface HasPlaceholder extends ICoreElement {
8- default String placeholder () { return core ().placeholder (); }
8+ default String placeholder () {
9+ return core ().placeholder ();
10+ }
911}
Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ public void iconSlotsTextFieldTest() {
311311 tooltip .is ().visible ();
312312 }
313313
314+ // TODO Check this test, find is not a testable feature here
314315 @ Test (description = "Test checks text field label and it's text" )
315316 public void labelTextFieldTest () {
316317 labelTextField .has ().label ();
@@ -343,6 +344,7 @@ public void heightTextFieldTest() {
343344 customHeightTextField1 .has ().height (184 );
344345 }
345346
347+ // TODO Check assert for progress
346348 @ Test (description = "Test checks progress bar condition" )
347349 public void progressTextFieldTest () {
348350 for (int i = 1 ; i < 10 ; i ++) {
@@ -379,7 +381,6 @@ public void placeholderTextField() {
379381 placeholderTextField1 .has ().placeholder ();
380382 placeholderTextField1 .has ().placeholder ("Filled" );
381383 noPlaceholderTextField .has ().notPlaceholder ();
382-
383384 }
384385
385386 @ 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() {
239239 return label ().getText ();
240240 }
241241
242+ @ Override
243+ public String placeholder () {
244+ return this .labelText ();
245+ }
246+
242247 @ JDIAction ("Get if '{name}' has placeholder" )
243248 public boolean hasPlaceholder () {
244249 return core ().hasClass ("v-text-field--placeholder" );
You can’t perform that action at this time.
0 commit comments