Skip to content

Commit

Permalink
4914_cardRefacFix1
Browse files Browse the repository at this point in the history
  • Loading branch information
MayaElf committed Dec 22, 2023
1 parent 5256725 commit 43dff2b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public UIElement getSubtitle() {

@JDIAction("Get if '{name}' has image")
public boolean hasImage() {
return find("//img").isExist();
return core().find("//img").isExist();
}

@JDIAction("Get '{name}' image")
Expand Down Expand Up @@ -85,7 +85,7 @@ public Button getButtonByNumber(int number) {

@JDIAction("Get if {name} has align end actions")
public boolean actionsEndAlign() {
UIElement e = find("mat-card-actions");
UIElement e = core().find("mat-card-actions");
if (e.isExist()) {
return e.hasClass("mat-mdc-card-actions-align-end");
} else {
Expand Down

0 comments on commit 43dff2b

Please sign in to comment.