Flickering protractor test

This implements @0xF013's and @myabc's idea (see https://github.com/opf/openproject/pull/2286#issuecomment-65383341 and https://github.com/opf/openproject/pull/2286#issuecomment-65384758 for details).