Created
July 10, 2017 19:17
-
-
Save joelwatson/1e5bee42442e82a1903567a14072cf3d to your computer and use it in GitHub Desktop.
Click cell widget button
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
it('should click button widget in 3rd row', function () { | |
// fill in password field | |
ST.textField('[fieldLabel=Password]').type('a'); | |
// click login button | |
ST.button('[text=Login]').click(); | |
// do actions on Project Members grid | |
ST | |
.grid('[title^=Project Members]') | |
.rowAt(2) // get third row | |
.down('.x-btn') // traverse dom hierarchy to choose correct button | |
.click(); // click it! | |
}); |
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
http://examples.sencha.com/extjs/6.5.0/examples/classic/ticket-app/index.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment