Tests for window resizing/maximizing don't check these things:
the current window isn't changed after the resizing/maximizing operation is finished (e.g. when several windows are open and the user attempts to resize an inactive window);
resizing/maximizing a window with a given name does resize/maximize the correct window and the current window remains unchanged.
Tests for window resizing/maximizing don't check these things: