DevExpress / testcafe Public
New issue
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
Enable support of page zooming #2314
Comments
Hi guys..any news regarding this;) |
Hi @AndreyBelym @miherlosev Is this enhancement in your roadmap? |
You can fix this issue with adding zoom action class and removing it if u run testcafe..if u need more info tomorrow I can add code. |
// Patch for removing zoom for E2E tests -- "//" indicator if run TestCafe
or normal run --little dodgy but it works
if (window.location.pathname === '//') {
document.querySelector('html').classList.remove('zoomHtml');
}
// HTML
<!doctype html>
<html lang="en" class="zoomHtml">
<head>
<meta charset="utf-8">
<title> Admin</title>
<meta http-equiv="X-UA-Compatible" content="IE=11; IE=10; IE=9">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<app-root></app-root>
</body>
</html>
…On Sun, 27 Jan 2019 at 15:42, Vijay Vedachalam ***@***.***> wrote:
Hi @AndreyBelym <https://github.com/AndreyBelym> @miherlosev
<https://github.com/miherlosev> Is this enhancement in your roadmap?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2314 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEw-gKV-prG_4_6eBs3aWmikL4udjNjUks5vHcj-gaJpZM4TTXF6>
.
|
This issue has been automatically marked as stale because it has not had any activity for a long period. It will be closed and archived if no further activity occurs. However, we may return to this issue in the future. If it still affects you or you have any additional information regarding it, please leave a comment and we will keep it open. |
We're closing this issue after a prolonged period of inactivity. If it still affects you, please create a new issue with up-to-date information. Thank you. |
Can you reopen this please ?? |
At present, we do not have plans to support zooming, since we have higher prioritized tasks. |
Are you requesting a feature or reporting a bug?
Feature
What is the current behavior?
Currently TestCafe doesn't support zooming of a whole page, because it was believed that zooming can be performed only by manual interaction with the browser UI. However, there are widely supported CSS properties like
zoom
andtransform
(with thescale()
modifier) which can be used on thehtml
element to apply zoom on per-page basis.What is the expected behavior?
TestCafe actions should work on pages with CSS properties like
zoom
andtransform: scale()
.Specify your
The text was updated successfully, but these errors were encountered: