testcafe: Cannot resize a window
What is your Scenario?
Resize a window
What is the Current behavior?
Cannot resize a window
What is the Expected behavior?
Should resize a window
What is your public website URL? (or attach your complete example)
See attached file testcafe-typescript-vue-resize-report.zip
What is your TestCafe test code?
See attached file testcafe-typescript-vue-resize-report.zip
test('resize window', async (t) => {
// https://testcafe.io/documentation/402833/guides/basic-guides/test-actions#resize-windows
await t
// Using `--start-fullscreen` works
.debug()
.maximizeWindow() // NOT work
.debug()
// https://github.com/DevExpress/device-specs/blob/master/viewport-sizes.json
.resizeWindowToFitDevice('toshibaat330') // NOT work
.debug()
.resizeWindow(800, 1280) // NOT work
.debug();
});
Your complete configuration file
No response
Your complete test report
No response
Screenshots
No response
Steps to Reproduce
yarn install
yarn serve
yarn test -t 'resize window'
TestCafe version
2.6.0-rc.1
Node.js version
18.14.0
Command-line arguments
npx testcafe chrome --start-fullscreen
Browser name(s) and version(s)
Chrome Version 113.0.5672.63 (Official Build) (arm64)
Platform(s) and version(s)
macOS 13.3.1 (a) (22E772610a)
Other
No response
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 2
- Comments: 21
Hi everyone,
I managed to reproduce the issue. It only occurs on macOS with any NodeJS and TestCafe versions. We will update this thread once we have news.
Hello everyone ,
We are working on the fix. Please bear with us.
Thank you very much for this fix. All work fine.
Update is working on my end now, resize window is functional again.
Thanks!
@aleks-pro thanks a lot, you were right. It’s fixed now.
@pgusilic-devops:
I think per @Aleksey28 in this comment, the devs are looking into this and will update this thread once they have more to share.
We’re just waiting at this point.