Testcafe: ExtJS menu items not clickable by TestCafe anymore (used to work for 0.17.2)

Created on 7 Mar 2018  路  5Comments  路  Source: DevExpress/testcafe

Are you requesting a feature or reporting a bug?

bug

What is the current behavior?

Menu items in Sencha ExtJS not clickable by TestCafe. It used to work for v. 0.17.2

What is the expected behavior?

TestCafe should be able to click on menu items and buttons

Provide the test code and the tested page URL (if applicable)

Test code

import { Selector } from 'testcafe';

fixture`Roundtrip fixture`
   .page('http://examples.sencha.com/extjs/6.5.1/examples/kitchensink/#tree-grid')

test('click excel button', async t => {
   await t
      .setPageLoadTimeout(10000)
      .click(Selector('.x-btn').withText('Export to ...'))
      .click(Selector('.x-menu-item').withText('Excel xlsx'))
      .wait(3000)
})

Specify your

  • operating system: Windows 10
  • testcafe version: v 0.19.0
  • node.js version: v 8.9.0
!IMPORTANT! Auto-locked bug

Most helpful comment

Hello @jschumme ,

Thank you for the provided test code. I have reproduced the issue on my side. We will investigate it and update this thread as soon as we have any results.

All 5 comments

Hello @jschumme ,

Thank you for the provided test code. I have reproduced the issue on my side. We will investigate it and update this thread as soon as we have any results.

Looks like it fails starting from the following commit

09ea85815e7cf0ae5013ea9cd47ff35be4ec6266 Link without href but with tabIndex is focusable

in testcafe-hammerhead repo

This bug is a result of fix the https://github.com/DevExpress/testcafe/issues/1803 issue.
Changes were make in the both repositories (testcafe and hammerhead).
See related issue in hammerhead - https://github.com/DevExpress/testcafe-hammerhead/issues/1318.

This thread has been automatically locked since it is closed and there has not been any recent activity. Please open a new issue for related bugs or feature requests. We recommend you ask TestCafe API, usage and configuration inquiries on StackOverflow.

Was this page helpful?
0 / 5 - 0 ratings