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() {
38
38
}
39
39
40
40
@ 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 ));
43
43
return this ;
44
44
}
45
45
Original file line number Diff line number Diff line change 1
1
package com .epam .jdi .light .angular .elements .common ;
2
2
3
3
import com .epam .jdi .light .angular .asserts .SlideToggleAssert ;
4
- import com .epam .jdi .light .common .JDIAction ;
5
4
import com .epam .jdi .light .elements .base .UIBaseElement ;
6
5
import com .epam .jdi .light .elements .common .Label ;
7
6
import com .epam .jdi .light .elements .common .UIElement ;
@@ -38,7 +37,6 @@ public Label label() {
38
37
return new Label ().setCore (Label .class , core ().find ("//label" ));
39
38
}
40
39
41
- @ JDIAction ("Get if '{name}' element label is in before position" )
42
40
public boolean hasLabelBeforePosition () {
43
41
return core ().find (FORM_FIELD_LOCATOR ).hasClass ("mdc-form-field--align-end" );
44
42
}
You can’t perform that action at this time.
0 commit comments