kibana/test
Stacey Gammon 4da3357a91 Fix modals in react (#11714) (#11862)
* fix focused button not being set

Need to do it in a timeout because ng-react hasn’t loaded the react
code yet, so it can’t find the buttons.

* add a test

that would have caught the issue, and also change the default focused
button for the listing delete page since it’s a destructive action.

* Add a comment

* Push focusing of default button into react code

* Push ESC key handling into react as well

* Remove ESC tests in angular form

They don’t pass, I’m guessing because of the way it’s triggered, but
these test cases should now be handled in jest.  Also confirmed it
works as expected with the modal.

* Address code review comments

* Use autoFocus
2017-05-17 12:23:37 -04:00
..
dev_certs [devServer] include self-signed certificates for testing 2016-01-19 14:19:25 -07:00
functional Fix modals in react (#11714) (#11862) 2017-05-17 12:23:37 -04:00
screenshots/baseline Update baseline screenshots with loaded CSS. 2016-06-14 09:37:05 -07:00
scripts [ci] only build kibana once (#11717) 2017-05-11 13:12:47 -07:00
unit/api [5.x] [functionalTestRunner] replace intern (#10910) (#11171) 2017-04-12 08:44:53 -04:00
utils [5.x] [functionalTestRunner] replace intern (#10910) (#11171) 2017-04-12 08:44:53 -04:00
visual_regression/home [5.x] [functionalTestRunner] replace intern (#10910) (#11171) 2017-04-12 08:44:53 -04:00
mocha.opts [mochaOpts] use full option name 2016-01-13 16:51:29 -07:00
mocha_setup.js babel 6 upgrade (#9702) (#10278) 2017-02-10 02:14:06 -07:00
server_config.js [ftr] remove digdug, use chromedriver directly (#11558) 2017-05-04 15:22:30 -07:00
shield.js Port #8880 to master Support Cloud testing (#8917) 2016-11-01 11:27:51 -05:00