Portal tests: workaround for test flakiness in Chrome