Created
June 15, 2017 01:27
-
-
Save joelwatson/2e5664ac6695de3e6259d3a26dac7a46 to your computer and use it in GitHub Desktop.
CheckBoxMenuItem Future
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ST.future.Component.prototype.gotoCheckBoxMenuItem = function (selector, direction, timeout) { | |
return this._goto('ST.future.CheckBoxMenuItem', direction, selector, timeout); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// test against http://examples.sencha.com/extjs/6.5.0/examples/kitchensink/?classic#toolbar-menus | |
ST.button('button[text="Button w/ Menu"]') | |
.expand() | |
.gotoCheckBoxMenuItem('[text="I like Ext"]') | |
.uncheck() | |
.unchecked() | |
.check() | |
.checked(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment