-
Notifications
You must be signed in to change notification settings - Fork 675
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
Incorrect screen size when resizeWindow()
is called after maximizeWindow()
#8157
Labels
TYPE: bug
The described behavior is considered as wrong (bug).
Comments
need-response-app
bot
added
the
STATE: Need response
An issue that requires a response or attention from the team.
label
Mar 18, 2024
We appreciate you taking the time to share information about this issue. We reproduced the bug and added this ticket to our internal task queue. We'll update this thread once we have news. |
github-actions
bot
removed
STATE: Need response
An issue that requires a response or attention from the team.
STATE: Issue accepted
An issue has been reproduced.
labels
Mar 21, 2024
2 tasks
Aleksey28
pushed a commit
that referenced
this issue
Apr 29, 2024
<!-- Thank you for your contribution. Before making a PR, please read our contributing guidelines at https://github.com/DevExpress/testcafe/blob/master/CONTRIBUTING.md#code-contribution We recommend creating a *draft* PR, so that you can mark it as 'ready for review' when you are done. --> ## Purpose _Describe the problem you want to address or the feature you want to implement._ ## Approach _Describe how your changes address the issue or implement the desired functionality in as much detail as possible._ ## References closes #8157 ## Pre-Merge TODO - [x] Write tests for your proposed changes - [x] Make sure that existing tests do not fail --------- Co-authored-by: Bayheck <adil.rakhaliyev@devexpress.com>
Release v3.6.1-rc.1 addresses this. |
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
What is your Scenario?
When testing my browser provider plugin I found that screen sizes are off, when
resizeWindow()
is called aftermaximizeWindow()
.What is the Current behavior?
When I call
resizeWindow()
aftermaximizeWindow()
,then in Chrome (windowed mode, Windows 10) height is off by -1px,
and in Firefox (windowed mode, Windows 10) height is off by +10px and width is off by +4px.
What is the Expected behavior?
The screen size should be the size that was set by in
resizeWindow()
.What is the public URL of the test page? (attach your complete example)
I created a repository: https://github.com/htho/testcafe-repro-resize-after-maximize
What is your TestCafe test code?
Your complete configuration file
No response
Your complete test report
Screenshots
No response
Steps to Reproduce
> git clone https://github.com/htho/testcafe-repro-resize-after-maximize.git
> cd testcafe-repro-resize-after-maximize
> npm i
> npm run test
TestCafe version
3.5.0
Node.js version
21.6.2
Command-line arguments
testcafe chrome,firefox test.tc.ts
Browser name(s) and version(s)
Firefox 123, Chrome 122
Platform(s) and version(s)
Windows 10
Other
No response
The text was updated successfully, but these errors were encountered: