Closed Dmitry-Ostashev closed 1 year ago
Click an element in the iframe
TestCafe clicks on the incorrect place
It should click on the specified element
https://js.devexpress.com/Demos/WidgetsGallery/Demo/ActionSheet/Basics/jQuery/Light/
fixture`Proxyless`.page`https://js.devexpress.com/Demos/WidgetsGallery/Demo/ActionSheet/Basics/jQuery/Light/`; test('Test', async t => { await t .wait(1000) .switchToIframe('#demoFrame'); await t.eval(() => { document.body.addEventListener('click', ev => console.dir(ev), true); document.body.addEventListener('mouseup', ev => console.dir(ev), true); }); await t .click('#button') // .expect(Selector('.dx-toolbar-center').withText('Choose action').visible).ok() .debug(); });
No response
Just run the test.
2.4.0
18.12.1
npx testcafe chrome test.js --experimental-proxyless
The issue consists of two problems:
The first issue is critical and fixed. The second one is not critical and we are not going to fix it yet.
What is your Scenario?
Click an element in the iframe
What is the Current behavior?
TestCafe clicks on the incorrect place
What is the Expected behavior?
It should click on the specified element
What is your public website URL? (or attach your complete example)
https://js.devexpress.com/Demos/WidgetsGallery/Demo/ActionSheet/Basics/jQuery/Light/
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
Just run the test.
TestCafe version
2.4.0
Node.js version
18.12.1
Command-line arguments
npx testcafe chrome test.js --experimental-proxyless
Browser name(s) and version(s)
No response
Platform(s) and version(s)
No response
Other
No response