File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
jdi-light-angular/src/main/java/com/epam/jdi/light/angular Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -38,8 +38,8 @@ public SlideToggleAssert labelAfterPosition() {
3838 }
3939
4040 @ JDIAction ("'{name}' has label with value '{0}'" )
41- public SlideToggleAssert labelsSlideToggleText (String labelsText ) {
42- jdiAssert (element ().label ().getValue (), Matchers .is (labelsText ));
41+ public SlideToggleAssert label (String labelText ) {
42+ jdiAssert (element ().label ().getValue (), Matchers .is (labelText ));
4343 return this ;
4444 }
4545
Original file line number Diff line number Diff line change 11package com .epam .jdi .light .angular .elements .common ;
22
33import com .epam .jdi .light .angular .asserts .SlideToggleAssert ;
4- import com .epam .jdi .light .common .JDIAction ;
54import com .epam .jdi .light .elements .base .UIBaseElement ;
65import com .epam .jdi .light .elements .common .Label ;
76import com .epam .jdi .light .elements .common .UIElement ;
@@ -38,7 +37,6 @@ public Label label() {
3837 return new Label ().setCore (Label .class , core ().find ("//label" ));
3938 }
4039
41- @ JDIAction ("Get if '{name}' element label is in before position" )
4240 public boolean hasLabelBeforePosition () {
4341 return core ().find (FORM_FIELD_LOCATOR ).hasClass ("mdc-form-field--align-end" );
4442 }
You can’t perform that action at this time.
0 commit comments