Skip to content

Instantly share code, notes, and snippets.

@joelwatson
Created July 10, 2017 19:17
Show Gist options
  • Save joelwatson/1e5bee42442e82a1903567a14072cf3d to your computer and use it in GitHub Desktop.
Save joelwatson/1e5bee42442e82a1903567a14072cf3d to your computer and use it in GitHub Desktop.
Click cell widget button
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!
});
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