-
Notifications
You must be signed in to change notification settings - Fork 421
Closed
Labels
InfrastructureRelated to maintaining task force and repo operations, processes, systems, documentationRelated to maintaining task force and repo operations, processes, systems, documentationquestionIssue asking a questionIssue asking a questionregression-testingRelated to AVA regression tests of example pages or AVA framework implementation within repoRelated to AVA regression tests of example pages or AVA framework implementation within repo
Description
In the updated version of the Javascript for menubar-editor I switched from using event.keyCode to event.key property. The testing script menbar_menubar-navigator.js (line 500) has a test for the SPACE key and it was failing even though it worked with manual testing on the example. So I added a couple lines of code in menubar-editor.js to detect event.keyCode === 32 and if this is true change event.key to equal (see line 524). The test script now passed for all tests including the SPACE key test. Seems to me a bug with Selenium, but maybe it is something I am doing.
Test Files with "failing" tests due to the SPACE key issue:
/test/tests/combobox_datepicker.js/test/tests/dialog-modal-datepicker.js/test/tests/menubar_menubar-navigation.js/test/tests/menubar_menubar-editor.js
Metadata
Metadata
Labels
InfrastructureRelated to maintaining task force and repo operations, processes, systems, documentationRelated to maintaining task force and repo operations, processes, systems, documentationquestionIssue asking a questionIssue asking a questionregression-testingRelated to AVA regression tests of example pages or AVA framework implementation within repoRelated to AVA regression tests of example pages or AVA framework implementation within repo