New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 658868 link

Starred by 1 user

Issue metadata

Status: Archived
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 3
Type: Bug



Sign in to add a comment

Write test to confirm key press works for window maximization

Project Member Reported by rjahagir@chromium.org, Oct 24 2016

Issue description

Verify F4 works to convert to and from max window. 
 
Owner: rjahagir@chromium.org
Cc: rjahagir@chromium.org sontis@chromium.org
Owner: pgangishetty@chromium.org
Use input_playback.py to emulate keypress for window maximization (F4) and verify window is maximized.

See platform_InputBrightness.py and graphics_VTSwitch on how to take screenshots to verify results.

Comment 3 by ka...@chromium.org, Apr 27 2017

We have to define "verify window is maximized". 
Could be use javascript expression to confirm the browser window size is as expected(max ).
Other ideas?
Yes, javascript commands would work better. 

Maybe something like this?

function resize()
{
 return true;
}

window.onresize = resize;

When the window is resized, this will return true. Any other thoughts Kalin?

(See logging_FeedbackReport on how to implement js commands.)
Status: Started (was: Untriaged)
Status: Archived (was: Started)

Sign in to add a comment