We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running document.documentElement.style.transform = 'translate(10px)' in Chrome or Firefox. After that, the TestCafe UI moves to the top of the window.
document.documentElement.style.transform = 'translate(10px)'
This scenario works as expected in IE.
The TestCafe UI moves to the top of the window.
The TestCafe UI stays at the bottom of the window.
<!DOCTYPE html> <html> <body> <button id="button">button</button> </body> </html>
import { Selector } from 'testcafe'; fixture`UI Bug` .page`./index.html`; test('transform', async t => { await t .eval(() => document.documentElement.style.transform = 'translate(10px)'); await t .debug(); });
We set our shadow root's CSS properties in such a way that the document's styles should not affect them. It seems like we don't reset this property. https://github.com/DevExpress/testcafe/blob/master/src/client/ui/styles.less#L15
The text was updated successfully, but these errors were encountered:
fix 'documentElement.transform.translate moves the TestCafe UI ' (close
3e2d2ae
DevExpress#5606)
ba30111
miherlosev
No branches or pull requests
What is your Test Scenario?
Running
document.documentElement.style.transform = 'translate(10px)'
in Chrome or Firefox. After that, the TestCafe UI moves to the top of the window.This scenario works as expected in IE.
What is the Current behavior?
The TestCafe UI moves to the top of the window.

What is the Expected behavior?
The TestCafe UI stays at the bottom of the window.
What is your web application and your TestCafe test code?
Your website URL (or attach your complete example):
Your complete test code (or attach your test files):
Your Environment details:
Notes
We set our shadow root's CSS properties in such a way that the document's styles should not affect them. It seems like we don't reset this property.
https://github.com/DevExpress/testcafe/blob/master/src/client/ui/styles.less#L15
The text was updated successfully, but these errors were encountered: