Skip to content

Commit

Permalink
fix: tablewidget menubutton
Browse files Browse the repository at this point in the history
  • Loading branch information
SaiCharanChetpelly31 committed Sep 27, 2024
1 parent c2fcd51 commit baadf6b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -163,5 +163,15 @@ describe(
});
cy.get(".table-menu-button-popover li a").should("not.exist");
});
it("5. should check that menuitems onClick property has access to currentRow", () => {
_.propPane.EnterJSContext("onClick", "");
_.propPane.TypeTextIntoField("onClick", "{{currentR");
_.agHelper.AssertElementExist(_.locators._hints);
_.agHelper.GetNAssertElementText(
_.locators._hints,
"currentRow",
"contain.text",
);
});
},
);
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ export default {
isBindProperty: true,
isTriggerProperty: true,
dependencies: ["primaryColumns", "columnOrder"],
customJSControl: "TABLE_COMPUTE_VALUE",
},
],
},
Expand Down

0 comments on commit baadf6b

Please sign in to comment.