Skip to content

The pressKey function no longer seems to be working properly. #8475

@Julian-B90

Description

@Julian-B90

What is your Scenario?

I want to send keyboard interactions to an input element.

What is the Current behavior?

Keyboard events are no longer arriving in the application

What is the Expected behavior?

The keyboard events are routed to the element

What is the public URL of the test page? (attach your complete example)

https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/autocomplete/basic_usage?theme=default-ocean-blue-a11y

https://www.telerik.com/kendo-angular-ui/components/dropdowns/autocomplete

What is your TestCafe test code?

import { Selector } from 'testcafe';

fixture`Autocomplete`
    .page('https://demos.telerik.com/kendo-angular-ui/demos/dropdowns/autocomplete/basic_usage?theme=default-ocean-blue-a11y')

test(`AutoComplete test`, async (t: TestController) => {
await t
    .click(Selector('.food-demo kendo-autocomplete input'))
    .wait(5000)
    .typeText(Selector('.food-demo kendo-autocomplete input'), 'Barce')
    .pressKey('enter')
    .expect(Selector('.food-demo kendo-autocomplete input').value)
    .eql('Barcelona');
});

Your complete configuration file

{
    "browsers": "chrome --no-sandbox --disable-dev-shm-usage --disable-search-engine-choice-screen",
    "src": "./test-cases/kendo-test.spec.ts",
    "skipJsErrors": true,
    "hostname": "localhost",
    "speed": 1,
    "assertionTimeout": 10000,
    "pageLoadTimeout": 20000,
    "selectorTimeout": 10000,
    "browserInitTimeout": 25000,
    "debugOnFail": true
}

Your complete test report

No response

Screenshots

No response

Steps to Reproduce

npx testcafe --config-file .testcaferc_local.json

TestCafe version

3.7.2

Node.js version

24.12.0

Command-line arguments

--config-file .testcaferc_local.json

Browser name(s) and version(s)

chrome

Platform(s) and version(s)

Windows

Other

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    STATE: Need responseAn issue that requires a response or attention from the team.TYPE: bugThe described behavior is considered as wrong (bug).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions