test: use maximize event instead of resize event (#34740)
test: use maximize event instead of resize event (#34740)


gerhardberger/electron,electron/electron,electron/electron,electron/electron,electron/electron,gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,gerhardberger/electron,electron/electron,gerhardberger/electron,electron/electron,electron/electron,gerhardberger/electron